# Gateway API PoC for homepages. Lives next to the TLS secrets so # certificateRefs stay same-namespace and no ReferenceGrant is needed. # Listener ports must match the Traefik entryPoints (80/443), # otherwise Traefik marks the listener Invalid. # Local .internal hosts are deliberately left on IngressRoute, # only prod is migrated here. apiVersion: gateway.networking.k8s.io/v1 kind: Gateway metadata: name: homepages namespace: homepages spec: gatewayClassName: traefik listeners: - name: http protocol: HTTP port: 80 allowedRoutes: namespaces: from: Same - name: https protocol: HTTPS port: 443 tls: mode: Terminate certificateRefs: - name: forust-homepage-prod-tls - name: xdfnx-homepage-prod-tls allowedRoutes: namespaces: from: Same