dzungdev edited a comment 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:
Your code
```
from airflow.providers.cncf.kubernetes.utils.xcom_sidecar import PodDefaults
PodDefaults.SIDECAR_CONTAINER.image =
"docker.very.private.repo.net/alpine:3.10"
```
in values.yaml
```
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"
```
--
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]