Skip to content

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

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

Open
sudhir-kelkar opened this issue Jan 13, 2025 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

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?

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants