khuedoan-homelab/apps/excalidraw/ingress.yaml
2023-01-13 20:28:06 +07:00

25 lines
641 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: excalidraw
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/target: "homelab-tunnel.khuedoan.com"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
spec:
ingressClassName: nginx
rules:
- host: &host draw.khuedoan.com
http:
paths:
- pathType: ImplementationSpecific
backend:
service:
name: excalidraw
port:
name: http
tls:
- secretName: excalidraw-tls-certificate
hosts:
- *host