kubernetes-installation/traefik/dashboard.yaml
2021-12-28 16:12:12 +07:00

15 lines
335 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
namespace: traefik-v2
name: dashboard
spec:
entryPoints:
- web
routes:
- match: Host(`traefik.ct.host`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal
kind: TraefikService