add validation and conf via operator CRD
This commit is contained in:
		
							parent
							
								
									8a922e4adc
								
							
						
					
					
						commit
						79cf1a8e86
					
				|  | @ -64,6 +64,8 @@ spec: | |||
|               type: boolean | ||||
|             enable_shm_volume: | ||||
|               type: boolean | ||||
|             should_delete_unused_pvc: | ||||
|               type: boolean | ||||
|             etcd_host: | ||||
|               type: string | ||||
|             max_instances: | ||||
|  |  | |||
|  | @ -21,6 +21,8 @@ configGeneral: | |||
|   enable_crd_validation: true | ||||
|   # start any new database pod without limitations on shm memory | ||||
|   enable_shm_volume: true | ||||
|   # delete PVCs of shutdown pods | ||||
|   should_delete_unused_pvc: false | ||||
|   # etcd connection string for Patroni. Empty uses K8s-native DCS. | ||||
|   etcd_host: "" | ||||
|   # Spilo docker image | ||||
|  |  | |||
|  | @ -21,6 +21,8 @@ configGeneral: | |||
|   enable_crd_validation: "true" | ||||
|   # start any new database pod without limitations on shm memory | ||||
|   enable_shm_volume: "true" | ||||
|   # delete PVCs of shutdown pods | ||||
|   should_delete_unused_pvc: "false" | ||||
|   # etcd connection string for Patroni. Empty uses K8s-native DCS. | ||||
|   etcd_host: "" | ||||
|   # Spilo docker image | ||||
|  |  | |||
|  | @ -40,6 +40,8 @@ spec: | |||
|               type: boolean | ||||
|             enable_shm_volume: | ||||
|               type: boolean | ||||
|             should_delete_unused_pvc: | ||||
|               type: boolean | ||||
|             etcd_host: | ||||
|               type: string | ||||
|             max_instances: | ||||
|  |  | |||
|  | @ -7,6 +7,7 @@ configuration: | |||
|   etcd_host: "" | ||||
|   docker_image: registry.opensource.zalan.do/acid/spilo-12:1.6-p2 | ||||
|   # enable_shm_volume: true | ||||
|   # should_delete_unused_pvc: false | ||||
|   max_instances: -1 | ||||
|   min_instances: -1 | ||||
|   resync_period: 30m | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue