diff --git a/hosting/k8s/helm/templates/NOTES.txt b/hosting/k8s/helm/templates/NOTES.txt index e9cd84464..21f8f0b77 100644 --- a/hosting/k8s/helm/templates/NOTES.txt +++ b/hosting/k8s/helm/templates/NOTES.txt @@ -86,7 +86,7 @@ Configuration: {{- if .Values.registry.deploy }} - Using internal Docker registry {{- else }} -- Using external Docker registry at {{ .Values.registry.external.host }}:{{ .Values.registry.external.port }} +- Using external Docker registry at {{ .Values.registry.external.host }} {{- if eq .Values.registry.external.host "localhost" }} ⚠️ Registry Warning: diff --git a/hosting/k8s/helm/templates/validate-external-config.yaml b/hosting/k8s/helm/templates/validate-external-config.yaml index c3bd1e075..47998f7d2 100644 --- a/hosting/k8s/helm/templates/validate-external-config.yaml +++ b/hosting/k8s/helm/templates/validate-external-config.yaml @@ -33,8 +33,8 @@ This template will fail the Helm deployment if external config is missing for re {{- end }} {{- if not .Values.registry.deploy }} -{{- if or (not .Values.registry.external.host) (not .Values.registry.external.port) }} -{{- fail "Registry external configuration is required when registry.deploy=false. Please provide registry.external.host and registry.external.port" }} +{{- if or (not .Values.registry.external.host) }} +{{- fail "Registry external configuration is required when registry.deploy=false. Please provide registry.external.host" }} {{- end }} {{- end }}