infra4talos/apps-kustomized/external-mqtt/ing.yaml

25 lines
524 B
YAML
Raw Normal View History

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