-
Notifications
You must be signed in to change notification settings - Fork 109
✨ Make configSecret configurable per component #780
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
✨ Make configSecret configurable per component #780
Conversation
|
Hi @rbjorklin. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
✅ Deploy Preview for kubernetes-sigs-cluster-api-operator ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
/ok-to-test |
cc90a8d to
23e7903
Compare
|
@rbjorklin Thanks for this. Following the same idea, can you add |
|
|
@rbjorklin @sathieu what's about to merge these PR #780 and leave open other PRs for the remaining |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
23e7903 to
7235159
Compare
|
Just rebased and added |
This makes it so that each component can be configured individually. By making the configuration component specific it is more clear which component is actually using it. This also breaks out a common section into a helper which reduces duplication.
7235159 to
4fdac3e
Compare
|
/retest-required |
|
Alright, I think I've got the tests sorted now. This just needs a review. |
alexander-demicev
left a comment
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.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexander-demicev The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@rbjorklin The PR looks good, I approved it. Can I ask you to take a look at this one #832? It might affect your deployment. |
Thanks for the pointer @alexander-demicev! The author of #832 takes greater picture approach and also adds |
|
/lgtm |
|
LGTM label has been added. Git tree hash: dbd6ef4d5f35751242d8d65b79a3d536f5dff005
|
|
/retitle ✨ Make configSecret configurable per component |
What this PR does / why we need it:
This builds on the extensibility introduced in #638.
configSecretand the component/provider using said config clearer.configSecretlogic across templates by moving it into a helper.fetchConfig.This has been implemented in such a way that it is backwards compatible and will default to the existing behaviour. If you want to use the new behaviour you would have to do something like this:
while also removing the
configSecretkey at the root level of thevalues.yamlfile.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #