Skip to content

Commit d1cd9c1

Browse files
author
Max Roby
committed
fix default value for roles list
1 parent 6e31a61 commit d1cd9c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/cloudnative-pg-cluster/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Create postgres tenant clusters managed by the CNPG Operator
3838
| externalClusters | list | `[]` | |
3939
| imageName | string | `"ghcr.io/cloudnative-pg/postgresql:16.0"` | image to use for all tenant pods |
4040
| instances | int | `3` | number of postgres replicas minimum 1 required |
41-
| managed | object | `{"roles":null}` | See https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-RoleConfiguration for explanation of all options |
41+
| managed | object | `{"roles":[]}` | See https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-RoleConfiguration for explanation of all options |
4242
| monitoring.enablePodMonitor | bool | `false` | enable monitoring via Prometheus |
4343
| name | string | `"cnpg"` | |
4444
| postgresql.pg_hba | list | `["hostnossl all all 0.0.0.0/0 reject","hostssl all all 0.0.0.0/0 cert clientcert=verify-full"]` | records for the pg_hba.conf file. ref: https://www.postgresql.org/docs/current/auth-pg-hba-conf.html |

charts/cloudnative-pg-cluster/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bootstrap:
3939

4040
# -- See https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-RoleConfiguration for explanation of all options
4141
managed:
42-
roles:
42+
roles: []
4343
# - name: friend
4444
# ensure: present
4545
# comment: "friendly user"

0 commit comments

Comments
 (0)