mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 11:06:17 +00:00
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:
@@ -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 }}
|
||||
|
||||
@@ -370,6 +370,7 @@ gatewayApi:
|
||||
name: websecure
|
||||
port: 8443
|
||||
hostname: example.rustfs.com
|
||||
httpToHttpsRedirect: true
|
||||
existingGateway:
|
||||
name: ""
|
||||
namespace: ""
|
||||
|
||||
Reference in New Issue
Block a user