comfyui-flux/ingress-fooocus.yaml

23 lines
614 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ${deployment:=gai}-fooocus
namespace: ${namespace:=gai}
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: fooocus-${hostname}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ${deployment:=gai}-fooocus
port:
name: http