Skip to content

Commit 6e6c354

Browse files
committed
chore(addons): alter cloudbeaver plan to 10, prometheus add hotupdate param
1 parent a3e3868 commit 6e6c354

7 files changed

Lines changed: 16 additions & 1 deletion

File tree

File renamed without changes.

addons/cloudbeaver/23/plans/standard-5/create-instance-schema.json renamed to addons/cloudbeaver/23/plans/standard-10/create-instance-schema.json

File renamed without changes.
File renamed without changes.

addons/cloudbeaver/23/plans/standard-5/values.yaml renamed to addons/cloudbeaver/23/plans/standard-10/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

addons/postgresql-cluster/15/chart/postgresql-cluster/templates/statefulset.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

addons/postgresql-cluster/15/chart/postgresql-cluster/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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
280289
persistentVolume:
281290
enabled: true
282291
size: 10G

addons/prometheus/2/chart/prometheus/templates/server/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)