[stable/nats] Change regex looking for rolling tags (#14275)

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-05-29 06:54:54 -07:00
committed by Kubernetes Prow Robot
parent 10bd2715f3
commit 0946015dca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: nats
version: 2.5.2
version: 2.5.3
appVersion: 1.4.1
description: An open-source, cloud-native messaging system
keywords:
+1 -1
View File
@@ -90,7 +90,7 @@ To access the Monitoring svc from outside the cluster, follow the steps below:
{{- include "nats.validateValues" . -}}
{{- 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/