diff options
| author | Matt <washcycle@users.noreply.github.com> | 2023-02-17 23:00:50 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-17 21:00:50 -0800 |
| commit | 3f22a9db18f01771a79853e1228688450040d8f2 (patch) | |
| tree | c7ababa55b4c705c21ab04ac209e5e7b3fea193c | |
| parent | ca102a0b0b1d2491443638e4b0e3f6339ad2805e (diff) | |
| download | seaweedfs-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.yaml | 2 |
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 |
