Browse Source
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.
pull/4220/head
Matt
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
k8s/helm_charts2/templates/master-statefulset.yaml
@ -134,7 +134,7 @@ spec:
-garbageThreshold={{ .Values.master.garbageThreshold }} \
-garbageThreshold={{ .Values.master.garbageThreshold }} \
{{- end }}
{{- end }}
-ip=${POD_NAME}.${SEAWEEDFS_FULLNAME}-master.{{ .Release.Namespace }} \
-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:
volumeMounts:
- name : data-{{ .Release.Namespace }}
- name : data-{{ .Release.Namespace }}
mountPath : /data
mountPath : /data