DNS name change.

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2024-04-19 11:55:38 +00:00
parent 5467830dd8
commit 74d5e9d4b1
1 changed files with 24 additions and 0 deletions

View File

@ -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