From 1c057edeb34b0f65830a77fe8ea7f14bf4619b24 Mon Sep 17 00:00:00 2001 From: Daan Schipper <2778477+daanschipper@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:46:23 +0100 Subject: [PATCH] fix alertmanager sts showing diff in argocd --- operations/helm/charts/mimir-distributed/CHANGELOG.md | 1 + .../templates/alertmanager/alertmanager-statefulset.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/operations/helm/charts/mimir-distributed/CHANGELOG.md b/operations/helm/charts/mimir-distributed/CHANGELOG.md index eb75bf9a4fb..163f7dad480 100644 --- a/operations/helm/charts/mimir-distributed/CHANGELOG.md +++ b/operations/helm/charts/mimir-distributed/CHANGELOG.md @@ -30,6 +30,7 @@ Entries should include a reference to the Pull Request that introduced the chang ## main / unreleased * [ENHANCEMENT] Add support for setting type and internal traffic policy for Kubernetes service. Set `internalTrafficPolicy=Cluster` by default in all services with type `ClusterIP`. #9619 +* [BUGFIX] Helm: Fix PVC template in AlertManager to not show diff in ArgoCD. #9774 ## 5.5.1 diff --git a/operations/helm/charts/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml b/operations/helm/charts/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml index 4f4469af8f5..5437fc483db 100644 --- a/operations/helm/charts/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml +++ b/operations/helm/charts/mimir-distributed/templates/alertmanager/alertmanager-statefulset.yaml @@ -33,7 +33,9 @@ spec: serviceName: {{ template "mimir.fullname" . }}-alertmanager {{- if .Values.alertmanager.persistentVolume.enabled }} volumeClaimTemplates: - - metadata: + - apiVersion: v1 + kind: PersistentVolumeClaim + metadata: name: storage {{- if .Values.alertmanager.persistentVolume.annotations }} annotations: