Skip to content

Commit f5519d2

Browse files
committed
fix(charts): token refresher error
1 parent 1447800 commit f5519d2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

charts/grafana/templates/grafana-cronjob-daily.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,10 @@ spec:
2525
- name: token-refresher
2626
image: {{ .Values.imageRegistry }}/{{ .Values.imageOrg }}/grafana:{{ .Values.imageTag }}
2727
imagePullPolicy: {{ .Values.imagePullPolicy }}
28-
command: ["/usr/bin/env", "python3", "/usr/share/grafana/oauth2/credentials.py"]
28+
args:
29+
- /usr/bin/env
30+
- bash
31+
- -ec
32+
- |
33+
python3 /usr/share/grafana/oauth2/credentials.py
2934
{{- include "grafana.envs" . | indent 12 }}

0 commit comments

Comments
 (0)