K3s-cluster/helm-traefik/dashboard.yaml

15 lines
330 B
YAML
Raw Normal View History

2022-05-15 16:57:30 +00:00
# dashboard.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(`traefik.localhost`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal
kind: TraefikService