mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-11 08:54:32 +08:00
Expand volumeClaimTemplates spec
Use the full volumeClaimTemplates spec to avoid manifest diffs when using ServerSideApply/Diff
This commit is contained in:
parent
bf84322ca6
commit
5ea8c32ffa
1 changed files with 3 additions and 1 deletions
|
@ -221,7 +221,9 @@ spec:
|
||||||
{{- if .Values.extraVolumes }}{{- toYaml .Values.extraVolumes | nindent 8 }}{{ end }}
|
{{- if .Values.extraVolumes }}{{- toYaml .Values.extraVolumes | nindent 8 }}{{ end }}
|
||||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
- metadata:
|
- apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
name: {{ $fullName }}
|
name: {{ $fullName }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
|
|
Loading…
Add table
Reference in a new issue