gcloud-lab/apps/base/customer1/apigateway.yaml

23 lines
576 B
YAML
Raw 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
annotations:
networking.gke.io/certmap: devops-lab-cert-map
spec:
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
listeners:
- name: https
protocol: HTTPS
port: 443
tls:
mode: Terminate
2026-01-25 22:00:54 +00:00
certificateRefs:
- name: devops-lab-cert-unused
group: ""
kind: secret
allowedRoutes:
namespaces:
from: All