add validation and conf via operator CRD

This commit is contained in:
Sergey Dudoladov 2020-03-27 09:38:18 +01:00
parent 8a922e4adc
commit 79cf1a8e86
5 changed files with 9 additions and 0 deletions

View File

@ -64,6 +64,8 @@ spec:
type: boolean
enable_shm_volume:
type: boolean
should_delete_unused_pvc:
type: boolean
etcd_host:
type: string
max_instances:

View File

@ -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

View File

@ -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

View File

@ -40,6 +40,8 @@ spec:
type: boolean
enable_shm_volume:
type: boolean
should_delete_unused_pvc:
type: boolean
etcd_host:
type: string
max_instances:

View File

@ -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