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/plugin-barman-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Kubernetes: `>=1.29.0-0`
| podLabels | object | `{}` | Labels to be added to the pod. |
| podSecurityContext | object | `{"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}}` | Security Context for the whole pod. |
| priorityClassName | string | `""` | Priority indicates the importance of a Pod relative to other Pods. |
| rbac.cnpgGroup | string | `"postgresql.cnpg.io"` | The API group of the Cluster CRD the plugin is granted access to (get/list/watch on backups, update on clusters/finalizers). Override this if you run a CloudNativePG-based operator whose Cluster CRD lives under a different API group. |
| rbac.create | bool | `true` | Specifies whether Role and RoleBinding should be created. |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
Expand Down
4 changes: 2 additions & 2 deletions charts/plugin-barman-cloud/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ rules:
- patch
- update
- apiGroups:
- postgresql.cnpg.io
- {{ .Values.rbac.cnpgGroup }}
resources:
- backups
verbs:
- get
- list
- watch
- apiGroups:
- postgresql.cnpg.io
- {{ .Values.rbac.cnpgGroup }}
resources:
- clusters/finalizers
verbs:
Expand Down
5 changes: 5 additions & 0 deletions charts/plugin-barman-cloud/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@
},
"rbac": {
"properties": {
"cnpgGroup": {
"default": "postgresql.cnpg.io",
"description": "The API group of the Cluster CRD the plugin is granted access to\n(get/list/watch on backups, update on clusters/finalizers). Override\nthis if you run a CloudNativePG-based operator whose Cluster CRD lives\nunder a different API group.",
"type": "string"
},
"create": {
"default": true,
"description": "Specifies whether Role and RoleBinding should be created.",
Expand Down
5 changes: 5 additions & 0 deletions charts/plugin-barman-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ serviceAccount:
rbac:
# -- Specifies whether Role and RoleBinding should be created.
create: true
# -- The API group of the Cluster CRD the plugin is granted access to
# (get/list/watch on backups, update on clusters/finalizers). Override
# this if you run a CloudNativePG-based operator whose Cluster CRD lives
# under a different API group.
cnpgGroup: postgresql.cnpg.io

# @schema
# additionalProperties: true
Expand Down
Loading