You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Apache Airflow version
main (development)
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Problem:
I was trying to use airflow as a child chart and noticed I couldn't upgrade my existing chart because the fernet secret would not get created.
templates/configmaps/extra-configmaps.yaml: {{- $_ := set $annotations "helm.sh/hook" "pre-install,pre-upgrade" }}
templates/secrets/extra-secrets.yaml: {{- $_ := set $annotations "helm.sh/hook" "pre-install,pre-upgrade" }}
templates/secrets/fernetkey-secret.yaml: "helm.sh/hook": "pre-install"
templates/secrets/redis-secrets.yaml:# relying on the "pre-install" hack to prevent changing randomly generated passwords,
templates/secrets/redis-secrets.yaml: "helm.sh/hook": "pre-install"
templates/secrets/redis-secrets.yaml: "helm.sh/hook": "pre-install"
There are a couple references to secrets, fernet and redis secret that are using the pre-install hook to avoid them changing during helm upgrade
I think this could be done with a lookup function instead
Because it seems that this pre-install hook was done more as a workaround than anything.
What you think should happen instead?
I think fernet secret should get created on helm upgrade if it does not exist.
How to reproduce
Try using airflow as a child chart that already has a deployed release.
Operating System
Fedora 40
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: