Skip to content

Commit 122d12b

Browse files
Fabio Keller0xfabio
authored andcommitted
fix(cluster): schema validation for recovery.pgBaseBackup.secret
1 parent cb3d056 commit 122d12b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

charts/cluster/values.schema.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,12 @@
561561
"type": "string"
562562
},
563563
"secret": {
564-
"type": "string"
564+
"type": "object",
565+
"properties": {
566+
"name": {
567+
"type": "string"
568+
}
569+
}
565570
},
566571
"source": {
567572
"type": "object",

charts/cluster/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,10 @@ recovery:
103103
pgBaseBackup:
104104
# -- Name of the database used by the application. Default: `app`.
105105
database: app
106-
# -- Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
107-
secret: ""
106+
# -- The secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
107+
secret:
108+
# -- Name of the secret used for the owner of the user database.
109+
name: ""
108110
# -- Name of the owner of the database in the instance to be used by applications. Defaults to the value of the `database` key.
109111
owner: ""
110112
source:

0 commit comments

Comments
 (0)