fix(gateway): Creating a TLS Passthrough listener

This commit is contained in:
Vegard Hagen
2024-03-02 16:47:43 +01:00
parent 54dc229e3e
commit fe9ab18ed0
5 changed files with 12 additions and 32 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ metadata:
namespace: proxmox
spec:
parentRefs:
- name: euclid
- name: stonegarden
namespace: gateway
hostnames:
- "proxmox.euclid.stonegarden.dev"
-24
View File
@@ -1,24 +0,0 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: euclid
namespace: gateway
annotations:
cert-manager.io/issuer: cloudflare-issuer
spec:
gatewayClassName: cilium
infrastructure:
annotations:
io.cilium/lb-ipam-ips: 192.168.1.173
listeners:
- protocol: HTTPS
port: 443
name: https-euclid
hostname: "*.euclid.stonegarden.dev"
tls:
certificateRefs:
- kind: Secret
name: cf-euclid-cert
allowedRoutes:
namespaces:
from: All
+9
View File
@@ -11,6 +11,15 @@ spec:
annotations:
io.cilium/lb-ipam-ips: 192.168.1.172
listeners:
- protocol: HTTPS
port: 443
name: proxmox-tls-passthrough
hostname: proxmox.euclid.stonegarden.dev
tls:
mode: Passthrough
allowedRoutes:
namespaces:
from: All
- protocol: HTTPS
port: 443
name: https-gateway
+1 -2
View File
@@ -7,5 +7,4 @@ resources:
- ns.yaml
- cloudflare-api-token.yaml
- cloudflare-issuer.yaml
- gw-stonegarden.yaml
- gw-euclid.yaml
- gw-stonegarden.yaml
+1 -5
View File
@@ -12,7 +12,7 @@ ingress:
- hostname: ssh.stonegarden.dev
service: ssh://192.168.1.50:22
- hostname: proxmox.euclid.stonegarden.dev
service: https://cilium-gateway-euclid.gateway.svc.cluster.local:443
service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
originRequest:
originServerName: proxmox.euclid.stonegarden.dev
- hostname: haos.stonegarden.dev
@@ -27,10 +27,6 @@ ingress:
service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
originRequest:
originServerName: gateway.stonegarden.dev
- hostname: hass.stonegarden.dev
service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
originRequest:
originServerName: hass.stonegarden.dev
- hostname: remark42.stonegarden.dev
service: https://cilium-gateway-stonegarden.gateway.svc.cluster.local:443
originRequest: