fix reading the correct Values.yaml for s3 metricsPort

This commit is contained in:
LazyDBA247-Anyvision 2020-11-08 02:07:47 +02:00
parent de277418bf
commit e7e3d8df7c

View file

@ -14,7 +14,7 @@ spec:
protocol: TCP protocol: TCP
{{- if .Values.s3.metricsPort }} {{- if .Values.s3.metricsPort }}
- name: "swfs-s3-metrics" - name: "swfs-s3-metrics"
port: {{ .Values.filer.s3 }} port: {{ .Values.s3.metricsPort }}
targetPort: {{ .Values.s3.metricsPort }} targetPort: {{ .Values.s3.metricsPort }}
protocol: TCP protocol: TCP
{{- end }} {{- end }}