This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9a6094c0d7 Pick config statsd host from chart helpers (#35679)
9a6094c0d7 is described below
commit 9a6094c0d74093eff63b42ac1d313d77ebee3e60
Author: Bento <[email protected]>
AuthorDate: Fri Nov 17 15:44:26 2023 +0100
Pick config statsd host from chart helpers (#35679)
Use the helm chart helpers func to set the
default statsd hostname on the metrics config
---
chart/values.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chart/values.yaml b/chart/values.yaml
index 5e14e4029c..4e62390473 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -2309,7 +2309,7 @@ config:
statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
statsd_port: 9125
statsd_prefix: airflow
- statsd_host: '{{ printf "%s-statsd" .Release.Name }}'
+ statsd_host: '{{ printf "%s-statsd" (include "airflow.fullname" .) }}'
webserver:
enable_proxy_fix: 'True'
# For Airflow 1.10
@@ -2323,7 +2323,7 @@ config:
statsd_on: '{{ ternary "True" "False" .Values.statsd.enabled }}'
statsd_port: 9125
statsd_prefix: airflow
- statsd_host: '{{ printf "%s-statsd" .Release.Name }}'
+ statsd_host: '{{ printf "%s-statsd" (include "airflow.fullname" .) }}'
# `run_duration` included for Airflow 1.10 backward compatibility; removed
in 2.0.
run_duration: 41460
elasticsearch: