21 lines
535 B
YAML
21 lines
535 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: traefik-dashboard
|
|
namespace: traefik
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik-external
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`traefik.k3s.securait.local`)
|
|
kind: Rule
|
|
middlewares:
|
|
- name: traefik-dashboard-basicauth
|
|
namespace: traefik
|
|
services:
|
|
- name: api@internal
|
|
kind: TraefikService
|
|
tls:
|
|
secretName: local-example-com-staging-tls |