From 74d5e9d4b1253c59da810b682ca83167e1f190eb Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Fri, 19 Apr 2024 11:55:38 +0000 Subject: [PATCH] DNS name change. Signed-off-by: Martyn Ranyard --- apps-kustomized/external-mqtt/ing.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apps-kustomized/external-mqtt/ing.yaml diff --git a/apps-kustomized/external-mqtt/ing.yaml b/apps-kustomized/external-mqtt/ing.yaml new file mode 100644 index 0000000..78e846e --- /dev/null +++ b/apps-kustomized/external-mqtt/ing.yaml @@ -0,0 +1,24 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: mosquitto + annotations: + cert-manager.io/cluster-issuer: "letsencrypt" + external-dns.alpha.kubernetes.io/target: home.martyn.berlin +spec: + ingressClassName: nginx + tls: + - hosts: + - iot.martyn.berlin + secretName: mosquitto-certs + rules: + - host: iot.martyn.berlin + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: mosquitto-ws + port: + number: 9001