Skip to content

Commit 1c973b1

Browse files
Emit path-based NATS address for Gateway installs (#1287)
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
1 parent 3c56c88 commit 1c973b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

charts/ace/templates/platform/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ stringData:
118118
ADMIN_USER_CREDS = {{ .Values.settings.nats.mountPath }}/admin.creds
119119

120120
INCLUSTER_ADDR = nats://{{ include "ace.fullname" . }}-nats.{{ .Release.Namespace }}.svc:4222
121-
{{- if (and (index .Values "ingress-nginx" "enabled") (and .Values.nats.enabled (not .Values.nats.nats.externalAccess))) }}
121+
{{- if (and (or (index .Values "ingress-nginx" "enabled") .Values.gateway.enabled) (and .Values.nats.enabled (not .Values.nats.nats.externalAccess))) }}
122122
EXTERNAL_ADDR = nats://{{ .Values.global.platform.host }}:4222
123123
WEBSOCKET_ADDR = wss://{{ .Values.global.platform.host }}/nats
124124
{{- else }}

0 commit comments

Comments
 (0)