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