mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/odoo] Change regex looking for rolling tags (#14274)
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
c5fce05f63
commit
ff83a8e408
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: odoo
|
||||
version: 8.0.2
|
||||
version: 8.0.3
|
||||
appVersion: 12.0.20190515
|
||||
description: A suite of web based open source business apps.
|
||||
home: https://www.odoo.com/
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
echo Email : {{ .Values.odooEmail }}
|
||||
echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "odoo.fullname" . }} -o jsonpath="{.data.odoo-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/
|
||||
|
||||
Reference in New Issue
Block a user