This commit is contained in:
sirius0xdev 2026-01-25 22:18:20 +00:00
parent 579ac6f71f
commit 3b46d1e72a

View file

@ -3,8 +3,6 @@ kind: Gateway
metadata: metadata:
name: external-http-gateway name: external-http-gateway
namespace: customer1 namespace: customer1
annotations:
networking.gke.io/certmap: devops-lab-cert-map
spec: spec:
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
listeners: listeners:
@ -13,7 +11,10 @@ spec:
port: 443 port: 443
tls: tls:
mode: Terminate mode: Terminate
certificateRefs: [] certificateRefs:
- group: networking.gke.io # This tells K8s it's a GKE-specific resource
kind: CertificateMap # This tells K8s it's not a Secret
name: devops-lab-cert-map
allowedRoutes: allowedRoutes:
namespaces: namespaces:
from: All from: All