Files
home-cluster/cluster/apps/networking/traefik/dashboard/ingress.yaml
T
Alex Waibel 36ea36da14 Use global substring substitution for tls secret (#77)
* Use global substring substitution for tls secret

* Another global substring substitution for tls secret
2021-09-17 02:10:08 -04:00

30 lines
755 B
YAML

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: traefik-dashboard
namespace: networking
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
hajimari.io/appName: "traefik"
hajimari.io/enable: "true"
hajimari.io/icon: "web"
traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
spec:
ingressClassName: "traefik"
tls:
- hosts:
- "traefik.${SECRET_DOMAIN}"
secretName: "traefik-dashboard-${SECRET_DOMAIN//./-}-tls"
rules:
- host: "traefik.${SECRET_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: traefik
port:
number: 9000