kaxil commented on a change in pull request #7107: [AIRFLOW-XXXX] Add 
descriptions to kubernetes section of config docs
URL: https://github.com/apache/airflow/pull/7107#discussion_r364425885
 
 

 ##########
 File path: airflow/config_templates/config.yml
 ##########
 @@ -1546,7 +1553,30 @@
       default: "default"
     - name: airflow_configmap
       description: |
-        The name of the Kubernetes ConfigMap containing the Airflow 
Configuration (this file)
+        The name of the Kubernetes ConfigMap containing ``airflow.cfg`` file.
+
+        For example:
+
+        ``airflow_local_settings_configmap = "airflow-configmap"`` if you have 
the following ConfigMap.
+
+        ``airflow-configmap.yaml``:
+
+        .. code-block:: yaml
+
+          ---
+          apiVersion: v1
+          kind: ConfigMap
+          metadata:
+            name: airflow-configmap
+          data:
+            airflow_local_settings.py: |
+                def pod_mutation_hook(pod):
+                    ...
 
 Review comment:
   Maybe we should remove `airflow_local_settings.py` key from here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to