mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
02a5bee62f
* Move registries.yaml handling out to rancher/wharfie * Add system-default-registry support * Add CLI support for kubelet image credential providers Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
9 lines
233 B
Smarty
9 lines
233 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
{{- define "system_default_registry" -}}
|
|
{{- if .Values.global.systemDefaultRegistry -}}
|
|
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
|
{{- else -}}
|
|
{{- "" -}}
|
|
{{- end -}}
|
|
{{- end -}}
|