make wait_bootstrap fails: FATAL loading kubeconfig
Closed this issue · 4 comments
NicoWde commented
Hello @slauger,
thanks again for creating this! (And fixing the docs, great work!)
I found another issue.
On current master, there the Makefile instructs "wait_bootstrap" to:
wait_bootstrap:
openshift-install --dir=config/ wait-for bootstrap-complete --log-level=debug
kubeconf is saved in ignition.
I'd probably open a PR later this day, but for now, locally fixed "--dir=config/" to "--dir=ignition/", which works totally fine.
Thanks again for your great work!
Kind Regards,
Nico
NicoWde commented
probably it's the same situation with "make manifests" and "make wait_completion".
slauger commented
The kubeconfig should be be copied to the config
directory during the manifests
target.
manifests:
mkdir config
cp install-config.yaml config/install-config.yaml
openshift-install create manifests --dir=config
cp -r ignition/auth config/auth
NicoWde commented
oh... damn. sorry about that! Maybe I should have checked that.
slauger commented
No problem! Just let me know if you need any further help. 👍