Files
willemjan f261cdde66 fix(external-proxmox): valid ingressroute with https backend + working endpoints
- ingress.yaml had invalid 'https:' rules key (dropped by apiserver -> OutOfSync);
  replaced by IngressRoute on websecure with scheme:https + ServersTransport
  (insecureSkipVerify) since Proxmox :8006 is https with self-signed cert
- EndpointSlice apply fails with kubectl 1.31 vs server 1.36 ('unknown field
  spec'), so keep v1 Endpoints (auto-mirrored to EndpointSlice); fixed spec
- shared namespace+middleware moved to services/external (app 'external')

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>
2026-11-14 21:08:52 +01:00

34 lines
975 B
YAML

# Service zonder selector: Kubernetes maakt zelf geen endpoints aan.
# Het Endpoints-object hieronder levert het externe adres (Proxmox, buiten het cluster).
# De endpoints-controller mirrored dit automatisch naar een EndpointSlice.
# (Een handmatige discovery.k8s.io/v1 EndpointSlice faalt op deze cluster met
# kubectl 1.31 tegen server 1.36: "unknown field spec" — daher v1 Endpoints.)
# Let op: ArgoCD trackt Endpoints/EndpointSlice niet — apply deze file handmatig
# als het endpoint ontbreekt:
# kubectl apply -f services/external-proxmox/service.yaml
apiVersion: v1
kind: Service
metadata:
name: proxmox-external
namespace: external
spec:
type: ClusterIP
ports:
- name: https
port: 8006
targetPort: 8006
protocol: TCP
---
apiVersion: v1
kind: Endpoints
metadata:
name: proxmox-external
namespace: external
subsets:
- addresses:
- ip: 192.168.2.64
ports:
- name: https
port: 8006
protocol: TCP