From 3ea35bcdf1d99e9e716a132f8b6ef5aee019d209 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sun, 2 Feb 2025 21:56:58 +0100 Subject: [PATCH] add minio + make vernemq available on nodeport --- base/hub/kerberos-hub-values.yaml | 2 +- base/vernemq/vernemq-values.yaml | 14 +++++++------- overlays/microk8s/kustomization.yaml | 8 +++++++- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/base/hub/kerberos-hub-values.yaml b/base/hub/kerberos-hub-values.yaml index 898b51c..8042643 100644 --- a/base/hub/kerberos-hub-values.yaml +++ b/base/hub/kerberos-hub-values.yaml @@ -47,7 +47,7 @@ mongodb: # we recommend to use vernemq (as part of this installation), but a stand-alone mosquitto broker is also possible. mqtt: host: "mqtt.yourdomain.com" # this needs to be a public accessible DNS name (it's used to communicate between Kerberos Agents and Kerberos Hub) - port: "8443" + port: "31443" protocol: "wss" username: "yourusername" password: "yourpassword" diff --git a/base/vernemq/vernemq-values.yaml b/base/vernemq/vernemq-values.yaml index 9577ffc..3d55b05 100644 --- a/base/vernemq/vernemq-values.yaml +++ b/base/vernemq/vernemq-values.yaml @@ -24,7 +24,7 @@ service: # NodePort - Listen to a port on nodes and forward to the service. # ClusterIP - Listen on the service internal to the cluster only. # LoadBalancer - Create a LoadBalancer in the cloud provider and forward to the service. - type: ClusterIP + type: NodePort # clusterIP: 10.1.2.4 # externalIPs: [] # loadBalancerIP: 10.1.2.4 @@ -36,25 +36,25 @@ service: enabled: true port: 1883 # This is the port used by nodes to expose the service - nodePort: 1883 + nodePort: 31883 mqtts: enabled: false port: 8883 # This is the port used by nodes to expose the service - nodePort: 8883 + nodePort: 38883 ws: - enabled: false + enabled: true port: 8080 # This is the port used by nodes to expose the service - nodePort: 8080 + nodePort: 38080 wss: enabled: false port: 8443 # This is the port used by nodes to expose the service - nodePort: 8443 + nodePort: 38443 api: enabled: false - type: ClusterIP + type: NodePort port: 8888 nodePort: 38888 annotations: {} diff --git a/overlays/microk8s/kustomization.yaml b/overlays/microk8s/kustomization.yaml index 2936bb9..892a3da 100644 --- a/overlays/microk8s/kustomization.yaml +++ b/overlays/microk8s/kustomization.yaml @@ -34,6 +34,12 @@ helmCharts: storageClass: "microk8s-hostpath" - name: vernemq releaseName: vernemq - #namespace: vernemq + # For some reason it doesn't work with a namespace + #namespace: vernemq repo: https://vernemq.github.io/docker-vernemq valuesFile: ../../base/vernemq/vernemq-values.yaml + - name: minio-operator + releaseName: minio-operator + # For some reason it doesn't work with a namespace + #namespace: minio + repo: https://operator.min.io \ No newline at end of file