From c7e01b139d10e9df2345d9c617869275fafd1baa Mon Sep 17 00:00:00 2001 From: dorman <37854724+dormanze@users.noreply.github.com> Date: Tue, 5 Jul 2022 22:38:04 +0800 Subject: [PATCH] helm: service port set to minioAPIPort in helm (#15223) --- helm/minio/templates/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/minio/templates/service.yaml b/helm/minio/templates/service.yaml index 64aa990bd..3daed4163 100644 --- a/helm/minio/templates/service.yaml +++ b/helm/minio/templates/service.yaml @@ -36,7 +36,7 @@ spec: {{- if (and (eq .Values.service.type "NodePort") ( .Values.service.nodePort)) }} nodePort: {{ .Values.service.nodePort }} {{- else }} - targetPort: 9000 + targetPort: {{ .Values.service.port }} {{- end}} {{- if .Values.service.externalIPs }} externalIPs: