From 8e05cb632a773713a1ee784c6b075bac04de9e19 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Fri, 6 Jun 2025 20:46:47 -0500 Subject: [PATCH] add gateway --- .../standalone/cilium/templates/gateway.yaml | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/clusters/cl01tl/standalone/cilium/templates/gateway.yaml b/clusters/cl01tl/standalone/cilium/templates/gateway.yaml index 8a8274e01..94f7446de 100644 --- a/clusters/cl01tl/standalone/cilium/templates/gateway.yaml +++ b/clusters/cl01tl/standalone/cilium/templates/gateway.yaml @@ -1,35 +1,35 @@ -# apiVersion: gateway.networking.k8s.io/v1 -# kind: Gateway -# metadata: -# name: tls-gateway -# namespace: {{ .Release.Namespace }} -# labels: -# app.kubernetes.io/name: tls-gateway -# app.kubernetes.io/instance: {{ .Release.Name }} -# app.kubernetes.io/part-of: {{ .Release.Name }} -# annotations: -# cert-manager.io/cluster-issuer: letsencrypt-issuer -# spec: -# gatewayClassName: cilium -# listeners: -# - allowedRoutes: -# namespaces: -# from: All -# hostname: '*.alexlebens.net' -# name: http -# port: 80 -# protocol: HTTP -# - allowedRoutes: -# namespaces: -# from: All -# hostname: '*.alexlebens.net' -# name: https -# port: 443 -# protocol: HTTPS -# tls: -# certificateRefs: -# - group: '' -# kind: Secret -# name: https-gateway-cert -# namespace: kube-system -# mode: Terminate +apiVersion: gateway.networking.k8s.io/v1 +kind: Gateway +metadata: + name: tls-gateway + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: tls-gateway + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + cert-manager.io/cluster-issuer: letsencrypt-issuer +spec: + gatewayClassName: cilium + listeners: + - allowedRoutes: + namespaces: + from: All + hostname: '*.alexlebens.net' + name: http + port: 80 + protocol: HTTP + - allowedRoutes: + namespaces: + from: All + hostname: '*.alexlebens.net' + name: https + port: 443 + protocol: HTTPS + tls: + certificateRefs: + - group: '' + kind: Secret + name: https-gateway-cert + namespace: kube-system + mode: Terminate