drawio/deployment/ingress.yaml
szymi f3f14d4fb9
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 4s
cicd: add TLS with Let's Encrypt
2026-01-12 23:23:30 +01:00

24 lines
482 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: drawio
namespace: drawio
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: nginx
tls:
- hosts:
- drawio.szymi.ddns.net
secretName: drawio-tls
rules:
- host: drawio.szymi.ddns.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: drawio
port:
number: 80