fix: add gatewayApi.enabled check to TraefikService template (#1679)

Signed-off-by: moechs <68768084+moechs@users.noreply.github.com>
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
moechs
2026-01-31 17:42:27 +08:00
committed by GitHub
parent a798b20308
commit 6fc35e442c
@@ -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: