You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/11 00:57:42 UTC

[GitHub] [airflow] dzungdev commented on issue #10605: Use private docker repository with K8S operator and XCOM sidecar container

dzungdev commented on issue #10605:
URL: https://github.com/apache/airflow/issues/10605#issuecomment-965896980


   Hi @ZackingIt , could I know how do you overrote the code? Do you go to pod and change the  airflow_local_settings.py file in root/config folder or you add it in values.yaml file as below:
   `airflow
       localSettings:
       ## the full content of the `airflow_local_settings.py` file (as a string)
       stringOverride: |
         # use a custom `xcom_sidecar` image for KubernetesPodOperator()
         from airflow.kubernetes.pod_generator import PodDefaults
         PodDefaults.SIDECAR_CONTAINER.image = "private_artifactory/alpine"`
   
   `from airflow.providers.cncf.kubernetes.utils.xcom_sidecar import PodDefaults
   PodDefaults.SIDECAR_CONTAINER.image = "docker.very.private.repo.net/alpine:3.10"`


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org