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