Skip to content
Snippets Groups Projects
Commit 60df13c8 authored by Christian ZHENG's avatar Christian ZHENG
Browse files

update names

parent 6ab35c2b
No related branches found
No related tags found
No related merge requests found
apiVersion: v1
kind: Secret
metadata:
name: hydra.acid-hydra-database.credentials.postgresql.acid.zalan.do
labels:
application: spilo
cluster-name: acid-hydra-database
team: acid
type: Opaque
data:
username: {{ .Values.db.username | b64enc }}
password: {{ .Values.db.password | b64enc }}
......@@ -2,7 +2,6 @@ apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/pg-credentials.yaml") . | sha256sum }}
name: {{ .Values.db.prefix }}-postgresql
spec:
teamId: {{ .Values.db.prefix }} # le team id doit matcher le préfixe dans le metadata.name, ici formation
......@@ -10,7 +9,9 @@ spec:
size: 1Gi
numberOfInstances: 2
users:
hydra: []
hydra:
- superuser
- createdb
databases:
hydra: hydra
postgresql:
......
......@@ -26,7 +26,7 @@ front:
host: www.czheng.takima.school
db:
dbName: cdb-db
dbName: hydra
username: username
password: password
prefix: cdb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment