This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e856e0f64d Close #24303 (#24394)
e856e0f64d is described below

commit e856e0f64dd9e80cca94bf9d181da1cd2643e1bf
Author: Denis Samuylov <[email protected]>
AuthorDate: Mon Jun 13 11:08:14 2022 +0200

    Close #24303 (#24394)
    
    Provide details on how to pull airflow image from a private repository
---
 docs/helm-chart/manage-dags-files.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/helm-chart/manage-dags-files.rst 
b/docs/helm-chart/manage-dags-files.rst
index eab9c2eac3..da080c2d06 100644
--- a/docs/helm-chart/manage-dags-files.rst
+++ b/docs/helm-chart/manage-dags-files.rst
@@ -78,6 +78,17 @@ If you are deploying an image with a constant tag, you need 
to make sure that th
       --set images.airflow.tag=8a0da78 \
       --set images.airflow.pullPolicy=Always
 
+If you are deploying an image from a private repository, you need to create a 
secret, e.g. ``gitlab-registry-credentials`` (refer `Pull an Image from a 
Private Registry 
<https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/>`_
 for details), and specify it using ``--set registry.secretName``:
+
+
+.. code-block:: bash
+
+    helm upgrade --install airflow apache-airflow/airflow \
+      --set images.airflow.repository=my-company/airflow \
+      --set images.airflow.tag=8a0da78 \
+      --set images.airflow.pullPolicy=Always \
+      --set registry.secretName=gitlab-registry-credentials
+
 Mounting DAGs using Git-Sync sidecar with Persistence enabled
 -------------------------------------------------------------
 

Reply via email to