From b8df50db4e7c8f54de649eeada3706dde90cca2a Mon Sep 17 00:00:00 2001 From: Kjeld Schouten-Lebbing Date: Thu, 24 Nov 2022 22:22:39 +0100 Subject: [PATCH] fix(prometheus): fix storageclassname reference (#4817) * fix(prometheus): fix storageclassname reference Signed-off-by: Kjeld Schouten-Lebbing * Update Chart.yaml Signed-off-by: Kjeld Schouten-Lebbing Signed-off-by: Kjeld Schouten-Lebbing --- charts/stable/prometheus/Chart.yaml | 2 +- .../stable/prometheus/templates/alertmanager/_alertmanager.tpl | 2 +- charts/stable/prometheus/templates/prometheus/_prometheus.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/stable/prometheus/Chart.yaml b/charts/stable/prometheus/Chart.yaml index 2de5d8e5682..d972b4128f0 100644 --- a/charts/stable/prometheus/Chart.yaml +++ b/charts/stable/prometheus/Chart.yaml @@ -29,7 +29,7 @@ sources: - https://github.com/prometheus-community/helm-charts - https://github.com/prometheus-operator/kube-prometheus type: application -version: 7.0.9 +version: 7.0.10 annotations: truecharts.org/catagories: | - metrics diff --git a/charts/stable/prometheus/templates/alertmanager/_alertmanager.tpl b/charts/stable/prometheus/templates/alertmanager/_alertmanager.tpl index 05184dd3ca6..d85a8f0ad87 100644 --- a/charts/stable/prometheus/templates/alertmanager/_alertmanager.tpl +++ b/charts/stable/prometheus/templates/alertmanager/_alertmanager.tpl @@ -51,7 +51,7 @@ spec: resources: requests: storage: {{ .Values.alertmanager.persistence.size | quote }} - {{- include "tc.common.storage.class" (dict "persistence" .Values.alertmanager.persistence "global" $ ) | nindent 8 }} + {{- include "tc.common.storage.storageClassName" (dict "persistence" .Values.alertmanager.persistence "global" $ ) | nindent 8 }} {{- end }} {{- end }} {{- if or .Values.alertmanager.podMetadata.labels .Values.alertmanager.podMetadata.annotations (eq .Values.alertmanager.podAntiAffinityPreset "soft") (eq .Values.alertmanager.podAntiAffinityPreset "hard") }} diff --git a/charts/stable/prometheus/templates/prometheus/_prometheus.tpl b/charts/stable/prometheus/templates/prometheus/_prometheus.tpl index d7affa060af..828c9a53c20 100644 --- a/charts/stable/prometheus/templates/prometheus/_prometheus.tpl +++ b/charts/stable/prometheus/templates/prometheus/_prometheus.tpl @@ -145,7 +145,7 @@ spec: resources: requests: storage: {{ .Values.prometheus.persistence.size | quote }} - {{- include "tc.common.storage.class" (dict "persistence" .Values.prometheus.persistence "global" $ ) | nindent 8 }} + {{- include "tc.common.storage.storageClassName" (dict "persistence" .Values.prometheus.persistence "global" $ ) | nindent 8 }} {{- end }} {{- if or .Values.prometheus.podMetadata.labels .Values.prometheus.podMetadata.annotations (eq .Values.prometheus.podAntiAffinityPreset "soft") (eq .Values.prometheus.podAntiAffinityPreset "hard") }} podMetadata: