mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
fix(gateway): Creating a TLS Passthrough listener
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: proxmox
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: euclid
|
||||
- name: stonegarden
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- "proxmox.euclid.stonegarden.dev"
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -7,5 +7,4 @@ resources:
|
||||
- ns.yaml
|
||||
- cloudflare-api-token.yaml
|
||||
- cloudflare-issuer.yaml
|
||||
- gw-stonegarden.yaml
|
||||
- gw-euclid.yaml
|
||||
- gw-stonegarden.yaml
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user