From e0f61f0cba90305f56eada8373fb8d60df43179b Mon Sep 17 00:00:00 2001 From: kefi550 Date: Wed, 22 Jan 2025 19:17:25 +0900 Subject: [PATCH] set GF_UNIFIED_ALERTING_SCREENSHOTS_CAPTURE true when imageRenderer is enabled Signed-off-by: kefi550 --- charts/grafana/templates/_pod.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/grafana/templates/_pod.tpl b/charts/grafana/templates/_pod.tpl index a0c32cf7aa..6ede3f72bb 100644 --- a/charts/grafana/templates/_pod.tpl +++ b/charts/grafana/templates/_pod.tpl @@ -1142,6 +1142,8 @@ containers: {{- else }} value: {{ .Values.imageRenderer.grafanaProtocol }}://{{ include "grafana.fullname" . }}.{{ include "grafana.namespace" . }}:{{ .Values.service.port }}/{{ .Values.imageRenderer.grafanaSubPath }} {{- end }} + - name: GF_UNIFIED_ALERTING_SCREENSHOTS_CAPTURE + value: "true" {{- end }} - name: GF_PATHS_DATA value: {{ (get .Values "grafana.ini").paths.data }}