From 87a59733ce6f0b5bf5dc686afdb22f2e874116be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Wed, 29 May 2019 15:55:08 +0200 Subject: [PATCH] [stable/moodle] Change regex looking for rolling tags (#14276) Signed-off-by: Carlos Rodriguez Hernandez --- stable/moodle/Chart.yaml | 2 +- stable/moodle/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/moodle/Chart.yaml b/stable/moodle/Chart.yaml index 828ed2169a..cccd55d681 100644 --- a/stable/moodle/Chart.yaml +++ b/stable/moodle/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: moodle -version: 4.2.3 +version: 4.2.4 appVersion: 3.7.0 description: Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments keywords: diff --git a/stable/moodle/templates/NOTES.txt b/stable/moodle/templates/NOTES.txt index 9963efa939..3aab6c94ba 100644 --- a/stable/moodle/templates/NOTES.txt +++ b/stable/moodle/templates/NOTES.txt @@ -60,7 +60,7 @@ host. To configure Moodle to use and external database host: {{- end }} -{{- 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/