mirror of
				https://github.com/optim-enterprises-bv/homelab.git
				synced 2025-10-31 18:07:50 +00:00 
			
		
		
		
	fix(proxmox): Using Proxmox Service directly
This commit is contained in:
		| @@ -5,4 +5,3 @@ resources: | |||||||
|   - ns.yaml |   - ns.yaml | ||||||
|   - svc.yaml |   - svc.yaml | ||||||
|   - endpoint-slice.yaml |   - endpoint-slice.yaml | ||||||
|   - tls-route.yaml |  | ||||||
| @@ -1,7 +1,7 @@ | |||||||
| apiVersion: v1 | apiVersion: v1 | ||||||
| kind: Service | kind: Service | ||||||
| metadata: | metadata: | ||||||
|   name: proxmox-euclid |   name: euclid | ||||||
|   namespace: proxmox |   namespace: proxmox | ||||||
| spec: | spec: | ||||||
|   ports: |   ports: | ||||||
|   | |||||||
| @@ -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 |  | ||||||
| @@ -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 |  | ||||||
| @@ -11,15 +11,6 @@ spec: | |||||||
|     annotations: |     annotations: | ||||||
|       io.cilium/lb-ipam-ips: 192.168.1.172 |       io.cilium/lb-ipam-ips: 192.168.1.172 | ||||||
|   listeners: |   listeners: | ||||||
|     - protocol: HTTPS |  | ||||||
|       port: 443 |  | ||||||
|       name: proxmox-tls-passthrough |  | ||||||
|       hostname: proxmox.euclid.stonegarden.dev |  | ||||||
|       tls: |  | ||||||
|         mode: Passthrough |  | ||||||
|       allowedRoutes: |  | ||||||
|         namespaces: |  | ||||||
|           from: All |  | ||||||
|     - protocol: HTTPS |     - protocol: HTTPS | ||||||
|       port: 443 |       port: 443 | ||||||
|       name: https-gateway |       name: https-gateway | ||||||
|   | |||||||
| @@ -8,4 +8,3 @@ resources: | |||||||
|   - cloudflare-api-token.yaml |   - cloudflare-api-token.yaml | ||||||
|   - cloudflare-issuer.yaml |   - cloudflare-issuer.yaml | ||||||
|   - gw-stonegarden.yaml |   - gw-stonegarden.yaml | ||||||
|   - gw-proxmox-euclid.yaml |  | ||||||
| @@ -12,7 +12,7 @@ ingress: | |||||||
|   - hostname: ssh.stonegarden.dev |   - hostname: ssh.stonegarden.dev | ||||||
|     service: ssh://192.168.1.50:22 |     service: ssh://192.168.1.50:22 | ||||||
|   - hostname: proxmox.euclid.stonegarden.dev |   - 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: |     originRequest: | ||||||
|       originServerName: proxmox.euclid.stonegarden.dev |       originServerName: proxmox.euclid.stonegarden.dev | ||||||
|   - hostname: haos.stonegarden.dev |   - hostname: haos.stonegarden.dev | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vegard Hagen
					Vegard Hagen