mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-24 13:16:28 +00:00
fix: change the condition for httproute (#2345)
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user