Files
home-cluster/cluster/apps/networking/traefik/dashboard/ingress.yaml
T
2021-09-21 11:18:06 -04:00

30 lines
733 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-tls"
rules:
- host: "traefik.${SECRET_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: traefik
port:
number: 9000