-
Notifications
You must be signed in to change notification settings - Fork 2
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
Git-sync with kubernetesExecutors and using https #468
Comments
There is a ConfigMap named
things should work as expected. The naming difference seems to be an unfortunate accident as far as I can see. 😞 Hope this helps. |
@razvan we do see an init container with the name gitsync-1 in the pods that are started off when kicking off a DAG, so I am afraid that that is not the solution :( Somehow the gitsync will end up in error for the kubernetesExecutors |
Hm, can you share the contents of the |
Yes:
|
It looks like you are using SDP 24.3.0 which doesn't contain the fix from #456
To take advantage of that fix, you need to use the development version of the Airflow operator as suggested or wait until 24.7 is out. This should happen in the next couple of weeks. |
Thank you again for your report. Having looked a bit longer at your use case I created a follow-up issue that should simplify things a lot in the future. Regarding the upcoming operator version, the correct way to mount the CA in the
For
Hope this helps and sorry for the trouble. |
Okay I will test this with this config and let you know. Thank you for diving into it |
Affected Stackable version
Nightly
Affected Apache Airflow version
2.8.1
Current and expected behavior
Using this AirflowCluster:
The
gitSyncConf
does not seem to get propagated for the kubernetesExecutors. Also the git-sync container has aone-time=true
flag set for the git-sync commandFollow up this MR: #456 (comment)
Expected behavior: the webserver, scheduler and kubernetesExecutors are configured exactly the same for the git-sync containers
Possible solution
No response
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: