From 721185b4fd6cefa07160e738544249a721ccc361 Mon Sep 17 00:00:00 2001 From: Jeffrey Smeets Date: Sun, 31 May 2026 23:47:53 +0200 Subject: [PATCH] Add Affine gateway listener and certificate --- envoy-gateway/affine/certificate.yaml | 14 ++++++++++++++ envoy-gateway/affine/gateway-patch.yaml | 19 +++++++++++++++++++ envoy-gateway/kustomization.yaml | 7 +++++++ 3 files changed, 40 insertions(+) create mode 100644 envoy-gateway/affine/certificate.yaml create mode 100644 envoy-gateway/affine/gateway-patch.yaml diff --git a/envoy-gateway/affine/certificate.yaml b/envoy-gateway/affine/certificate.yaml new file mode 100644 index 0000000..e678e70 --- /dev/null +++ b/envoy-gateway/affine/certificate.yaml @@ -0,0 +1,14 @@ +apiVersion: cert-manager.io/v1 +kind: Certificate +metadata: + name: affine-tls + namespace: envoy-gateway +spec: + secretName: affine-tls + privateKey: + rotationPolicy: Always + issuerRef: + name: azure-dns + kind: ClusterIssuer + dnsNames: + - affine.jsme.be diff --git a/envoy-gateway/affine/gateway-patch.yaml b/envoy-gateway/affine/gateway-patch.yaml new file mode 100644 index 0000000..5cf82c9 --- /dev/null +++ b/envoy-gateway/affine/gateway-patch.yaml @@ -0,0 +1,19 @@ +- op: add + path: /spec/listeners/- + value: + name: affine + protocol: HTTPS + port: 443 + hostname: "affine.jsme.be" + allowedRoutes: + namespaces: + from: Selector + selector: + matchLabels: + kubernetes.io/metadata.name: affine + tls: + mode: Terminate + certificateRefs: + - kind: Secret + name: affine-tls + namespace: envoy-gateway diff --git a/envoy-gateway/kustomization.yaml b/envoy-gateway/kustomization.yaml index c341543..3809199 100644 --- a/envoy-gateway/kustomization.yaml +++ b/envoy-gateway/kustomization.yaml @@ -47,6 +47,7 @@ resources: - openwebui/certificate.yaml - searxng/certificate.yaml - docuseal/certificate.yaml + - affine/certificate.yaml patches: # Internal gateway patches @@ -296,6 +297,12 @@ patches: kind: Gateway name: gateway-internal path: docuseal/gateway-patch.yaml + - target: + group: gateway.networking.k8s.io + version: v1 + kind: Gateway + name: gateway-internal + path: affine/gateway-patch.yaml # Public gateway patches - target: