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