first commit

This commit is contained in:
Julien Cabillot
2021-07-23 15:33:36 -04:00
parent 84e404c5f5
commit 50ce61df86
8 changed files with 153 additions and 0 deletions

25
base/ingress.yml Normal file
View File

@@ -0,0 +1,25 @@
---
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"