chore(backstage): Added database and secrets for backstage
This commit is contained in:
@@ -2,22 +2,21 @@ apiVersion: postgresql.cnpg.io/v1
|
|||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: backstage-postgres
|
name: backstage-postgres
|
||||||
namespace: backstage
|
|
||||||
spec:
|
spec:
|
||||||
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:16.5-v0.3.0@sha256:be3f025d79aa1b747817f478e07e71be43236e14d00d8a9eb3914146245035ba
|
|
||||||
instances: 1
|
instances: 1
|
||||||
managed:
|
imageName: ghcr.io/cloudnative-pg/postgresql:16
|
||||||
roles:
|
enableSuperuser: true
|
||||||
- name: backstage
|
|
||||||
superuser: true
|
storage:
|
||||||
login: true
|
size: 2Gi
|
||||||
|
storageClass: local-path
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
initdb:
|
initdb:
|
||||||
database: backstage
|
database: backstage
|
||||||
owner: backstage
|
owner: backstage
|
||||||
secret:
|
secret:
|
||||||
name: backstage-postgres-user
|
name: backstage-postgres-user
|
||||||
|
# Ensure the 'backstage' role can login and is a superuser
|
||||||
storage:
|
postInitSQL:
|
||||||
size: 2Gi
|
- ALTER ROLE backstage WITH SUPERUSER LOGIN;
|
||||||
storageClass: local-path
|
|
||||||
|
|||||||
Reference in New Issue
Block a user