-
Notifications
You must be signed in to change notification settings - Fork 459
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
Move all environment variables to sidecar #2221
Conversation
Signed-off-by: Daniel Valdivia <[email protected]>
Signed-off-by: Daniel Valdivia <[email protected]>
This is great to avoid as much as possible restart pods when configuration changes, and as this PR should be merged as is, already tested it and looks great. However a undesired secondary effect I have raised the hand is still there if three conditions are met:
Then that pod do not return to run state because sidecar is writing in the env variables file in MinIO tenant pods should be able to keep runing regardless of the controller is healty running or not in the cluster, that was the idea behind removing the Operator TLS cert and the Operator webhook to get env variables, to make Tenant pods able to keep running standalone. Steps to reproduce:
Possible solutionSomehow conscider the state of the pools in the Tenant For your consideration @harshavardhana @dvaldivia |
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.
Few minor ones. Overall changes look good to me.
I didn't see how this pr resolved that issue. @harshavardhana |
@jiuker ^^ |
This moves all the environment variables to the sidecar so that changes to tenant environment or secret causes the sidecar to reload the configuration locally instead of requiring a rolling restart.