From 172086ff42d5e3152d4f528f2b6cf6db8bb33301 Mon Sep 17 00:00:00 2001 From: majinghe <42570491+majinghe@users.noreply.github.com> Date: Mon, 30 Mar 2026 22:03:01 +0800 Subject: [PATCH] fix: change the condition for httproute (#2345) Co-authored-by: houseme --- helm/rustfs/templates/gateway-api/httproute.yml | 2 +- helm/rustfs/values.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/rustfs/templates/gateway-api/httproute.yml b/helm/rustfs/templates/gateway-api/httproute.yml index 78a1430d0..36864ea87 100644 --- a/helm/rustfs/templates/gateway-api/httproute.yml +++ b/helm/rustfs/templates/gateway-api/httproute.yml @@ -33,7 +33,7 @@ spec: port: {{ .Values.service.console.port }} kind: TraefikService group: traefik.io - {{- else if eq .Values.gatewayApi.gatewayClass "contour" }} + {{- else }} - name: {{ include "rustfs.fullname" $ }}-svc port: {{ .Values.service.console.port }} {{- end }} diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index 25f925133..aa356d10e 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -189,8 +189,8 @@ ingress: gatewayApi: enabled: false - gatewayClass: traefik - listeners: # Specify which listeners to create on the Gateway. Only support for traefik gatewayClass at the moment. + gatewayClass: traefik # Only support for traefik and contour gatewayClass at the moment. + listeners: # Specify which listeners to create on the Gateway. http: name: web port: 8000