kub/cluster/apps/production/traefik/dashboard/ingress.yaml

21 lines
506 B
YAML
Raw Normal View History

2024-07-06 09:22:18 -04:00
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: traefik
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`traefik.local.mafyuh.com`)
kind: Rule
middlewares:
- name: traefik-dashboard-basicauth
namespace: traefik
services:
- name: api@internal
kind: TraefikService
tls:
secretName: local-mafyuh-com-production-tls