rke2-charts/packages/rke2-snapshot-validation-we.../generated-changes/patch/templates/_helpers.tpl.patch

15 lines
383 B
Diff

--- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl
@@ -66,3 +66,11 @@
{{- include "snapshot-validation-webhook.fullname" . }}-tls
{{- end }}
{{- end }}
+
+{{- define "system_default_registry" -}}
+{{- if .Values.global.systemDefaultRegistry -}}
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
+{{- else -}}
+{{- "" -}}
+{{- end }}
+{{- end }}