feat(grafana-agent): expand env vars in config

this allows using the hosts env vars in the config file

!1
This commit is contained in:
2023-09-21 18:55:49 +09:30
parent 3281cd6552
commit 8b966b0f0a

View File

@ -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