This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 65e326406d26104f52b7e1dc2fc5980f42eea93b Author: flvndh <[email protected]> AuthorDate: Fri Aug 28 16:52:05 2020 +0200 Wrong key in DAGs Persistent Volume Claim (#10627) Co-authored-by: Flavien Dereume-Hancart <[email protected]> (cherry picked from commit 5f403a87597fe10459a12bb8c1368fc8b65f9a7c) --- chart/templates/dags-persistent-volume-claim.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/templates/dags-persistent-volume-claim.yaml b/chart/templates/dags-persistent-volume-claim.yaml index 53ea550..d3c95b2 100644 --- a/chart/templates/dags-persistent-volume-claim.yaml +++ b/chart/templates/dags-persistent-volume-claim.yaml @@ -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 }}
