2023-04-13 04:52:05 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: traefik-dash-ingress
|
|
|
|
namespace: traefik
|
|
|
|
annotations:
|
2023-04-15 05:17:55 +00:00
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
2023-04-13 04:52:05 +00:00
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: "traefik.${SECRET_DOMAIN}"
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: traefik
|
|
|
|
port:
|
|
|
|
number: 9000
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- "${SECRET_DOMAIN}"
|
|
|
|
- "traefik.${SECRET_DOMAIN}"
|
|
|
|
secretName: wildcard-main-tls
|