25 lines
524 B
YAML
25 lines
524 B
YAML
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
|