fix: change the condition for httproute (#2345)

Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
majinghe
2026-03-30 22:03:01 +08:00
committed by GitHub
parent 0b0c10b323
commit 172086ff42
2 changed files with 3 additions and 3 deletions
@@ -33,7 +33,7 @@ spec:
port: {{ .Values.service.console.port }} port: {{ .Values.service.console.port }}
kind: TraefikService kind: TraefikService
group: traefik.io group: traefik.io
{{- else if eq .Values.gatewayApi.gatewayClass "contour" }} {{- else }}
- name: {{ include "rustfs.fullname" $ }}-svc - name: {{ include "rustfs.fullname" $ }}-svc
port: {{ .Values.service.console.port }} port: {{ .Values.service.console.port }}
{{- end }} {{- end }}
+2 -2
View File
@@ -189,8 +189,8 @@ ingress:
gatewayApi: gatewayApi:
enabled: false enabled: false
gatewayClass: traefik gatewayClass: traefik # Only support for traefik and contour gatewayClass at the moment.
listeners: # Specify which listeners to create on the Gateway. Only support for traefik gatewayClass at the moment. listeners: # Specify which listeners to create on the Gateway.
http: http:
name: web name: web
port: 8000 port: 8000