Skip to content

Add conditional post-upgrade helm hook to run initcontainer with airflow variables import #30393

Answered by potiuk
y0zg asked this question in Ideas
Discussion options

You must be logged in to vote

As I explained in slack already, Helm is not a good place to update database variables (not in general case. As explained - replacing the variables (that could have been modified manually) in the helm chart every time you install a new version of helm might override those variables, so doing it automatically at helm install is not a good idea (unless you find a good solution for that). This has been discussed already #16387 so you might read it before you go any further.

Also using hooks alredy causes prpblems in platforms like ArgoCD, Flux or Terraform that do not support hooks, so implementing a general solution there (on top of the above) using hooks is likely not a good idea: https://…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by y0zg
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants