2021-04-26 17:16:21 +00:00
|
|
|
--- charts-original/templates/_helpers.tpl
|
|
|
|
+++ charts/templates/_helpers.tpl
|
2022-07-26 15:23:25 +00:00
|
|
|
@@ -132,3 +132,11 @@
|
|
|
|
{{- $_ := set (set . "commonCA" $ca) "commonCASecretName" $secretName -}}
|
|
|
|
{{- end -}}
|
2022-03-14 15:21:40 +00:00
|
|
|
{{- end -}}
|
|
|
|
+
|
2021-02-05 12:24:14 +00:00
|
|
|
+{{- define "system_default_registry" -}}
|
|
|
|
+{{- if .Values.global.systemDefaultRegistry -}}
|
|
|
|
+{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
|
|
|
+{{- else -}}
|
|
|
|
+{{- "" -}}
|
|
|
|
+{{- end }}
|
|
|
|
+{{- end }}
|