fix(gateway): api flag https redirect (#5960)

* fix: add helm toggle to disable the http to https redirect

* docs: add documentation about new parameter
This commit is contained in:
sass1997
2026-08-11 15:30:38 +02:00
committed by GitHub
parent 6cce3d60bb
commit a206a0779e
3 changed files with 4 additions and 1 deletions
@@ -37,7 +37,7 @@ spec:
- name: {{ include "rustfs.fullname" $ }}-svc
port: {{ .Values.service.console.port }}
{{- end }}
{{- if .Values.gatewayApi.httpToHttpsRedirect }}
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
@@ -62,4 +62,5 @@ spec:
requestRedirect:
scheme: https
statusCode: 301
{{- end }}
{{- end }}
+1
View File
@@ -370,6 +370,7 @@ gatewayApi:
name: websecure
port: 8443
hostname: example.rustfs.com
httpToHttpsRedirect: true
existingGateway:
name: ""
namespace: ""