gcloud-lab/infrastructure/gatewayapi/apigateway.yaml

18 lines
439 B
YAML
Raw Permalink Normal View History

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: external-http-gateway
2026-01-25 21:50:51 +00:00
namespace: customer1
2026-04-28 04:16:38 +00:00
annotations:
networking.gke.io/certmap: gateway-cert-map
spec:
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
2026-04-28 04:16:38 +00:00
listeners:
2026-04-28 04:16:38 +00:00
- name: https
protocol: HTTPS
port: 443
allowedRoutes:
namespaces:
2026-04-28 04:16:38 +00:00
from: All