gcloud-lab/infrastructure/gatewayapi/apigateway.yaml
2026-04-28 03:31:52 +00:00

26 lines
691 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: external-http-gateway
namespace: customer1
spec:
gatewayClassName: gke-l7-global-external-managed # Use gke-l7-global-external-http for external, or gke-l7-rilb for internal
listeners:
- name: n8n-https
protocol: HTTPS
port: 443
tls:
mode: Terminate
options:
networking.gke.io/pre-shared-certs: n8n-sirius-sec-com
- name: siriusdevops-https
hostname: siriusdevops.com
protocol: HTTPS
port: 443
tls:
mode: Terminate
options:
networking.gke.io/pre-shared-certs: siriusdevops-cert
allowedRoutes:
namespaces:
from: "All"