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

15 lines
383 B
Diff
Raw Normal View History

--- charts-original/templates/_helpers.tpl
+++ charts/templates/_helpers.tpl
@@ -49,3 +49,11 @@
{{ default "default" .Values.serviceAccount.name }}
{{- end -}}
{{- end -}}
+
+{{- define "system_default_registry" -}}
+{{- if .Values.global.systemDefaultRegistry -}}
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
+{{- else -}}
+{{- "" -}}
+{{- end -}}
+{{- end -}}