-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark DataSecretAvailable condition to true when setting dataSecretName #16
Conversation
I'm trying the build of my branch in ghcr.io/mkmik/cluster-api-k3s/bootstrap-controller:v0.1.5 (I don't have a local env; so I'm trying this out in my test account on AWS) |
nope it didn't work :-(
Ok, I think I'll have to actually read and understand the code a bit better and run the controller locally so I can iterate on it :-( |
Sounds good! A bit busy the next few days ... when I have a second, I would love to help out! |
I ran it locally with |
no actually, it didn't work fine when I re-created the resource; it only worked when I restarted the controller after manually removing Unfortunately it's EOD for me in this part of the world; I'll continue on Monday. |
8c3ce3c
to
cf920cb
Compare
ok, turns out there were two Now I got the controlplane working. The bootstrap data secret for the worker node still doesn't work, but I think that may be another problem. |
The issue I'm having with the workernode data secret is caused by https://github.com/zawachte/cluster-api-k3s/issues/17. I confirm that with this PR I can get a cluster created correctly. |
@mkmik good to merge? |
yes |
Closes #15
I manually tried to edit the status subresource with the
kubectl edit-status
plugin and I confirm that once the DataSecretAvailable flips, then the Ready condition flips too and the cluster is fully initialized:(I still need to actually test the code by building my branch into an image and trying it out)