ip/kustomize/ingress.yml
2021-06-24 17:25:41 -04:00

26 lines
587 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "ip-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:
- "ip.opti.cabillot.eu"
secretName: "ipcabilloteu-tls"
rules:
- host: "ip.opti.cabillot.eu"
http:
paths:
- path: "/"
pathType: "Prefix"
backend:
service:
name: "ip-deployment"
port:
name: "http"