Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ refer to the [CloudNativePG Documentation](https://cloudnative-pg.io/documentat
| cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). |
| cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) |
| cluster.priorityClassName | string | `""` | |
| cluster.resources | string | `nil` | Resources requirements of every generated Pod. Please refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more information. We strongly advise you use the same setting for limits and requests so that your cluster pods are given a Guaranteed QoS. See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ |
| cluster.resources | object | `{}` | Resources requirements of every generated Pod. Please refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more information. We strongly advise you use the same setting for limits and requests so that your cluster pods are given a Guaranteed QoS. See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/ |
| cluster.storage.size | string | `"8Gi"` | |
| cluster.storage.storageClass | string | `""` | |
| cluster.superuserSecret | string | `""` | |
Expand Down
10 changes: 5 additions & 5 deletions charts/cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@
}
}
},
"postgresql": {
"type": "object"
"postgresGID": {
"type": "integer"
},
"postgresUID": {
"type": "integer"
},
"postgresGID": {
"type": "integer"
"postgresql": {
"type": "object"
Comment on lines +176 to +183
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were modified manually and the generator just reorders them.

},
"primaryUpdateMethod": {
"type": "string"
Expand All @@ -192,7 +192,7 @@
"type": "string"
},
"resources": {
"type": "null"
"type": "object"
},
"storage": {
"type": "object",
Expand Down
4 changes: 2 additions & 2 deletions charts/cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ cluster:

# -- The UID of the postgres user inside the image, defaults to 26
postgresUID: 26

# -- The GID of the postgres user inside the image, defaults to 26
postgresGID: 26

# -- Resources requirements of every generated Pod.
# Please refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ for more information.
# We strongly advise you use the same setting for limits and requests so that your cluster pods are given a Guaranteed QoS.
# See: https://kubernetes.io/docs/concepts/workloads/pods/pod-qos/
resources:
resources: {}
# limits:
# cpu: 2000m
# memory: 8Gi
Expand Down