add TLS config
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user