-
Notifications
You must be signed in to change notification settings - Fork 526
Prevent gardener-node-agent
entering crash-loop on breaking changes to config
#12589
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
Prevent gardener-node-agent
entering crash-loop on breaking changes to config
#12589
Conversation
19a11e5
to
7602bd1
Compare
Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com>
Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com>
Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com>
7602bd1
to
273303a
Compare
/assign |
Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Aleksandar Savchev <aleksandar.savchev@sap.com>
/retest
|
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.
Thanks for the fix.
/lgtm
LGTM label has been added. Git tree hash: e174f7508aa8538ff97bfdba1a83d6ebdf6fcbdc
|
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.
This was fun, thanks 😄
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oliver-goetz 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 |
/retest |
Very nice! |
… to config (gardener#12589) * Add helper funcs to generate node-agent config path Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com> * Replace config path with config dir in gardener-node-agent Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com> * Adapt GetAPIServerConfig() func to work with non default directories Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com> * Run ./hack/update-skaffold-deps.sh * Adapt integration tests Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Aleksandar Savchev <aleksandar.savchev@sap.com> * Fix linter issue --------- Co-authored-by: Oliver Goetz <o.goetz@sap.com> Co-authored-by: Rada Dimitrova <rada.dimitrova@sap.com>
How to categorize this PR?
/area robustness
/kind bug
What this PR does / why we need it:
This PR fixes an issue with
gardener-node-agent
which was causing it to enter crash-loop when a breaking change on its config was introduced and the pull of the newgardener-node-agent
image failed. The old instance ofgardener-node-agent
was using the new config. With this fix we add a suffix containing its version, which would helpgardener-node-agent
use the correct config file.Which issue(s) this PR fixes:
Fixes #11025
Special notes for your reviewer:
Release note: