-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Helm chart tries to patch immutable Job resources on helm upgrade #27561
Comments
Running into the same problem here. |
Marking as fixed then. |
Just tried |
@alexandermalyga with PR merged this issue is now resolved right? |
Yes, it is fixed, but we discussed a follow-up improvement: #29314 (review) |
OK so I'm closing this issue as resolved. Please open new issue dedicated to the followup task |
Now ttlSecondsAfterFinished has been added, is the recommended approach still as documented? Reading the thread, it sounds like instead of (as in the documentation): createUserJob:
useHelmHooks: false
applyCustomEnv: false
migrateDatabaseJob:
useHelmHooks: false
applyCustomEnv: false the recommendation is instead again: createUserJob:
useHelmHooks: false
migrateDatabaseJob:
useHelmHooks: false making use of the implicit Should I create a follow-up to update the documentation with this recommendation, and a caveat that deploys < ttlSecondsAfterFinished apart may still trigger the underlying Job mutation issue? |
Apache Airflow version
2.4.2
What happened
Running
helm upgrade
with helm hooks disabled in a namespace that already has the chart installed will fail because it's trying to patch aJob
resource, which is immutable:This happens when helm hooks are disabled on the db migrations job:
For more detail on why a user would want to do this, see #11979
Copying this from my comment on that issue:
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: