-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
GitSync Credentials Secret requires 2 different sets of data fields #43247
Comments
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. |
what git-sync version are u using? |
We encountered the same problem right now. I think this here is the problem: https://github.com/apache/airflow/blob/d122ebf3a6aae2c96c95a1d63db9a98aa52e4763/chart/templates/_helpers.yaml#L235C37-L235C54 If you specify the secret name, it requires both keys to be there. |
when upgrading from 1.11 to 1.15 you also upgrade from git-sync 3.6.9 to 4.1.0 therefore you need to add those environment to your secret |
Yes, but looking how the So what you are describing is what the application side expects, but that is not in sync with the helm-chart code. In my opinion that requires a change in the helm chart. |
I created a PR to provide an example on how to solve this: #43264 |
Official Helm Chart version
1.15.0 (latest released)
Apache Airflow version
chart default
Kubernetes Version
1.28
Helm Chart configuration
Docker Image customizations
No response
What happened
airflow-triggerer
needs the gitsync credentials to be formatted asGITSYNC_USERNAME
andGITSYNC_PASSWORD
, while the rest of the chart seems to requireGIT_SYNC_USERNAME
andGIT_SYNC_PASSWORD
What you think should happen instead
the airflow helm chart should adhere to only one format rather than requiring both
How to reproduce
If you need to reproduce:
airflow
via ArgoCD:cndi create ghusername/my-repo -t airflow
targetRevision: '1.11.0'
totargetRevision: '1.15.0'
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: