mirror of https://git.rancher.io/rke2-charts
16 lines
357 B
Diff
16 lines
357 B
Diff
|
--- charts-original/templates/_helpers.tpl
|
||
|
+++ charts/templates/_helpers.tpl
|
||
|
@@ -86,3 +86,12 @@
|
||
|
{{- print "batch/v1beta1" -}}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|
||
|
+
|
||
|
+{{- define "system_default_registry" -}}
|
||
|
+{{- if .Values.global.systemDefaultRegistry -}}
|
||
|
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
||
|
+{{- else -}}
|
||
|
+{{- "" -}}
|
||
|
+{{- end }}
|
||
|
+{{- end }}
|
||
|
+
|