Skip to content

Commit c3176c8

Browse files
author
Alan Christie
committed
fix: Fix location (no port needed)
1 parent 13a1675 commit c3176c8

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ cluster. The Account Server will be able to manage event streams via the URL
9595

9696
The external web-socket service will be available on the ingress host you've specified,
9797
as either a `ws://` or `wss://` service, depending on the ingress configuration. If
98-
the host is `example.com` you should be able to connect to unsecure web sockets using
98+
the host is `example.com` you should be able to connect to an unsecure web socket using
9999
the URL `ws://example.com/event-stream/{uuid}`.
100100

101101
To update the running image (to deploy a new tagged version) just re-run the

ansible/roles/app/defaults/main.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ ess_image_tag: SetMe
2222

2323
# Required with defaults ---------------------------------------------------------------
2424

25-
# The external port number streams are exposed on
26-
ess_ws_port: 80
2725
# Deploy the ingress definition?
2826
# One of 'present' or 'absent'.
2927
ess_ingress_state: present

ansible/roles/app/tasks/deploy.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
- ess_service_account != 'SetMe'
1212
- ess_ws_hostname | length > 0
1313
- ess_ws_hostname != 'SetMe'
14-
- ess_ws_port | string | length > 0
1514
- ess_ampq_url | length > 0
1615
- ess_ampq_url != 'SetMe'
1716

ansible/roles/app/templates/deployment.yaml.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ spec:
6767
- name: ESS_AMPQ_URL
6868
value: '{{ ess_ampq_url }}'
6969
- name: ESS_INGRESS_LOCATION
70-
value: '{{ ess_ws_hostname }}:{{ ess_ws_port }}'
70+
value: '{{ ess_ws_hostname }}'
71+
{% if ess_cert_issuer %}
7172
- name: ESS_INGRESS_SECURE
7273
value: 'yes'
74+
{% endif %}
7375
# CICD_TRIGGER_ID is variable whose value is used to force
7476
# a redeployment of the underlying containers. This is used in
7577
# situations where the origin image's tag may not have changed

0 commit comments

Comments
 (0)