From 6fc35e442c8b1685927e11b5d766f4a678ae23d1 Mon Sep 17 00:00:00 2001 From: moechs <68768084+moechs@users.noreply.github.com> Date: Sat, 31 Jan 2026 17:42:27 +0800 Subject: [PATCH] fix: add gatewayApi.enabled check to TraefikService template (#1679) Signed-off-by: moechs <68768084+moechs@users.noreply.github.com> Co-authored-by: houseme --- helm/rustfs/templates/gateway-api/traefik-service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/rustfs/templates/gateway-api/traefik-service.yaml b/helm/rustfs/templates/gateway-api/traefik-service.yaml index 2934c9ab1..9bd9c50b2 100644 --- a/helm/rustfs/templates/gateway-api/traefik-service.yaml +++ b/helm/rustfs/templates/gateway-api/traefik-service.yaml @@ -1,4 +1,4 @@ -{{- if eq .Values.gatewayApi.gatewayClass "traefik" }} +{{- if and .Values.gatewayApi.enabled (eq .Values.gatewayApi.gatewayClass "traefik") }} apiVersion: traefik.io/v1alpha1 kind: TraefikService metadata: