23 lines
595 B
YAML
23 lines
595 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ${deployment:=comfyui}
|
|
namespace: ${namespace:=comfyui}
|
|
annotations:
|
|
haproxy-ingress.github.io/rewrite: /
|
|
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: ${hostname}
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: ${deployment:=comfyui}
|
|
port:
|
|
name: http
|