From 1cb170fa8e09c9dde31a5fa9758c9d6c4bdb8b50 Mon Sep 17 00:00:00 2001 From: "andreas.dinauer" Date: Sun, 26 Oct 2025 18:04:38 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Add=20role=20to=20cluster?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/Chart.yaml | 2 +- chart/templates/database/database.yaml | 9 ++++++++- chart/values.yaml | 6 +++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index c826b9b..84cf515 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: kubooboo-chart -version: 0.0.3 \ No newline at end of file +version: 0.0.4 \ No newline at end of file diff --git a/chart/templates/database/database.yaml b/chart/templates/database/database.yaml index 7f5587f..345e388 100644 --- a/chart/templates/database/database.yaml +++ b/chart/templates/database/database.yaml @@ -6,4 +6,11 @@ spec: name: kubooboo owner: kubooboo cluster: - name: postgres \ No newline at end of file + name: postgres + managed: + roles: + - name: kubooboo + ensure: present + login: true + passwordSecret: + name: database.password.secretName \ No newline at end of file diff --git a/chart/values.yaml b/chart/values.yaml index f79e03e..005b892 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1,2 +1,6 @@ frontend: - replicas: 1 \ No newline at end of file + replicas: 1 + +database: + password: + secretName: database-auth \ No newline at end of file