23 lines
696 B
YAML
23 lines
696 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: traefik-dashboard-ingress
|
|
namespace: traefik
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-production"
|
|
# This might show an error in the dashboard if this middleware is not yet created by authentik
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- kind: Rule
|
|
match: Host(`k3st.***REMOVED***`) && (PathPrefix(`/dashboard/`) || PathPrefix(`/api/`))
|
|
priority: 10
|
|
services:
|
|
- kind: Service
|
|
name: traefik
|
|
namespace: traefik
|
|
passHostHeader: true
|
|
port: 9000
|
|
weight: 10 |