diegoalvarez-clarity commented on code in PR #70180:
URL: https://github.com/apache/airflow/pull/70180#discussion_r4045762153
##########
chart/values.schema.json:
##########
@@ -685,6 +685,12 @@
"x-docsSection": "Common",
"default": "See values.yaml"
},
+ "mountConfigAsDir": {
+ "description": "Mount the Airflow config ConfigMap as a directory
(at ``{airflowHome}/config``) and set ``AIRFLOW_CONFIG`` accordingly, instead
of mounting ``airflow.cfg`` via ``subPath``. Avoids the Kubernetes ``subPath``
+ ConfigMap stale-mount race that can fail containers at init with a ``runc``
``StartError``. Opt-in; the default preserves the historical ``subPath``
mount.",
Review Comment:
Reworded to describe the option only, in 8ef39ae7a5.
##########
chart/values.yaml:
##########
@@ -305,6 +305,13 @@ airflowConfigAnnotations: {}
# 'airflow_local_settings' file as a string (templated)
airflowLocalSettings: ~
+# Mount the Airflow config ConfigMap as a directory (at
``{airflowHome}/config``) and set
+# ``AIRFLOW_CONFIG`` accordingly, instead of mounting ``airflow.cfg`` via
``subPath``. This avoids
+# the Kubernetes ``subPath`` + ConfigMap stale-mount race that can fail
containers at init with a
+# ``runc`` ``StartError`` on node/volume lifecycle events.
``airflow_local_settings.py`` keeps its
+# default path. Opt-in; the default preserves the historical ``subPath`` mount.
Review Comment:
Applied your wording in 8ef39ae7a5.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]