Skip to content

Commit

Permalink
Update statefulset.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmith3197 authored Jan 5, 2024
1 parent 4bd3cf0 commit 680f0ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/vector/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ spec:
{{- end }}
podManagementPolicy: {{ .Values.podManagementPolicy }}
{{- if and (semverCompare ">= 1.23-0" .Capabilities.KubeVersion.Version) (.Values.persistence.retentionPolicy) }}
persistentVolumeClaimRetentionPolicy: {{ toYaml .Values.persistence.retentionPolicy | nindent 4 }}
persistentVolumeClaimRetentionPolicy:
{{ toYaml .Values.persistence.retentionPolicy | nindent 4 }}
{{- end }}
selector:
matchLabels:
Expand Down

0 comments on commit 680f0ff

Please sign in to comment.