Skip to content

Commit

Permalink
Statefulset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
peterabarr committed Oct 2, 2023
1 parent 6885f43 commit 4c9fffa
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 4c9fffa

Please sign in to comment.