postgres-operator/pkg/cluster
Rafia Sabih d52296c323
Propagate annotations to the StatefulSet (#932)
* Initial commit

* Corrections

- set the type of the new  configuration parameter to be array of
  strings
- propagate the annotations to statefulset at sync

* Enable regular expression matching

* Improvements

-handle rollingUpdate flag
-modularize code
-rename config parameter name

* fix merge error

* Pass annotations to connection pooler deployment

* update code-gen

* Add documentation and update manifests

* add e2e test and introduce option in configmap

* fix service annotations test

* Add unit test

* fix e2e tests

* better key lookup of annotations tests

* add debug message for annotation tests

* Fix typos

* minor fix for looping

* Handle update path and renaming

- handle the update path to update sts and connection pooler deployment.
  This way no need to wait for sync
- rename the parameter to downscaler_annotations
- handle other review comments

* another try to fix python loops

* Avoid unneccessary update events

* Update manifests

* some final polishing

* fix cluster_test after polishing

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
2020-05-04 14:46:56 +02:00
..
cluster.go Propagate annotations to the StatefulSet (#932) 2020-05-04 14:46:56 +02:00
cluster_test.go Propagate annotations to the StatefulSet (#932) 2020-05-04 14:46:56 +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 Propagate annotations to the StatefulSet (#932) 2020-05-04 14:46:56 +02:00
k8sres_test.go fix params in function call (#939) 2020-04-28 09:31:41 +02:00
pod.go Re-create pods only if all replicas are running (#903) 2020-04-20 15:14:11 +02:00
resources.go Propagate annotations to the StatefulSet (#932) 2020-05-04 14:46:56 +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 Propagate annotations to the StatefulSet (#932) 2020-05-04 14:46:56 +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 Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00