Skip to content

Commit

Permalink
Expand volumeClaimTemplates spec
Browse files Browse the repository at this point in the history
Use the full volumeClaimTemplates spec to avoid manifest diffs when using ServerSideApply/Diff
  • Loading branch information
horjulf authored and bokysan committed Feb 7, 2024
1 parent bf84322 commit 5ea8c32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helm/mail/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ spec:
{{- if .Values.extraVolumes }}{{- toYaml .Values.extraVolumes | nindent 8 }}{{ end }}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace }}
spec:
Expand Down

0 comments on commit 5ea8c32

Please sign in to comment.