add TLS config

This commit is contained in:
2025-04-24 16:19:58 +02:00
parent 9baca6a5cf
commit 266e2cdeb7
6 changed files with 89 additions and 39 deletions
+8 -8
View File
@@ -1,30 +1,30 @@
apiVersion: v1
kind: Service
metadata:
name: mosquitto-mqtt
name: mosquitto-mqtts
namespace: mosquitto
spec:
type: ClusterIP
selector:
app: mosquitto
ports:
- name: mqtt
port: 1883
targetPort: 1883
- name: mqtts
port: 8883
targetPort: 8883
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: mosquitto-ws
name: mosquitto-wss
namespace: mosquitto
spec:
type: ClusterIP
selector:
app: mosquitto
ports:
- name: mqttws
port: 9001
targetPort: 9001
- name: mqttwss
port: 9443
targetPort: 9443
protocol: TCP