Wrong key in DAGs Persistent Volume Claim (#10627)
Co-authored-by: Flavien Dereume-Hancart <flavien@LL-PC0BE1K9-1.goiba.net>
This commit is contained in:
Родитель
5ae82a56da
Коммит
5f403a8759
|
@ -31,11 +31,11 @@ spec:
|
|||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.dags.persistence.size | quote }}
|
||||
{{- if .Values.dags.persistence.storageClass }}
|
||||
{{- if (eq "-" .Values.dags.persistence.storageClass) }}
|
||||
{{- if .Values.dags.persistence.storageClassName }}
|
||||
{{- if (eq "-" .Values.dags.persistence.storageClassName) }}
|
||||
storageClassName: ""
|
||||
{{- else }}
|
||||
storageClassName: "{{ .Values.dags.persistence.storageClass }}"
|
||||
storageClassName: "{{ .Values.dags.persistence.storageClassName }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -51,7 +51,7 @@ tests:
|
|||
enabled: true
|
||||
size: 1G
|
||||
existingClaim: ~
|
||||
storageClass: "MyStorageClass"
|
||||
storageClassName: "MyStorageClass"
|
||||
accessMode: ReadWriteMany
|
||||
asserts:
|
||||
- equal:
|
||||
|
|
Загрузка…
Ссылка в новой задаче