-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
In our particular use case we override the names of the K8s services to make it easier for our TLS termination layer (NGINX) to target them.
e.g.
services:
- type: mqtt
name: "hivemq-enterprise-mqtt"
exposed: true
containerPort: 1883
hivemqProxyProtocol: true
- type: websocket
name: "hivemq-enterprise-ws"
exposed: true
containerPort: 8001
hivemqProxyProtocol: true
- type: control-center
name: "hivemq-enterprise-cc"
exposed: true
containerPort: 8080
sessionAffinity:
type: ClientIPHowever, this causes the test in the hivemq-platform helm chart to fail as the service name pattern is hard coded:
helm-charts/charts/hivemq-platform/templates/tests/test-mqtt-cli.yml
Lines 11 to 13 in 2e347f8
| args: [ "test", | |
| "-h", | |
| "{{ printf "hivemq-%s-mqtt-1883" $.Release.Name | trimAll "-" | trunc 63 | trimSuffix "-" | trim }}" ] |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working