<p>In our company we have a private docker registry (artifactory) and need to use it to store our docker images.</p>
<p>So, if I want to use custom airflow docker image (par example, with some extra pip and apt packages installed) I should save this image in our private docker registry.</p>
<p>Can anybody tell me, how can I order <code>airflow</code>'s helm chart to pull image from private docker registry? And how to pass credentials in this case?</p>

Felix
<p>Assuming you are using <a href="https://github.com/airflow-helm/charts" rel="nofollow noreferrer">this one</a>. You can edit the <a href="https://github.com/airflow-helm/charts/blob/420eae29c454f6e7e6a7837706ca2e6c0fe792b8/charts/airflow/values.yaml#L12" rel="nofollow noreferrer">image field</a> in the values and apply it like that:</p>
<pre><code>helm install airflow -f values airflow-stable/airflow
</code></pre>
<p>or directly by setting the option from command line:</p>
<pre><code>helm install airflow airflow-stable/airflow --set airflow.image.repository=custom-image-address
</code></pre>
<p>For credentials, there is  <a href="https://github.com/airflow-helm/charts/blob/420eae29c454f6e7e6a7837706ca2e6c0fe792b8/charts/airflow/values.yaml#L15" rel="nofollow noreferrer">pullSecret</a></p>
<pre><code>pullSecret: &quot;&quot;
</code></pre>
<p>you can edit this to point docker secret for your registry.
<a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/" rel="nofollow noreferrer">Check this</a>.
Also you can set this option from the command line like the previous example.</p>
