From 24d703ba6845c16d816c93f5bfc6747ca1c50085 Mon Sep 17 00:00:00 2001 From: AvivGuiser Date: Sun, 15 Sep 2024 10:18:08 +0300 Subject: [PATCH] fix argo diff in pvc template Signed-off-by: AvivGuiser --- charts/pmm/templates/statefulset.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/charts/pmm/templates/statefulset.yaml b/charts/pmm/templates/statefulset.yaml index a310cfee..94b113ac 100644 --- a/charts/pmm/templates/statefulset.yaml +++ b/charts/pmm/templates/statefulset.yaml @@ -42,7 +42,7 @@ spec: {{- end }} containers: - name: {{ .Chart.Name }} - + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} @@ -59,7 +59,7 @@ spec: name: {{ include "pmm.fullname" . }} optional: true - # additional secrets that could be used for Grafana iDP + # additional secrets that could be used for Grafana iDP env: - name: GF_AUTH_GENERIC_OAUTH_CLIENT_ID valueFrom: @@ -92,7 +92,7 @@ spec: httpGet: path: /v1/readyz port: http - {{- if .Values.readyProbeConf }} + {{- if .Values.readyProbeConf }} {{- toYaml .Values.readyProbeConf | nindent 12 }} {{- end }} volumeMounts: @@ -128,7 +128,9 @@ spec: {{- toYaml .Values.extraVolumes | nindent 8 }} {{- end }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: {{ .Values.storage.name }} spec: {{- if .Values.storage.selector }}