Skip to content

Commit 74b0208

Browse files
committed
fix external registry config check
1 parent 4ba6553 commit 74b0208

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hosting/k8s/helm/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Configuration:
8686
{{- if .Values.registry.deploy }}
8787
- Using internal Docker registry
8888
{{- else }}
89-
- Using external Docker registry at {{ .Values.registry.external.host }}:{{ .Values.registry.external.port }}
89+
- Using external Docker registry at {{ .Values.registry.external.host }}
9090
{{- if eq .Values.registry.external.host "localhost" }}
9191

9292
⚠️ Registry Warning:

hosting/k8s/helm/templates/validate-external-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ This template will fail the Helm deployment if external config is missing for re
3333
{{- end }}
3434

3535
{{- if not .Values.registry.deploy }}
36-
{{- if or (not .Values.registry.external.host) (not .Values.registry.external.port) }}
37-
{{- fail "Registry external configuration is required when registry.deploy=false. Please provide registry.external.host and registry.external.port" }}
36+
{{- if or (not .Values.registry.external.host) }}
37+
{{- fail "Registry external configuration is required when registry.deploy=false. Please provide registry.external.host" }}
3838
{{- end }}
3939
{{- end }}
4040

0 commit comments

Comments
 (0)