fix(gateway): Create a separate Gateway for Proxmox TLS passthrough

This commit is contained in:
Vegard Hagen
2024-03-02 16:55:05 +01:00
parent fe9ab18ed0
commit da61e34580
4 changed files with 26 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ metadata:
namespace: proxmox
spec:
parentRefs:
- name: stonegarden
- name: proxmox-euclid
namespace: gateway
hostnames:
- "proxmox.euclid.stonegarden.dev"
+22
View File
@@ -0,0 +1,22 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: proxmox-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: proxmox-tls-passthrough
hostname: proxmox.euclid.stonegarden.dev
tls:
mode: Passthrough
allowedRoutes:
namespaces:
from: All
+2 -1
View File
@@ -7,4 +7,5 @@ resources:
- ns.yaml
- cloudflare-api-token.yaml
- cloudflare-issuer.yaml
- gw-stonegarden.yaml
- gw-stonegarden.yaml
- gw-proxmox-euclid.yaml
+1 -1
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-stonegarden.gateway.svc.cluster.local:443
service: https://cilium-gateway-proxmox-euclid.gateway.svc.cluster.local:443
originRequest:
originServerName: proxmox.euclid.stonegarden.dev
- hostname: haos.stonegarden.dev