From e9e2e02a346d3ed45f372f26a1d6ad4a9dbf9c72 Mon Sep 17 00:00:00 2001 From: sirius0xdev Date: Tue, 28 Apr 2026 04:16:38 +0000 Subject: [PATCH] fix certs apigateway --- infrastructure/gatewayapi/apigateway.yaml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/infrastructure/gatewayapi/apigateway.yaml b/infrastructure/gatewayapi/apigateway.yaml index 90c09d7..f7e712d 100644 --- a/infrastructure/gatewayapi/apigateway.yaml +++ b/infrastructure/gatewayapi/apigateway.yaml @@ -3,24 +3,16 @@ kind: Gateway metadata: name: external-http-gateway namespace: customer1 + 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 + listeners: - - name: n8n-https + - name: 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/cert-manager-certs: "siriusdevops-cert" + hostname: "*" allowedRoutes: namespaces: - from: "All" + from: All