Skip to content

Commit e9b6ea2

Browse files
aa-replicatedclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 202d4a6 commit e9b6ea2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

helmchart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
pullPolicy: IfNotPresent
2020
replicated:
2121
image:
22-
registry: 'repl{{- if HasLocalRegistry }}{{ LocalRegistryHost }}{{- else }}proxy.replicated.com{{- end }}'
22+
registry: 'repl{{ LocalRegistryHost | default "proxy.replicated.com" }}'
2323
postgresql:
2424
image:
2525
registry: 'repl{{ ReplicatedImageRegistry "index.docker.io" }}'

0 commit comments

Comments
 (0)