aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt <washcycle@users.noreply.github.com>2023-02-17 23:00:50 -0600
committerGitHub <noreply@github.com>2023-02-17 21:00:50 -0800
commit3f22a9db18f01771a79853e1228688450040d8f2 (patch)
treec7ababa55b4c705c21ab04ac209e5e7b3fea193c
parentca102a0b0b1d2491443638e4b0e3f6339ad2805e (diff)
downloadseaweedfs-3f22a9db18f01771a79853e1228688450040d8f2.tar.xz
seaweedfs-3f22a9db18f01771a79853e1228688450040d8f2.zip
fix missing dereference (#4217)
fix missing dereference fixes dereference in master statefulset missed one, sorry @chrislusf I'm working on a helm chart publish action for you that will catch these with helm lint and publish the chart to github pages.
-rw-r--r--k8s/helm_charts2/templates/master-statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/k8s/helm_charts2/templates/master-statefulset.yaml b/k8s/helm_charts2/templates/master-statefulset.yaml
index 91a4eba67..038526211 100644
--- a/k8s/helm_charts2/templates/master-statefulset.yaml
+++ b/k8s/helm_charts2/templates/master-statefulset.yaml
@@ -134,7 +134,7 @@ spec:
-garbageThreshold={{ .Values.master.garbageThreshold }} \
{{- end }}
-ip=${POD_NAME}.${SEAWEEDFS_FULLNAME}-master.{{ .Release.Namespace }} \
- -peers={{ range $index := until (.Values.master.replicas | int) }}${SEAWEEDFS_FULLNAME}-master-{{ $index }}.${SEAWEEDFS_FULLNAME}-master.{{ .Release.Namespace }}:{{ $.Values.master.port }}{{ if lt $index (sub ($.Values.master.replicas | int) 1) }},{{ end }}{{ end }}
+ -peers={{ range $index := until (.Values.master.replicas | int) }}${SEAWEEDFS_FULLNAME}-master-{{ $index }}.${SEAWEEDFS_FULLNAME}-master.{{ $.Release.Namespace }}:{{ $.Values.master.port }}{{ if lt $index (sub ($.Values.master.replicas | int) 1) }},{{ end }}{{ end }}
volumeMounts:
- name : data-{{ .Release.Namespace }}
mountPath: /data