From e84745bb4eb57370b3a36860914ae94b41715614 Mon Sep 17 00:00:00 2001 From: Fabio Keller Date: Thu, 23 Oct 2025 17:20:46 +0200 Subject: [PATCH] ix(cluster): schema validation for recovery.pgBaseBackup.secret Signed-off-by: Fabio Keller --- charts/cluster/values.schema.json | 7 ++++++- charts/cluster/values.yaml | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charts/cluster/values.schema.json b/charts/cluster/values.schema.json index 8890226868..833a3ca0c1 100644 --- a/charts/cluster/values.schema.json +++ b/charts/cluster/values.schema.json @@ -561,7 +561,12 @@ "type": "string" }, "secret": { - "type": "string" + "type": "object", + "properties": { + "name": { + "type": "string" + } + } }, "source": { "type": "object", diff --git a/charts/cluster/values.yaml b/charts/cluster/values.yaml index 3d5f11dc1a..1e3a365912 100644 --- a/charts/cluster/values.yaml +++ b/charts/cluster/values.yaml @@ -103,8 +103,10 @@ recovery: pgBaseBackup: # -- Name of the database used by the application. Default: `app`. database: app - # -- 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 - secret: "" + # -- The secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch + secret: + # -- Name of the secret used for the owner of the user database. + name: "" # -- Name of the owner of the database in the instance to be used by applications. Defaults to the value of the `database` key. owner: "" source: