--- apiVersion: v1 kind: Endpoints metadata: name: proxmox namespace: infrastructure subsets: - addresses: - ip: 192.168.2.193 ports: - port: 8006 --- apiVersion: v1 kind: Service metadata: name: proxmox namespace: infrastructure spec: ports: - port: 8006 targetPort: 8006 --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: proxmox namespace: infrastructure annotations: cert-manager.io/cluster-issuer: letsencrypt-prod nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" nginx.ingress.kubernetes.io/proxy-ssl-verify: "off" nginx.ingress.kubernetes.io/auth-url: "https://auth.vandachevici.ro/outpost.goauthentik.io/auth/nginx" nginx.ingress.kubernetes.io/auth-signin: "https://auth.vandachevici.ro/outpost.goauthentik.io/start?rd=$scheme://$http_host$escaped_request_uri" nginx.ingress.kubernetes.io/auth-response-headers: >- Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" nginx.ingress.kubernetes.io/proxy-body-size: "0" # WebSocket support for noVNC console nginx.ingress.kubernetes.io/proxy-http-version: "1.1" spec: ingressClassName: nginx rules: - host: proxmox.vandachevici.ro http: paths: - path: / pathType: Prefix backend: service: name: proxmox port: number: 8006 tls: - hosts: - proxmox.vandachevici.ro secretName: proxmox-tls