diff --git a/chart/templates/database/cluster.yaml b/chart/templates/database/cluster.yaml index 08ff6fc..967540d 100644 --- a/chart/templates/database/cluster.yaml +++ b/chart/templates/database/cluster.yaml @@ -13,4 +13,11 @@ spec: cpu: "100m" limits: memory: "512Mi" - cpu: "500m" \ No newline at end of file + cpu: "500m" + managed: + roles: + - name: kubooboo + ensure: present + login: true + passwordSecret: + name: database.password.secretName \ No newline at end of file diff --git a/chart/templates/database/database.yaml b/chart/templates/database/database.yaml index 345e388..7f5587f 100644 --- a/chart/templates/database/database.yaml +++ b/chart/templates/database/database.yaml @@ -6,11 +6,4 @@ spec: name: kubooboo owner: kubooboo cluster: - name: postgres - managed: - roles: - - name: kubooboo - ensure: present - login: true - passwordSecret: - name: database.password.secretName \ No newline at end of file + name: postgres \ No newline at end of file