26 lines
590 B
YAML
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"
|