kubernetes-state/infrastructure/traefik/ingress.yaml

18 lines
440 B
YAML
Raw Normal View History

2022-06-04 15:41:02 +02:00
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: kube-system
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`traefik.kjuulh.app`) # Hostname to match
kind: Rule
services: # Service to redirect requests to
- name: api@internal # Special service created by Traefik pod
kind: TraefikService
tls:
secretName: clank-cert