aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLazyDBA247-Anyvision <yonin@anyvision.co>2020-11-08 02:07:16 +0200
committerLazyDBA247-Anyvision <yonin@anyvision.co>2020-11-08 02:07:16 +0200
commitde277418bfa8fe1118158da62679a56b5d99f709 (patch)
tree8e11ce518b997b7986a63230eb341cd35f5b6b61
parent5779265992c5fbb3bde998fdb30530e3a1c7e533 (diff)
downloadseaweedfs-de277418bfa8fe1118158da62679a56b5d99f709.tar.xz
seaweedfs-de277418bfa8fe1118158da62679a56b5d99f709.zip
remove extra curly brace
helm read/need only 2
-rw-r--r--k8s/seaweedfs/templates/filer-statefulset.yaml2
-rw-r--r--k8s/seaweedfs/templates/s3-deployment.yaml2
-rw-r--r--k8s/seaweedfs/templates/s3-service.yaml2
-rw-r--r--k8s/seaweedfs/templates/s3-servicemonitor.yaml2
-rw-r--r--k8s/seaweedfs/templates/volume-service.yaml2
-rw-r--r--k8s/seaweedfs/templates/volume-servicemonitor.yaml2
-rw-r--r--k8s/seaweedfs/templates/volume-statefulset.yaml2
7 files changed, 7 insertions, 7 deletions
diff --git a/k8s/seaweedfs/templates/filer-statefulset.yaml b/k8s/seaweedfs/templates/filer-statefulset.yaml
index 7fe5bb4e3..a4f38830f 100644
--- a/k8s/seaweedfs/templates/filer-statefulset.yaml
+++ b/k8s/seaweedfs/templates/filer-statefulset.yaml
@@ -101,7 +101,7 @@ spec:
-port={{ .Values.filer.port }} \
{{- if .Values.filer.metricsPort }}
-metricsPort {{ .Values.filer.metricsPort }} \
- {{- end }}}
+ {{- end }}
{{- if .Values.filer.redirectOnRead }}
-redirectOnRead \
{{- end }}
diff --git a/k8s/seaweedfs/templates/s3-deployment.yaml b/k8s/seaweedfs/templates/s3-deployment.yaml
index b6115be37..f7244ad76 100644
--- a/k8s/seaweedfs/templates/s3-deployment.yaml
+++ b/k8s/seaweedfs/templates/s3-deployment.yaml
@@ -73,7 +73,7 @@ spec:
-port={{ .Values.s3.port }} \
{{- if .Values.s3.metricsPort }}
-metricsPort {{ .Values.s3.metricsPort }} \
- {{- end }}}
+ {{- end }}
{{- if .Values.global.enableSecurity }}
-cert.file=/usr/local/share/ca-certificates/client/tls.crt \
-key.file=/usr/local/share/ca-certificates/client/tls.key \
diff --git a/k8s/seaweedfs/templates/s3-service.yaml b/k8s/seaweedfs/templates/s3-service.yaml
index b5db3bba1..361ff7c64 100644
--- a/k8s/seaweedfs/templates/s3-service.yaml
+++ b/k8s/seaweedfs/templates/s3-service.yaml
@@ -17,7 +17,7 @@ spec:
port: {{ .Values.filer.s3 }}
targetPort: {{ .Values.s3.metricsPort }}
protocol: TCP
-{{- end }}}
+{{- end }}
selector:
app: {{ template "seaweedfs.name" . }}
component: s3 \ No newline at end of file
diff --git a/k8s/seaweedfs/templates/s3-servicemonitor.yaml b/k8s/seaweedfs/templates/s3-servicemonitor.yaml
index 03b13ae8e..7f18f00f5 100644
--- a/k8s/seaweedfs/templates/s3-servicemonitor.yaml
+++ b/k8s/seaweedfs/templates/s3-servicemonitor.yaml
@@ -15,4 +15,4 @@ spec:
selector:
app: {{ template "seaweedfs.name" . }}
component: s3
-{{- end }}} \ No newline at end of file
+{{- end }} \ No newline at end of file
diff --git a/k8s/seaweedfs/templates/volume-service.yaml b/k8s/seaweedfs/templates/volume-service.yaml
index ea3bf75fa..a2b0b540e 100644
--- a/k8s/seaweedfs/templates/volume-service.yaml
+++ b/k8s/seaweedfs/templates/volume-service.yaml
@@ -22,7 +22,7 @@ spec:
port: {{ .Values.volume.metricsPort }}
targetPort: {{ .Values.volume.metricsPort }}
protocol: TCP
-{{- end }}}
+{{- end }}
selector:
app: {{ template "seaweedfs.name" . }}
component: volume \ No newline at end of file
diff --git a/k8s/seaweedfs/templates/volume-servicemonitor.yaml b/k8s/seaweedfs/templates/volume-servicemonitor.yaml
index 64b5cf425..1b286e9b6 100644
--- a/k8s/seaweedfs/templates/volume-servicemonitor.yaml
+++ b/k8s/seaweedfs/templates/volume-servicemonitor.yaml
@@ -15,4 +15,4 @@ spec:
selector:
app: {{ template "seaweedfs.name" . }}
component: volume
-{{- end }}} \ No newline at end of file
+{{- end }} \ No newline at end of file
diff --git a/k8s/seaweedfs/templates/volume-statefulset.yaml b/k8s/seaweedfs/templates/volume-statefulset.yaml
index 27fa7888e..6c519f374 100644
--- a/k8s/seaweedfs/templates/volume-statefulset.yaml
+++ b/k8s/seaweedfs/templates/volume-statefulset.yaml
@@ -78,7 +78,7 @@ spec:
-port={{ .Values.volume.port }} \
{{- if .Values.volume.metricsPort }}
-metricsPort {{ .Values.volume.metricsPort }} \
- {{- end }}}
+ {{- end }}
-dir={{ .Values.volume.dir }} \
-max={{ .Values.volume.maxVolumes }} \
{{- if .Values.volume.rack }}