comfyui-flux/ingress-fooocus.yaml

23 lines
614 B
YAML
Raw Permalink Normal View History

2024-10-11 04:11:10 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
2024-10-11 21:21:40 +00:00
name: ${deployment:=gai}-fooocus
namespace: ${namespace:=gai}
2024-10-11 04:11:10 +00:00
annotations:
2024-10-11 21:21:40 +00:00
haproxy-ingress.github.io/rewrite-target: /
2024-10-11 04:11:10 +00:00
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:
2024-10-11 21:21:40 +00:00
- host: fooocus-${hostname}
2024-10-11 04:11:10 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
2024-10-11 21:21:40 +00:00
name: ${deployment:=gai}-fooocus
2024-10-11 04:11:10 +00:00
port:
name: http