rke2-charts/packages/rke2-cilium/generated-changes/patch/templates/_helpers.tpl.patch

15 lines
355 B
Diff
Raw Normal View History

--- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl
@@ -86,3 +86,11 @@
{{- print "batch/v1beta1" -}}
{{- end -}}
{{- end -}}
+
+{{- define "system_default_registry" -}}
+{{- if .Values.global.systemDefaultRegistry -}}
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
+{{- else -}}
+{{- "" -}}
+{{- end }}
+{{- end }}