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