avoid yaml confusion in postgres manifests
This commit is contained in:
parent
01258740c2
commit
670e001eeb
|
|
@ -1,6 +1,5 @@
|
||||||
apiVersion: "acid.zalan.do/v1"
|
apiVersion: "acid.zalan.do/v1"
|
||||||
kind: postgresql
|
kind: postgresql
|
||||||
|
|
||||||
metadata:
|
metadata:
|
||||||
name: acid-test-cluster
|
name: acid-test-cluster
|
||||||
spec:
|
spec:
|
||||||
|
|
@ -24,8 +23,11 @@ spec:
|
||||||
- 127.0.0.1/32
|
- 127.0.0.1/32
|
||||||
databases:
|
databases:
|
||||||
foo: zalando
|
foo: zalando
|
||||||
|
|
||||||
# Expert section
|
# Expert section
|
||||||
|
|
||||||
enableShmVolume: true
|
enableShmVolume: true
|
||||||
|
# spiloFSGroup: 103
|
||||||
postgresql:
|
postgresql:
|
||||||
version: "10"
|
version: "10"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
@ -39,7 +41,6 @@ spec:
|
||||||
limits:
|
limits:
|
||||||
cpu: 300m
|
cpu: 300m
|
||||||
memory: 300Mi
|
memory: 300Mi
|
||||||
# spiloFSGroup: 103
|
|
||||||
patroni:
|
patroni:
|
||||||
initdb:
|
initdb:
|
||||||
encoding: "UTF8"
|
encoding: "UTF8"
|
||||||
|
|
|
||||||
|
|
@ -9,16 +9,11 @@ spec:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
numberOfInstances: 2
|
numberOfInstances: 2
|
||||||
users:
|
users:
|
||||||
# database owner
|
zalando: # database owner
|
||||||
zalando:
|
|
||||||
- superuser
|
- superuser
|
||||||
- createdb
|
- createdb
|
||||||
|
foo_user: [] # role for application foo
|
||||||
# role for application foo
|
|
||||||
foo_user: []
|
|
||||||
|
|
||||||
#databases: name->owner
|
|
||||||
databases:
|
databases:
|
||||||
foo: zalando
|
foo: zalando # dbname: owner
|
||||||
postgresql:
|
postgresql:
|
||||||
version: "10"
|
version: "10"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue