postgres-operator/pkg/cluster
Igor Yanchenko 88735a798a
Resize volume by changing pvc size if enabled in config. (#958)
* Try to resize pvc if resizing pv has failed

* added config option to switch between storage resize strategies

* changes according to requests

* Update pkg/controller/operator_config.go

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>

* enable_storage_resize documented

added examples to the default configuration and helm value files

* enable_storage_resize renamed to volume_resize_mode, off by default

* volume_resize_mode renamed to storage_resize_mode

* Update pkg/apis/acid.zalan.do/v1/crds.go

* pkg/cluster/volumes.go updated

* Update docs/reference/operator_parameters.md

* Update manifests/postgresql-operator-default-configuration.yaml

* Update pkg/controller/operator_config.go

* Update pkg/util/config/config.go

* Update charts/postgres-operator/values-crd.yaml

* Update charts/postgres-operator/values.yaml

* Update docs/reference/operator_parameters.md

* added logging if no changes required

Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2020-07-03 10:53:37 +02:00
..
cluster.go skip creation later to improve visibility of errors (#1013) 2020-06-17 13:32:16 +02:00
cluster_test.go delete secrets of system users too (#974) 2020-05-14 11:34:02 +02:00
database.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
exec.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Support for GCS WAL-E backups (#620) 2020-06-03 17:33:48 +02:00
k8sres_test.go Support for GCS WAL-E backups (#620) 2020-06-03 17:33:48 +02:00
pod.go Fix typo in error message (#969) 2020-05-12 10:05:42 +02:00
resources.go Fix pooler delete (#960) 2020-05-13 14:55:54 +02:00
resources_test.go Emit K8S events to the postgresql CR as feedback to the requestor / user (#896) 2020-04-27 08:22:07 +02:00
sync.go Resize volume by changing pvc size if enabled in config. (#958) 2020-07-03 10:53:37 +02:00
sync_test.go Emit K8S events to the postgresql CR as feedback to the requestor / user (#896) 2020-04-27 08:22:07 +02:00
types.go Prevent empty syncs (#922) 2020-04-16 15:14:31 +02:00
util.go Fully speced global sidecars (#890) 2020-04-27 17:40:22 +02:00
volumes.go Resize volume by changing pvc size if enabled in config. (#958) 2020-07-03 10:53:37 +02:00