From f4ff985bd885477bc7fe4608cb13fe5a087a95b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Wed, 29 May 2019 15:54:29 +0200 Subject: [PATCH] [stable/drupal] Change regex looking for rolling tags (#14251) Signed-off-by: Carlos Rodriguez Hernandez --- stable/drupal/Chart.yaml | 2 +- stable/drupal/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/drupal/Chart.yaml b/stable/drupal/Chart.yaml index 8216e0ab04..420bbdb7c5 100644 --- a/stable/drupal/Chart.yaml +++ b/stable/drupal/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: drupal -version: 3.2.7 +version: 3.2.8 appVersion: 8.7.2 description: One of the most versatile open source content management systems. keywords: diff --git a/stable/drupal/templates/NOTES.txt b/stable/drupal/templates/NOTES.txt index 8772c9bf95..acb11c787e 100644 --- a/stable/drupal/templates/NOTES.txt +++ b/stable/drupal/templates/NOTES.txt @@ -43,7 +43,7 @@ echo Username: {{ .Values.drupalUsername }} echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "drupal.fullname" . }} -o jsonpath="{.data.drupal-password}" | base64 --decode) -{{- if and (contains "bitnami/" .Values.image.repository) (not (.Values.image.tag | regexFind "-r\\d+$")) }} +{{- if and (contains "bitnami/" .Values.image.repository) (not (.Values.image.tag | toString | regexFind "-r\\d+$|sha256:")) }} WARNING: Rolling tag detected ({{ .Values.image.repository }}:{{ .Values.image.tag }}), please note that it is strongly recommended to avoid using rolling tags in a production environment. +info https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/