文件
k3s/core/traefik/ingressroute-https-only.yaml
T
2024-04-07 19:42:51 +08:00

17 行
341 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: https-only
namespace: kube-system
spec:
entryPoints:
- web
routes:
- kind: Rule
match: PathPrefix(`/`)
priority: 1
middlewares:
- name: https-only
services:
- kind: TraefikService
name: noop@internal