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