mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
Helm: Add apiVersion and kind to the StatefulSets volumeClaimTemplates (#18770)
This commit is contained in:
parent
2c38e44e48
commit
0f16e19239
@ -221,7 +221,9 @@ spec:
|
||||
volumeClaimTemplates:
|
||||
{{- if gt $drivesPerNode 1 }}
|
||||
{{- range $diskId := until $drivesPerNode}}
|
||||
- metadata:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: export-{{ $diskId }}
|
||||
{{- if $.Values.persistence.annotations }}
|
||||
annotations: {{- toYaml $.Values.persistence.annotations | nindent 10 }}
|
||||
@ -236,7 +238,9 @@ spec:
|
||||
storage: {{ $psize }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
- metadata:
|
||||
- apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: export
|
||||
{{- if $.Values.persistence.annotations }}
|
||||
annotations: {{- toYaml $.Values.persistence.annotations | nindent 10 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user