diff --git a/apps/utility/proxmox/kustomization.yaml b/apps/utility/proxmox/kustomization.yaml index a1e4326..2ab0b87 100644 --- a/apps/utility/proxmox/kustomization.yaml +++ b/apps/utility/proxmox/kustomization.yaml @@ -4,5 +4,4 @@ kind: Kustomization resources: - ns.yaml - svc.yaml - - endpoint-slice.yaml - - tls-route.yaml \ No newline at end of file + - endpoint-slice.yaml \ No newline at end of file diff --git a/apps/utility/proxmox/svc.yaml b/apps/utility/proxmox/svc.yaml index 9a09555..7b60734 100644 --- a/apps/utility/proxmox/svc.yaml +++ b/apps/utility/proxmox/svc.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Service metadata: - name: proxmox-euclid + name: euclid namespace: proxmox spec: ports: diff --git a/apps/utility/proxmox/tls-route.yaml b/apps/utility/proxmox/tls-route.yaml deleted file mode 100644 index 7743981..0000000 --- a/apps/utility/proxmox/tls-route.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: gateway.networking.k8s.io/v1alpha2 -kind: TLSRoute -metadata: - name: proxmox-euclid - namespace: proxmox -spec: - parentRefs: - - name: proxmox-euclid - namespace: gateway - hostnames: - - "proxmox.euclid.stonegarden.dev" - rules: - - backendRefs: - - name: proxmox-euclid - port: 443 \ No newline at end of file diff --git a/infra/gateway/gw-proxmox-euclid.yaml b/infra/gateway/gw-proxmox-euclid.yaml deleted file mode 100644 index c73afc8..0000000 --- a/infra/gateway/gw-proxmox-euclid.yaml +++ /dev/null @@ -1,22 +0,0 @@ -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 \ No newline at end of file diff --git a/infra/gateway/gw-stonegarden.yaml b/infra/gateway/gw-stonegarden.yaml index a27e29f..1c9c9ce 100644 --- a/infra/gateway/gw-stonegarden.yaml +++ b/infra/gateway/gw-stonegarden.yaml @@ -11,15 +11,6 @@ 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 diff --git a/infra/gateway/kustomization.yaml b/infra/gateway/kustomization.yaml index acaf526..d2c054a 100644 --- a/infra/gateway/kustomization.yaml +++ b/infra/gateway/kustomization.yaml @@ -7,5 +7,4 @@ resources: - ns.yaml - cloudflare-api-token.yaml - cloudflare-issuer.yaml - - gw-stonegarden.yaml - - gw-proxmox-euclid.yaml \ No newline at end of file + - gw-stonegarden.yaml \ No newline at end of file diff --git a/infra/net-aux/config/cloudflared/config.yaml b/infra/net-aux/config/cloudflared/config.yaml index 64c5e7e..d46deea 100644 --- a/infra/net-aux/config/cloudflared/config.yaml +++ b/infra/net-aux/config/cloudflared/config.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-proxmox-euclid.gateway.svc.cluster.local:443 + service: https://euclid.proxmox.svc.cluster.local:443 originRequest: originServerName: proxmox.euclid.stonegarden.dev - hostname: haos.stonegarden.dev