You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/12/09 04:39:28 UTC

[airflow] branch master updated: Add Clarification to pod_template_file exmaples (#12932)

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

dimberman 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 3835062  Add Clarification to pod_template_file exmaples (#12932)
3835062 is described below

commit 38350620bc8489383ce1c8bd08d0d20fdd8042f7
Author: Daniel Imberman <da...@gmail.com>
AuthorDate: Tue Dec 8 20:37:32 2020 -0800

    Add Clarification to pod_template_file exmaples (#12932)
    
    Addresses https://github.com/apache/airflow/issues/11686
    
    Clarifies why we have three files of pod_template_file examples
---
 .../pod_template_file_examples/dags_in_image_template.yaml           | 3 +++
 .../pod_template_file_examples/dags_in_volume_template.yaml          | 3 +++
 airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml | 5 ++++-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/airflow/kubernetes/pod_template_file_examples/dags_in_image_template.yaml b/airflow/kubernetes/pod_template_file_examples/dags_in_image_template.yaml
index b1995c2..686d1d1 100644
--- a/airflow/kubernetes/pod_template_file_examples/dags_in_image_template.yaml
+++ b/airflow/kubernetes/pod_template_file_examples/dags_in_image_template.yaml
@@ -14,6 +14,9 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+#
+# This file is used for documentation purposes. Example can be found at docs/executor/kubernetes.rst
+#
 # [START template_with_dags_in_image]
 ---
 apiVersion: v1
diff --git a/airflow/kubernetes/pod_template_file_examples/dags_in_volume_template.yaml b/airflow/kubernetes/pod_template_file_examples/dags_in_volume_template.yaml
index 86b5358..cf2daec 100644
--- a/airflow/kubernetes/pod_template_file_examples/dags_in_volume_template.yaml
+++ b/airflow/kubernetes/pod_template_file_examples/dags_in_volume_template.yaml
@@ -14,6 +14,9 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+#
+# This file is used for documentation purposes. Example can be found at docs/executor/kubernetes.rst
+#
 # [START template_with_dags_in_volume]
 ---
 apiVersion: v1
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 a962a8f..24eac08 100644
--- a/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml
+++ b/airflow/kubernetes/pod_template_file_examples/git_sync_template.yaml
@@ -14,8 +14,11 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
----
+#
+# This file is used for documentation purposes. Example can be found at docs/executor/kubernetes.rst
+#
 # [START git_sync_template]
+---
 apiVersion: v1
 kind: Pod
 metadata: