postgres-operator/pkg/util/config
Oleksii Kliukin bf80f5225e
Introduce higher and lower bounds for the number of instances (#178)
* Introduce higher and lower bounds for the number of instances

Reduce the number of instances to the min_instances if it is lower and
to the max_instances if it is higher. -1 for either of those means there
is no lower or upper bound.

In addition, terminate the operator when there is a nonsense in the
configuration (i.e. max_instances < min_instances).

Reviewed by Jan Mußler and Sergey Dudoladov.
2017-12-15 16:02:50 +01:00
..
config.go Introduce higher and lower bounds for the number of instances (#178) 2017-12-15 16:02:50 +01:00
config_test.go Warn about attempts to use escape quotes. 2017-11-22 10:43:35 +01:00
util.go Warn about attempts to use escape quotes. 2017-11-22 10:43:35 +01:00