stephsi commented on issue #47963: URL: https://github.com/apache/airflow/issues/47963#issuecomment-2875468903
Your recommendation (@nevcohen ) regarding selective sync does not work. The fernet key is created by a pre-install helm hook. ArgoCD executes this hook on every sync (see below) **Some context for the problem in general:** When upgrading airflow using helm, one uses `helm upgrade` and thus the pre-install hook is not executed and the fernet key is not replaced. This is different to how ArgoCD works ([doc link](https://argo-cd.readthedocs.io/en/stable/user-guide/helm/#helm-hooks)) > Argo CD cannot know if it is running a first-time "install" or an "upgrade" - every operation is a "sync'. This means that, by default, apps that have pre-install and pre-upgrade will have those hooks run at the same time. This means ArgoCD triggers the pre-install hook everytime as you described. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
