github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/kafka/charts/common/templates/_warnings.tpl (about) 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 -}}