From 4c02ad40254bc463b9ac8ee53bdf61c773a3b6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=93=E3=81=93=E3=82=8D=E3=81=AE=E5=9C=A8=E3=82=8A?= =?UTF-8?q?=E5=87=A6?= <1184084185@qq.com> Date: Thu, 17 Sep 2026 18:30:29 +0800 Subject: [PATCH] feat(helm): add ingress support for both console and endpoint (#7972) --- helm/rustfs/templates/ingress.yaml | 2 +- helm/rustfs/values.yaml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/helm/rustfs/templates/ingress.yaml b/helm/rustfs/templates/ingress.yaml index aa5770abf..aaf2878a9 100644 --- a/helm/rustfs/templates/ingress.yaml +++ b/helm/rustfs/templates/ingress.yaml @@ -43,7 +43,7 @@ spec: service: name: {{ include "rustfs.fullname" $ }}-svc port: - name: console + name: {{ .servicePort }} {{- end }} {{- end }} {{- end }} diff --git a/helm/rustfs/values.yaml b/helm/rustfs/values.yaml index 365a1a57c..91a9e410b 100644 --- a/helm/rustfs/values.yaml +++ b/helm/rustfs/values.yaml @@ -335,10 +335,16 @@ ingress: customAnnotations: # Deprecated: use ingress.annotations instead {} hosts: - - host: example.rustfs.com + - host: console.rustfs.com paths: - path: / pathType: Prefix + servicePort: console + - host: endpoint.rustfs.com + paths: + - path: / + pathType: Prefix + servicePort: endpoint tls: enabled: false # Enable tls and access rustfs via https.