From 0348479c5f0feb1a60c1ce7c8ef0b53f3b1f9f8e Mon Sep 17 00:00:00 2001 From: Lennart Schedin Date: Thu, 19 Sep 2024 08:00:19 +0200 Subject: [PATCH] [alertmanager] Add apiVersion and kind to StatefulSet volumeClaimTemplates Signed-off-by: Lennart Schedin --- charts/alertmanager/Chart.yaml | 2 +- charts/alertmanager/templates/statefulset.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/alertmanager/Chart.yaml b/charts/alertmanager/Chart.yaml index aad07329edd6..a444c3303933 100644 --- a/charts/alertmanager/Chart.yaml +++ b/charts/alertmanager/Chart.yaml @@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a sources: - https://github.com/prometheus/alertmanager type: application -version: 1.12.0 +version: 1.12.1 appVersion: v0.27.0 kubeVersion: ">=1.19.0-0" keywords: diff --git a/charts/alertmanager/templates/statefulset.yaml b/charts/alertmanager/templates/statefulset.yaml index 2bdafc86db2a..3292015593d0 100644 --- a/charts/alertmanager/templates/statefulset.yaml +++ b/charts/alertmanager/templates/statefulset.yaml @@ -230,7 +230,9 @@ spec: {{- end }} {{- if .Values.persistence.enabled }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: storage spec: accessModes: