hivemq/helm-charts

Facing issues with the secure websocket config !!

Closed this issue · 1 comments

I am trying to enable the secure web socket on the hivemq and using below config file and mounting appropriate key store and truststores.
This is my values file:

hivemq:
nodeCount: 3
cpu: 200m
memory: 3072M
listenerConfiguration: |

8001
0.0.0.0
/mqtt
my-websocket-listener

mqttv3.1
mqtt

false




/etc/hivemqstore/hivemq.jks
123456
123456


/etc/hivemqstore/hivemqtrust.jks
123456

NONE


ports:
- name: "mqtt"
port: 8001
expose: true
patch:
- '[{"op":"add","path":"/spec/selector/hivemq.com~1node-offline","value":"false"},{"op":"add","path":"/metadata/annotations","value":{"service.spec.externalTrafficPolicy":"Local"}}]'
# If you want Kubernetes to expose the MQTT port
- '[{"op":"add","path":"/spec/type","value":"LoadBalancer"}]'
- name: "cc"
port: 8080
expose: true
patch:
- '[{"op":"add","path":"/spec/type","value":"LoadBalancer"}]'

- '[{"op":"add","path":"/spec/sessionAffinity","value":"ClientIP"}]'

configMaps:
- name: "hivemqstore"
path: "/etc/hivemqstore"
#secrets: [ {"name": "hivemqstore", "path": "/opt/hivemq/hivemq.jks"}, ]

Hi @puneetmathur-87 can you please format correctly the value file to be able to verify.