From e9b6ea2c5dd93c7ca30a48c8c24721f4b973c675 Mon Sep 17 00:00:00 2001 From: Adam Anthony Date: Sat, 18 Apr 2026 11:11:31 -0400 Subject: [PATCH] fix: use LocalRegistryHost instead of HasLocalRegistry for SDK registry HasLocalRegistry is not available in helmchart.yaml template context. LocalRegistryHost returns empty string for online installs, so | default "proxy.replicated.com" handles both cases cleanly. Co-Authored-By: Claude Sonnet 4.6 --- helmchart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helmchart.yaml b/helmchart.yaml index 17335dd..470f68b 100644 --- a/helmchart.yaml +++ b/helmchart.yaml @@ -19,7 +19,7 @@ spec: pullPolicy: IfNotPresent replicated: image: - registry: 'repl{{- if HasLocalRegistry }}{{ LocalRegistryHost }}{{- else }}proxy.replicated.com{{- end }}' + registry: 'repl{{ LocalRegistryHost | default "proxy.replicated.com" }}' postgresql: image: registry: 'repl{{ ReplicatedImageRegistry "index.docker.io" }}'