--- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: ghost-on-kubernetes-redirect namespace: ghost-on-kubernetes labels: app: ghost-on-kubernetes app.kubernetes.io/name: ghost-on-kubernetes-httproute app.kubernetes.io/instance: ghost-on-kubernetes app.kubernetes.io/version: '6.0' app.kubernetes.io/component: httproute app.kubernetes.io/part-of: ghost-on-kubernetes spec: parentRefs: - name: cilium-gateway namespace: kube-system sectionName: http hostnames: - ghost.lab.home.hrajfrisbee.cz rules: - matches: - path: type: PathPrefix value: / filters: - type: RequestRedirect requestRedirect: scheme: https statusCode: 301