We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-Community Airflow Helm Chart
Airflow config section kubernetes renamed to kubernetes_executor in 2.5.0: https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#airflow-config-section-kubernetes-renamed-to-kubernetes-executor-26873
kubernetes
kubernetes_executor
This is causing warnings for now and might not work for later versions.
Introducing an if statement to pick the correct env variable names based on Airflow version in this section:
charts/charts/airflow/templates/config/secret-config-envs.yaml
Line 182 in 2268f24
Example (with introduced airflow.version value):
airflow.version
{{- if semverCompare "<2.5" .Values.airflow.version }} {{- if not .Values.airflow.config.AIRFLOW__KUBERNETES__NAMESPACE }} AIRFLOW__KUBERNETES__NAMESPACE: {{ .Release.Namespace | toString | b64enc | quote }} {{- end }} {{- else -}} {{- if not .Values.airflow.config.AIRFLOW__KUBERNETES_EXECUTOR__NAMESPACE }} AIRFLOW__KUBERNETES_EXECUTOR__NAMESPACE: {{ .Release.Namespace | toString | b64enc | quote }} {{- end }} {{- end }}
The text was updated successfully, but these errors were encountered:
@emartgu I want to avoid the need to explicitly set an airflow.version value, we can probably do something similar to what we did for logging.worker_log_server_port replacing celery.worker_log_server_port in airflow 2.2.0, and just include both configs.
logging.worker_log_server_port
celery.worker_log_server_port
This should suppress the warning logs, and future-proof us in case they remove the old one.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Checks
User-Community Airflow Helm Chart
.Motivation
Airflow config section
kubernetes
renamed tokubernetes_executor
in 2.5.0:https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#airflow-config-section-kubernetes-renamed-to-kubernetes-executor-26873
This is causing warnings for now and might not work for later versions.
Implementation
Introducing an if statement to pick the correct env variable names based on Airflow version in this section:
charts/charts/airflow/templates/config/secret-config-envs.yaml
Line 182 in 2268f24
Example (with introduced
airflow.version
value):Are you willing & able to help?
The text was updated successfully, but these errors were encountered: