File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
charts/cloudnative-pg-cluster Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Create postgres tenant clusters managed by the CNPG Operator
4343| resources | object | ` {} ` | |
4444| scheduledBackup | object | ` {} ` | schduled backups section, please see values.yaml for example |
4545| storage.size | string | ` "1Gi" ` | how much storage to allocate to the postgresql cluster |
46+ | storage.storageClass | string | ` "default" ` | set the storage class of the PVC. |
4647| superuserSecret | string | ` "" ` | name of existing secret to use as superuser redentials will be randomly generated if not specified. |
4748| testApp.enabled | bool | ` false ` | |
4849| type | string | ` "postgresql" ` | Type of the CNPG database. Available types: * ` postgresql ` * ` postgis ` * ` timescaledb ` |
Original file line number Diff line number Diff line change 4141 {{- end }}
4242 storage :
4343 size : {{ .Values.storage.size }}
44+ {{- if ne .Values.storage.storageClass "default" }}
45+ storageClass : {{ .Values.storage.storageClass }}
46+ {{- end }}
4447 {{- with .Values.bootstrap }}
4548 bootstrap :
4649 {{- toYaml . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -168,6 +168,8 @@ postgresql:
168168storage :
169169 # -- how much storage to allocate to the postgresql cluster
170170 size : 1Gi
171+ # -- set the storage class of the PVC.
172+ storageClass : default
171173
172174# from https://cloudnative-pg.io/documentation/1.22/resource_management/
173175resources : {}
You can’t perform that action at this time.
0 commit comments