Skip to content
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

Operator SDK 1.38 reconciler not allowing to update deployment enviornment variable #6894

Open
sudhir-kelkar opened this issue Jan 13, 2025 · 0 comments

Comments

@sudhir-kelkar
Copy link

Type of question

We are currently using Operator SDK 1.38.0.
It seems that the latest Helm Operator SDK has introduced complex behavior, which I believe should be classified as a defect.
I am uncertain about which operator version introduced this behavior.

Previously, whenever we needed to update an environment variable in any pod, we would use the oc edit deployment xxx command to modify the environment variable value.
However, with the new operator, this is no longer possible. The updated value is overridden by the operator's reconciliation process.

It is challenging to expose every environment variable through values.yaml. The conflicting behavior is that if we add a new environment variable to an existing deployment, it accepts the value without any issues.

Can you please confirm if this behavior is introduce purposely? Is there any configuration to override this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant