clean up and add routes to paas site

This commit is contained in:
sirius0xdev 2026-04-28 03:31:52 +00:00
commit 9f5d1fb723
36 changed files with 222 additions and 10 deletions

View file

@ -0,0 +1,26 @@
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"

View file

@ -0,0 +1,18 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: paas-landing
namespace: customer1
spec:
parentRefs:
- name: external-http-gateway
kind: Gateway
rules:
- matches:
- path:
type: PathPrefix
value: /paas
backendRefs:
- name: paas-landing-svc
port: 80

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- apigateway.yaml
- gateway-routes/