-
Notifications
You must be signed in to change notification settings - Fork 102
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
Updated etcd bootstrap scripts to allow for idempotency #378
Conversation
✅ Deploy Preview for kamaji-documentation canceled.
|
@@ -15,7 +15,7 @@ rules: | |||
resources: | |||
- secrets | |||
verbs: | |||
- delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The delete
is still required for the post-delete job of the etcd
component.
We should rather add the get
verb and not remove the delete
one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I missed that. Has been re-added in the latest commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should bump also the Helm Chart version, a patch should be enough: please, add the changes to the file Chart.yaml
and regenerate the Helm docs by issuing make -C charts/kamaji docs
- etcd-setup-1 preinstall script checks for CA and client secrets existence - etcd-setup-2 postinstall script checks for root user existence Inspired to clastix/kamaji#378
Updated etcd bootstrap scripts to allow for idempotency
Adjusted etc rbac role to let pod get current secrets