diff --git a/bitnami/drupal/Chart.yaml b/bitnami/drupal/Chart.yaml index 28d805f8b..8a3a6ce85 100644 --- a/bitnami/drupal/Chart.yaml +++ b/bitnami/drupal/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: drupal -version: 8.0.1 +version: 8.0.2 appVersion: 9.0.2 description: One of the most versatile open source content management systems. keywords: diff --git a/bitnami/drupal/templates/_helpers.tpl b/bitnami/drupal/templates/_helpers.tpl index d6044b2a5..23c2703c8 100644 --- a/bitnami/drupal/templates/_helpers.tpl +++ b/bitnami/drupal/templates/_helpers.tpl @@ -63,16 +63,3 @@ Return the appropriate apiVersion for deployment. {{- include "common.warnings.rollingTag" .Values.image -}} {{- include "common.warnings.rollingTag" .Values.metrics.image -}} {{- end -}} - -{{/* -Renders a value that contains template. -Usage: -{{ include "drupal.tplValue" ( dict "value" .Values.path.to.the.Value "context" $) }} -*/}} -{{- define "drupal.tplValue" -}} - {{- if typeIs "string" .value }} - {{- tpl .value .context }} - {{- else }} - {{- tpl (.value | toYaml) .context }} - {{- end }} -{{- end -}} diff --git a/bitnami/drupal/templates/deployment.yaml b/bitnami/drupal/templates/deployment.yaml index f956e3004..c3ec040d8 100644 --- a/bitnami/drupal/templates/deployment.yaml +++ b/bitnami/drupal/templates/deployment.yaml @@ -18,7 +18,7 @@ spec: replicas: {{ .Values.replicaCount }} template: metadata: - labels: {{- include "common.labels.matchLabels" . | nindent 8 }} + labels: {{- include "common.labels.standard" . | nindent 8 }} {{- if .Values.commonLabels }} {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} {{- end }} diff --git a/bitnami/drupal/templates/extra-list.yaml b/bitnami/drupal/templates/extra-list.yaml index 15ea09ff6..184da188e 100644 --- a/bitnami/drupal/templates/extra-list.yaml +++ b/bitnami/drupal/templates/extra-list.yaml @@ -1,5 +1,5 @@ {{- if .Values.extraDeploy }} apiVersion: v1 kind: List -items: {{- include "drupal.tplValue" (dict "value" .Values.extraDeploy "context" $) | nindent 2 }} +items: {{- include "common.tplvalues.render" (dict "value" .Values.extraDeploy "context" $) | nindent 2 }} {{- end }}