35 lines
927 B
YAML
35 lines
927 B
YAML
# USER POSTGRES
|
|
# UNIQUEMENT Si vous ne passez pas par l'operateur.
|
|
#- op: replace
|
|
# path: /spec/template/spec/containers/env/0/value #POSTGRES_DB
|
|
# value: username
|
|
#- op: replace
|
|
# path: /spec/template/spec/containers/env/1/value #POSTGRES_USER
|
|
# value: username
|
|
#- op: replace
|
|
# path: /spec/template/spec/containers/env/2/value #POSTGRES_PASSWORD
|
|
# value: password
|
|
|
|
# CONF POSTGRES
|
|
- op: replace
|
|
path: /spec/template/spec/containers/0/env/3/value #POSTGRES_HOST
|
|
value: $(NEXTCLOUD_POSTGRES_RW_SERVICE_HOST)
|
|
- op: replace
|
|
path: /spec/template/spec/containers/0/env/0/value #POSTGRES_DB
|
|
value: nextcloud
|
|
|
|
|
|
#Name: nextcloud-postgres-app
|
|
#Namespace: nextcloud
|
|
#Labels: cnpg.io/cluster=nextcloud-postgres
|
|
# cnpg.io/reload=true
|
|
#Annotations: cnpg.io/operatorVersion: 1.18.1
|
|
#
|
|
#Type: kubernetes.io/basic-auth
|
|
#
|
|
#Data
|
|
#====
|
|
#password: 64 bytes
|
|
#pgpass: 112 bytes
|
|
#username: 9 bytes
|