diff --git a/mosquitto/configmap.yaml b/mosquitto/configmap.yaml index 2cb10a8..003bb44 100644 --- a/mosquitto/configmap.yaml +++ b/mosquitto/configmap.yaml @@ -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 diff --git a/mosquitto/ingress-mgmt.yaml b/mosquitto/ingress-mgmt.yaml new file mode 100644 index 0000000..5d584c9 --- /dev/null +++ b/mosquitto/ingress-mgmt.yaml @@ -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