kubernetes-installation/traefik/dashboard.yaml

15 lines
335 B
YAML
Raw Normal View History

2021-12-28 16:12:12 +07:00
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