[vFW_CNF_CDS] Update of python-sdk for vFW_CNF use case
[demo.git] / tutorials / ApacheCNF / templates / cba / Templates / k8s-configs / deployment-config / charts / common / templates / _warnings.tpl
1 {{/* vim: set filetype=mustache: */}}
2 {{/*
3 Warning about using rolling tag.
4 Usage:
5 {{ include "common.warnings.rollingTag" .Values.path.to.the.imageRoot }}
6 */}}
7 {{- define "common.warnings.rollingTag" -}}
8
9 {{- if and (contains "bitnami/" .repository) (not (.tag | toString | regexFind "-r\\d+$|sha256:")) }}
10 WARNING: Rolling tag detected ({{ .repository }}:{{ .tag }}), please note that it is strongly recommended to avoid using rolling tags in a production environment.
11 +info https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/
12 {{- end }}
13
14 {{- end -}}