From 8b966b0f0ac33571128c959ed02d985cc805668f Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 21 Sep 2023 18:55:49 +0930 Subject: [PATCH] feat(grafana-agent): expand env vars in config this allows using the hosts env vars in the config file !1 --- templates/Daemonset-GrafanaAgent.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/Daemonset-GrafanaAgent.yaml b/templates/Daemonset-GrafanaAgent.yaml index 56281ec..6a77656 100644 --- a/templates/Daemonset-GrafanaAgent.yaml +++ b/templates/Daemonset-GrafanaAgent.yaml @@ -44,6 +44,7 @@ spec: - args: - --server.http.address=0.0.0.0:12345 - --config.file=/etc/agent/agent.yaml + - --config.expand-env=true name: grafana-agent image: "{{ .Values.nfc_monitoring.grafana_agent.image.name }}:{{ .Values.nfc_monitoring.grafana_agent.image.tag }}" #imagePullPolicy: Never