mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
fix(gateway): remove separate tls-passthrough gateway
It appears to work without a separate Gateway now. Should investigate if https://github.com/cilium/cilium/issues/32371 can be closed Signed-off-by: Vegard Hagen <[email protected]>
This commit is contained in:
+4
-8
@@ -1,15 +1,11 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1alpha2
|
||||
kind: TLSRoute
|
||||
metadata:
|
||||
name: proxmox-tls
|
||||
name: proxmox
|
||||
namespace: proxmox
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: tls-passthrough
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- "proxmox.stonegarden.dev"
|
||||
- { name: internal, namespace: gateway }
|
||||
hostnames: [ proxmox.stonegarden.dev ]
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: proxmox
|
||||
port: 443
|
||||
- backendRefs: [ { name: proxmox, port: 443 } ]
|
||||
|
||||
+3
-7
@@ -5,11 +5,7 @@ metadata:
|
||||
namespace: truenas
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: tls-passthrough
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- "truenas.stonegarden.dev"
|
||||
- { name: internal, namespace: gateway }
|
||||
hostnames: [ truenas.stonegarden.dev ]
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: truenas
|
||||
port: 443
|
||||
- backendRefs: [ { name: truenas, port: 443 } ]
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: internal
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- "argocd.stonegarden.dev"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: argocd-server
|
||||
port: 80
|
||||
# - matches:
|
||||
# - headers:
|
||||
# - name: Content-Type
|
||||
# value: application/grpc
|
||||
# backendRefs:
|
||||
# - name: argocd-server
|
||||
# port: 80
|
||||
@@ -5,11 +5,7 @@ metadata:
|
||||
namespace: argocd
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: internal
|
||||
namespace: gateway
|
||||
hostnames:
|
||||
- "argocd.stonegarden.dev"
|
||||
- { name: internal, namespace: gateway }
|
||||
hostnames: [ argocd.stonegarden.dev ]
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: argocd-server
|
||||
port: 443
|
||||
- backendRefs: [ { name: argocd-server, port: 443 } ]
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: tls-passthrough
|
||||
namespace: gateway
|
||||
spec:
|
||||
gatewayClassName: cilium
|
||||
infrastructure:
|
||||
annotations:
|
||||
io.cilium/lb-ipam-ips: 192.168.1.221
|
||||
listeners:
|
||||
- protocol: TLS
|
||||
port: 443
|
||||
name: proxmox
|
||||
hostname: "proxmox.stonegarden.dev"
|
||||
tls:
|
||||
mode: Passthrough
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
- protocol: TLS
|
||||
port: 443
|
||||
name: truenas
|
||||
hostname: "truenas.stonegarden.dev"
|
||||
tls:
|
||||
mode: Passthrough
|
||||
allowedRoutes:
|
||||
namespaces:
|
||||
from: All
|
||||
@@ -7,4 +7,3 @@ resources:
|
||||
- ns.yaml
|
||||
- gw-external.yaml
|
||||
- gw-internal.yaml
|
||||
- gw-tls-passthrough.yaml
|
||||
|
||||
Reference in New Issue
Block a user