syncthing-k8s/base/ingress.yml
Julien Cabillot 50ce61df86 first commit
2021-07-24 13:44:43 -04:00

26 lines
590 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "syncthing-deployment"
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/router.entrypoints: "web,websecure"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- "sync.opti.cabillot.eu"
secretName: "syncthing-tls"
rules:
- host: "sync.opti.cabillot.eu"
http:
paths:
- path: "/"
pathType: "Prefix"
backend:
service:
name: "sync-svc"
port:
name: "http"