diff --git a/stable/drupal/Chart.yaml b/stable/drupal/Chart.yaml index 15a2e82d14..e0ea570e26 100644 --- a/stable/drupal/Chart.yaml +++ b/stable/drupal/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: drupal -version: 5.1.1 +version: 5.1.2 appVersion: 8.7.5 description: One of the most versatile open source content management systems. keywords: diff --git a/stable/drupal/requirements.lock b/stable/drupal/requirements.lock index 37137ed0a4..9b45656046 100644 --- a/stable/drupal/requirements.lock +++ b/stable/drupal/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 6.7.2 + version: 6.8.2 digest: sha256:a363428d6463718a9523a88c70e485218373e315f2979cb1bb17b034ec2be96a -generated: "2019-07-25T09:25:00.878691+02:00" +generated: "2019-08-23T09:23:35.981415+02:00" diff --git a/stable/drupal/templates/_helpers.tpl b/stable/drupal/templates/_helpers.tpl index b8d252bb2d..0710bd6c16 100644 --- a/stable/drupal/templates/_helpers.tpl +++ b/stable/drupal/templates/_helpers.tpl @@ -130,25 +130,25 @@ but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else {{- if .Values.global -}} {{- if .Values.global.storageClass -}} {{- if (eq "-" .Values.global.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.global.storageClass -}} + {{- printf "storageClassName: %s" .Values.global.storageClass -}} {{- end -}} {{- else -}} {{- if .Values.persistence.drupal.storageClass -}} {{- if (eq "-" .Values.persistence.drupal.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.drupal.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.drupal.storageClass -}} {{- end -}} {{- end -}} {{- end -}} {{- else -}} {{- if .Values.persistence.drupal.storageClass -}} {{- if (eq "-" .Values.persistence.drupal.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.drupal.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.drupal.storageClass -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/stable/drupal/templates/drupal-pvc.yaml b/stable/drupal/templates/drupal-pvc.yaml index 45a9ea544c..8e4465ef6d 100644 --- a/stable/drupal/templates/drupal-pvc.yaml +++ b/stable/drupal/templates/drupal-pvc.yaml @@ -17,5 +17,5 @@ spec: resources: requests: storage: {{ .Values.persistence.drupal.size | quote }} - storageClassName: {{ include "drupal.storageClass" . }} + {{ include "drupal.storageClass" . }} {{- end -}}