Reserve apps-pg role and database for coulomb-social
Managed role coulomb_social with passwordSecret coulomb-social-app-credentials; Database CR coulomb_social_db. Activates when apps-pg cluster is deployed.
This commit is contained in:
parent
79387f1350
commit
7e70b8d6a1
2 changed files with 23 additions and 0 deletions
|
|
@ -45,6 +45,12 @@ spec:
|
|||
login: true
|
||||
passwordSecret:
|
||||
name: vergabe-app-credentials
|
||||
- name: coulomb_social # CSOC-WP-0002 (coulomb-social)
|
||||
|
||||
ensure: present
|
||||
login: true
|
||||
passwordSecret:
|
||||
name: coulomb-social-app-credentials
|
||||
# HA replica + connection pooler are deferred (RAILIANCE-WP-0003 Notes):
|
||||
# services:
|
||||
# additional:
|
||||
|
|
|
|||
|
|
@ -19,3 +19,20 @@ spec:
|
|||
name: vergabe_db
|
||||
owner: vergabe
|
||||
ensure: present
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Database
|
||||
metadata:
|
||||
name: coulomb-social-db # CSOC-WP-0002
|
||||
namespace: databases
|
||||
labels:
|
||||
app.kubernetes.io/name: apps-pg
|
||||
app.kubernetes.io/component: database-instance
|
||||
railiance.io/layer: s3-platform
|
||||
railiance.io/consumer: coulomb-social
|
||||
spec:
|
||||
cluster:
|
||||
name: apps-pg
|
||||
name: coulomb_social_db
|
||||
owner: coulomb_social
|
||||
ensure: present
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue