<@U04S8PLJWMT> what is difference between ```main_...
# ask-ai
h
@kapa.ai what is difference between
Copy code
main_container_image_pull_secret, imagePullSecrets
which is in airbyte helm values.yaml global section.
k
Based on the knowledge sources provided, I can explain the difference between
main_container_image_pull_secret
and
imagePullSecrets
in the Airbyte Helm chart's values.yaml global section: 1. `main_container_image_pull_secret`: This setting is specific to the job containers in Airbyte. It's used to set the image pull secret for the main container in Airbyte jobs. However, it's important to note that this setting is being phased out in favor of
imagePullSecrets
. 2. `imagePullSecrets`: This is a more general setting that applies to all containers across the Airbyte deployment. It's used to specify the Kubernetes secret(s) that contain credentials for pulling images from private registries. The key difference is that
imagePullSecrets
is the preferred and more comprehensive way to specify image pull secrets for the entire Airbyte deployment, while
main_container_image_pull_secret
was a more specific setting for job containers. In fact, according to a comment from an Airbyte contributor in the [Github Issue about Error on workload-launcher](https://github.com/airbytehq/airbyte/issues/52034), they recommend removing
main_container_image_pull_secret
and using only `imagePullSecrets`: "Can you try removing
global.jobs.kube.main_container_image_pull_secret
in the config on 1.4.0 please? We made a change that uses
global.imagePullSecrets
for that value, but looks like we merge the two in the charts in 1.4.0, which causes duplicates if both are used." To use
imagePullSecrets
, you would typically set it in your values.yaml like this:
Copy code
yaml global:   imagePullSecrets:     - name: "your-secret-name"
This approach is more consistent with standard Kubernetes practices and provides a unified way to manage image pull secrets across your Airbyte deployment.