Skip to content

How to mount certificates to gitsync-1 initContainer of my kubernetesExecutors pods #49

Answered by adwk67
PaulienVa asked this question in Q&A
Discussion options

You must be logged in to vote

The PR is this one: stackabletech/airflow-operator#456. Just to explain a few things: there were actually two things missing - the podOverrides were not being passed through to the gitsync containers, and neither were the envOverrides in kubernetesExecutor-mode. There are actually three places where the gitsync container is created: for the two modes (kubernetesExecutor and celeryExecutor), which are different as one requires a template that is used by airflow, and the other is the pod we create ourselves, but also we need an initContainer as well as a sidecar for the celeryExecutor to avoid a race condition.

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@PaulienVa
Comment options

Comment options

You must be logged in to vote
14 replies
@PaulienVa
Comment options

@PaulienVa
Comment options

@adwk67
Comment options

@adwk67
Comment options

Answer selected by PaulienVa
@PaulienVa
Comment options

@adwk67
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants