expose management center and update config path
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ecab35112f
commit
be47398910
|
@ -18,7 +18,7 @@ data:
|
|||
|
||||
# Plugin
|
||||
plugin /usr/lib/mosquitto_dynamic_security.so
|
||||
plugin_opt_config_file /tmp/dynamic-security.json
|
||||
plugin_opt_config_file /mosquitto/data/dynamic-security.json
|
||||
|
||||
# Persistence configuration
|
||||
persistence true
|
||||
|
|
26
mosquitto/ingress-mgmt.yaml
Normal file
26
mosquitto/ingress-mgmt.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
ingress.kubernetes.io/ssl-redirect: "true"
|
||||
labels:
|
||||
app: management-center
|
||||
name: management-center
|
||||
spec:
|
||||
rules:
|
||||
- host: admin.mqtt.tbrnt.ch
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: management-center
|
||||
port:
|
||||
number: 8088
|
||||
tls:
|
||||
- hosts:
|
||||
- admin.mqtt.tbrnt.ch
|
||||
secretName: ingress-cert
|
Reference in a new issue