From fb0a09738311b08839a5af808690341754becc98 Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Sat, 10 May 2025 12:38:21 +0200 Subject: [PATCH] Add managed roles for Postgres users in CloudNativePG configuration --- applications/templates/cloudnativepg.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/applications/templates/cloudnativepg.yaml b/applications/templates/cloudnativepg.yaml index 4c592e8..80cf773 100644 --- a/applications/templates/cloudnativepg.yaml +++ b/applications/templates/cloudnativepg.yaml @@ -84,6 +84,18 @@ spec: wal: compression: bzip2 retentionPolicy: "60d" + managed: + roles: + - name: marco + login: true + superuser: true + passwordSecret: + name: postgres-marco + - name: authentik + login: true + createdb: true + passwordSecret: + name: postgres-authentik --- apiVersion: objectbucket.io/v1alpha1 kind: ObjectBucketClaim