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

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


The following commit(s) were added to refs/heads/master by this push:
     new 610aea9  Fix documentation error in `git_sync_template.yaml` (#13197)
610aea9 is described below

commit 610aea949620ddfcc8ad85233be0ccb959ba1c23
Author: RenGeng <[email protected]>
AuthorDate: Sat Apr 3 01:32:45 2021 +0200

    Fix documentation error in `git_sync_template.yaml` (#13197)
    
    When reading the documentation 
(https://airflow.apache.org/docs/apache-airflow/stable/executor/kubernetes.html?highlight=pod_override#pod-template-file)
 I noticed that there are errors in `volumes` and `volumeMounts` sections.
---
 .../kubernetes/pod_template_file_examples/git_sync_template.yaml   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml 
b/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml
index 24eac08..dee6a08 100644
--- a/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml
+++ b/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml
@@ -47,7 +47,7 @@ spec:
         - name: GIT_SYNC_MAX_SYNC_FAILURES
           value: "0"
       volumeMounts:
-        - name: dags
+        - name: airflow-dags
           mountPath: /git
   containers:
     - args: []
@@ -82,9 +82,6 @@ spec:
         - mountPath: /opt/airflow/dags
           name: airflow-dags
           readOnly: false
-        - mountPath: /opt/airflow/dags
-          name: airflow-dags
-          readOnly: true
   hostNetwork: false
   restartPolicy: Never
   securityContext:
@@ -97,7 +94,7 @@ spec:
     []
   serviceAccountName: 'RELEASE-NAME-worker-serviceaccount'
   volumes:
-    - name: dags
+    - name: airflow-dags
       emptyDir: {}
     - emptyDir: {}
       name: airflow-logs

Reply via email to