Skip to content

Commit

Permalink
Statefulset fix
Browse files Browse the repository at this point in the history
Signed-off-by: peterabarr <[email protected]>
  • Loading branch information
peterabarr committed Oct 2, 2023
1 parent 707cceb commit 6e4287f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/alertmanager/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ metadata:
spec:
{{- if semverCompare ">= 1.27.x" (include "alertmanager.kubeVersion" .) }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.persistentVolumeClaimRetentionPolicy.whenScaled }}
whenDeleted: {{ .Values.statefulSet.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.statefulSet.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
Expand Down

0 comments on commit 6e4287f

Please sign in to comment.