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: