mirror of https://github.com/minio/minio.git
Add PVC annotations to StatefulSet PVC templates (#14915)
This commit is contained in:
parent
03f8b25b50
commit
d324c0a1c3
|
@ -184,6 +184,10 @@ spec:
|
||||||
{{- range $diskId := until $drivesPerNode}}
|
{{- range $diskId := until $drivesPerNode}}
|
||||||
- metadata:
|
- metadata:
|
||||||
name: export-{{ $diskId }}
|
name: export-{{ $diskId }}
|
||||||
|
{{- if $.Values.persistence.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml $.Values.persistence.annotations | trimSuffix "\n" | indent 10 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
accessModes: [ {{ $accessMode | quote }} ]
|
accessModes: [ {{ $accessMode | quote }} ]
|
||||||
{{- if $storageClass }}
|
{{- if $storageClass }}
|
||||||
|
@ -196,6 +200,10 @@ spec:
|
||||||
{{- else }}
|
{{- else }}
|
||||||
- metadata:
|
- metadata:
|
||||||
name: export
|
name: export
|
||||||
|
{{- if $.Values.persistence.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml $.Values.persistence.annotations | trimSuffix "\n" | indent 10 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
accessModes: [ {{ $accessMode | quote }} ]
|
accessModes: [ {{ $accessMode | quote }} ]
|
||||||
{{- if $storageClass }}
|
{{- if $storageClass }}
|
||||||
|
|
Loading…
Reference in New Issue