Skip to content
Open
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
1 change: 1 addition & 0 deletions charts/cloudnative-pg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ Kubernetes: `>=1.29.0-0`
| rbac.create | bool | `true` | Specifies whether ClusterRole and ClusterRoleBinding should be created. |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| revisionHistoryLimit | int | `10` | |
| service.ipFamilies | list | `[]` | Sets the families that should be supported and the order in which they should be applied to ClusterIP as well. Can be IPv4 and/or IPv6. |
| service.ipFamilyPolicy | string | `""` | Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) |
| service.name | string | `"cnpg-webhook-service"` | The name of the Webhook Service. |
Expand Down
1 change: 1 addition & 0 deletions charts/cloudnative-pg/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "cloudnative-pg.selectorLabels" . | nindent 6 }}
Expand Down
6 changes: 5 additions & 1 deletion charts/cloudnative-pg/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@
"default": 1,
"type": "integer"
},
"revisionHistoryLimit": {
"default": 10,
"type": "integer"
},
"resources": {
"required": [],
"type": "object"
Expand Down Expand Up @@ -467,4 +471,4 @@
},
"required": [],
"type": "object"
}
}
3 changes: 2 additions & 1 deletion charts/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

replicaCount: 1

revisionHistoryLimit: 10

image:
repository: ghcr.io/cloudnative-pg/cloudnative-pg
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -180,7 +182,6 @@ tolerations: []
affinity: {}

monitoring:

# -- Specifies whether the monitoring should be enabled. Requires Prometheus Operator CRDs.
podMonitorEnabled: false
# -- Metrics relabel configurations to apply to samples before ingestion.
Expand Down