Expose Harbor via Traefik Ingress.

Switch expose.ingress.className to traefik and drop nginx-specific annotations.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 23:41:41 +08:00
co-authored by Cursor
parent 6de12b0a67
commit 564cdf251b
+3 -7
View File
@@ -38,14 +38,10 @@ expose:
controller: default controller: default
## Allow .Capabilities.KubeVersion.Version to be overridden while creating ingress ## Allow .Capabilities.KubeVersion.Version to be overridden while creating ingress
kubeVersionOverride: "" kubeVersionOverride: ""
className: "nginx" className: "traefik"
annotations: annotations:
# note different ingress controllers may require a different ssl-redirect annotation # Traefik has no nginx-style body-size limit; keep ssl-redirect semantics via entrypoint redirect if needed.
# for Envoy, use ingress.kubernetes.io/force-ssl-redirect: "true" and remove the nginx lines below traefik.ingress.kubernetes.io/router.entrypoints: websecure
ingress.kubernetes.io/ssl-redirect: "true"
ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
harbor: harbor:
# harbor ingress-specific annotations # harbor ingress-specific annotations
annotations: {} annotations: {}