File tree Expand file tree Collapse file tree
cloudbeaver/23/plans/standard-10
postgresql-cluster/15/chart/postgresql-cluster
prometheus/2/chart/prometheus/templates/server Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ persistence:
5151 - ReadWriteOnce
5252 # # @param primary.persistence.size MySQL primary persistent volume size
5353 # #
54- size : 5Gi
54+ size : 10Gi
5555 # # @param primary.persistence.selector Selector to match an existing Persistent Volume
5656 # # selector:
5757 # # matchLabels:
Original file line number Diff line number Diff line change @@ -229,6 +229,11 @@ spec:
229229 - name : storage-volume
230230 emptyDir : {}
231231 {{- end }}
232+ {{- if .Values.persistentVolumeClaimRetentionPolicy.enabled }}
233+ persistentVolumeClaimRetentionPolicy :
234+ whenDeleted : {{ .Values.persistentVolumeClaimRetentionPolicy.whenDeleted }}
235+ whenScaled : {{ .Values.persistentVolumeClaimRetentionPolicy.whenScaled }}
236+ {{- end }}
232237 {{- if .Values.persistentVolume.enabled }}
233238 volumeClaimTemplates :
234239 - metadata :
Original file line number Diff line number Diff line change @@ -277,6 +277,15 @@ backup:
277277 awsS3ForcePathStyle : " true"
278278 awsRegion : dx-1
279279
280+ # # persistentVolumeClaimRetentionPolicy
281+ # # ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#persistentvolumeclaim-retention
282+ # # @param persistentVolumeClaimRetentionPolicy.enabled Controls if and how PVCs are deleted during the lifecycle of a StatefulSet
283+ # # @param persistentVolumeClaimRetentionPolicy.whenScaled Volume retention behavior when the replica count of the StatefulSet is reduced
284+ # # @param persistentVolumeClaimRetentionPolicy.whenDeleted Volume retention behavior that applies when the StatefulSet is deleted
285+ persistentVolumeClaimRetentionPolicy :
286+ enabled : true
287+ whenScaled : Delete
288+ whenDeleted : Delete
280289persistentVolume :
281290 enabled : true
282291 size : 10G
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ spec:
122122 - " --web.console.libraries=/opt/drycc/prometheus/conf/console_libraries"
123123 - " --web.console.templates=/opt/drycc/prometheus/conf/consoles"
124124 - " --web.config.file=/opt/drycc/prometheus/conf/web-config.yaml"
125+ - " --web.enable-lifecycle"
125126 {{- if .Values.server.enableAdminAPI}}
126127 - " --web.enable-admin-api"
127128 {{- end }}
You can’t perform that action at this time.
0 commit comments