-
Notifications
You must be signed in to change notification settings - Fork 102
Added a file containing shoot identifier to safe guard against wrong volume mount. #468
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
Conversation
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.
Thank you! Only two nits, rest lgtm (although I cannot really test this locally, so I hope an etcd-br maintainer will review as well)
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.
/lgtm
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.
I tested this and it's working as expected.
/lgtm
Can you please add a release note as well @abdasgupta. |
What this PR does / why we need it:
This PR checks whether wrong volume is mounted to ETCD container and if so, it doesn't start the ETCD. It writes shoot identifier to a file in the mounted volume. Then it checks if the mounted volume contains file with the same shoot identifier that is passed to it as POD Namespace.
Which issue(s) this PR fixes:
Fixes #
#466
Special notes for your reviewer:
Release note: