File tree Expand file tree Collapse file tree
addons/seaweedfs/3/chart/seaweedfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ spec:
136136 volumeClaimTemplates :
137137 - metadata :
138138 name : datadir
139+ {{- if .Values.filer.persistence.annotations }}
140+ annotations : {{- include "common.tplvalues.render" (dict "value" .Values.filer.persistence.annotations "context" $) | nindent 10 }}
141+ {{- end }}
139142 spec :
140143 accessModes : [ "ReadWriteOnce" ]
141144 {{- if .Values.filer.persistence.storageClass }}
Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ spec:
122122 volumeClaimTemplates :
123123 - metadata :
124124 name : datadir
125+ {{- if .Values.master.persistence.annotations }}
126+ annotations : {{- include "common.tplvalues.render" (dict "value" .Values.master.persistence.annotations "context" $) | nindent 10 }}
127+ {{- end }}
125128 spec :
126129 accessModes : [ "ReadWriteOnce" ]
127130 {{- if .Values.master.persistence.storageClass }}
Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ spec:
148148 {{- if .Values.volume.persistence.meta.enabled }}
149149 - metadata :
150150 name : datadir-meta
151+ {{- if .Values.volume.persistence.meta.annotations }}
152+ annotations : {{- include "common.tplvalues.render" (dict "value" .Values.volume.persistence.meta.annotations "context" $) | nindent 10 }}
153+ {{- end }}
151154 spec :
152155 accessModes : [ "ReadWriteOnce" ]
153156 {{- if .Values.volume.persistence.meta.storageClass }}
@@ -164,6 +167,9 @@ spec:
164167 {{- if .Values.volume.persistence.data.enabled }}
165168 - metadata :
166169 name : datadir-data
170+ {{- if .Values.volume.persistence.data.annotations }}
171+ annotations : {{- include "common.tplvalues.render" (dict "value" .Values.volume.persistence.data.annotations "context" $) | nindent 10 }}
172+ {{- end }}
167173 spec :
168174 accessModes : [ "ReadWriteOnce" ]
169175 {{- if .Values.volume.persistence.data.storageClass }}
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ master:
196196 enabled : false
197197 size : 5Gi
198198 storageClass : " "
199+ # # @param annotations Persistent Volume Claim annotations
200+ # #
201+ annotations : {}
199202 garbageThreshold : 0.3
200203 defaultReplication : " 001"
201204 # # persistentVolumeClaimRetentionPolicy
@@ -287,6 +290,9 @@ filer:
287290 enabled : false
288291 size : 5Gi
289292 storageClass : " "
293+ # # @param annotations Persistent Volume Claim annotations
294+ # #
295+ annotations : {}
290296 # # persistentVolumeClaimRetentionPolicy
291297 # # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
292298 # # @param persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
@@ -373,10 +379,16 @@ volume:
373379 enabled : false
374380 size : 5Gi
375381 storageClass : " "
382+ # # @param annotations Persistent Volume Claim annotations
383+ # #
384+ annotations : {}
376385 data :
377386 enabled : false
378387 size : 5Gi
379388 storageClass : " "
389+ # # @param annotations Persistent Volume Claim annotations
390+ # #
391+ annotations : {}
380392 compactionMBps : 50
381393 # # persistentVolumeClaimRetentionPolicy
382394 # # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
You can’t perform that action at this time.
0 commit comments