apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ${deployment:=comfyui} namespace: ${namespace:=comfyui} annotations: haproxy-ingress.github.io/rewrite-target: / haproxy-ingress.github.io/auth-url: ${oauth2_proxy_base}/auth haproxy-ingress.github.io/auth-signin: ${oauth2_proxy_base}/start?rd=https://%[hdr(host)]%[path] spec: ingressClassName: haproxy rules: - host: comfy-${hostname} http: paths: - path: / pathType: Prefix backend: service: name: ${deployment:=comfyui} port: name: http