From e7e3d8df7c1d9c9d356339aacfa50afba8884372 Mon Sep 17 00:00:00 2001 From: LazyDBA247-Anyvision Date: Sun, 8 Nov 2020 02:07:47 +0200 Subject: [PATCH] fix reading the correct Values.yaml for s3 metricsPort --- k8s/seaweedfs/templates/s3-service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/seaweedfs/templates/s3-service.yaml b/k8s/seaweedfs/templates/s3-service.yaml index 361ff7c64..4a68c7976 100644 --- a/k8s/seaweedfs/templates/s3-service.yaml +++ b/k8s/seaweedfs/templates/s3-service.yaml @@ -14,7 +14,7 @@ spec: protocol: TCP {{- if .Values.s3.metricsPort }} - name: "swfs-s3-metrics" - port: {{ .Values.filer.s3 }} + port: {{ .Values.s3.metricsPort }} targetPort: {{ .Values.s3.metricsPort }} protocol: TCP {{- end }}