Files
auricom-home-cluster/kubernetes/apps/network/envoy-gateway/config/httproute.yaml
2025-08-19 03:16:10 +02:00

23 lines
573 B
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/gateway.networking.k8s.io/httproute_v1.json
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: https-redirect
annotations:
external-dns.alpha.kubernetes.io/controller: none
spec:
parentRefs:
- name: internal
namespace: network
sectionName: http
- name: external
namespace: network
sectionName: http
rules:
- filters:
- requestRedirect:
scheme: https
statusCode: 301
type: RequestRedirect