diff --git a/packages/rancher-istio/charts/templates/_helpers.tpl b/packages/rancher-istio/charts/templates/_helpers.tpl index c9ff6d396..3f7af953a 100644 --- a/packages/rancher-istio/charts/templates/_helpers.tpl +++ b/packages/rancher-istio/charts/templates/_helpers.tpl @@ -4,8 +4,8 @@ {{- end -}} {{- define "system_default_registry" -}} -{{- if .Values.global.systemDefaultRegistry -}} -{{- printf "%s/" .Values.global.systemDefaultRegistry -}} +{{- if .Values.global.cattle.systemDefaultRegistry -}} +{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} {{- else -}} {{- "" -}} {{- end -}} diff --git a/packages/rancher-istio/charts/values.yaml b/packages/rancher-istio/charts/values.yaml index a21137a28..b6470c1cb 100644 --- a/packages/rancher-istio/charts/values.yaml +++ b/packages/rancher-istio/charts/values.yaml @@ -54,7 +54,8 @@ sidecarInjectorWebhook: rewriteAppHTTPProbe: true global: - systemDefaultRegistry: "" + cattle: + systemDefaultRegistry: "" proxy: repository: rancher/istio-proxyv2 tag: 1.6.8