postgres-operator/pkg/controller
Felix Kunde 6a97316a69
Support inherited annotations for all major objects (#1236)
* add comments where inherited annotations could be added

* add inheritedAnnotations feature

* return nil if no annotations are set

* minor changes

* first downscaler then inherited annotations

* add unit test for inherited annotations

* add pvc to test + minor changes

* missing comma

* fix nil map assignment

* set annotations in the same order it is done in other places

* replace acidClientSet with acid getters in K8s client

* more fixes on clientSet vs getters

* minor changes

* remove endpoints from annotation test

* refine unit test - but deployment and sts are still empty

* fix checkinng sts and deployment

* make annotations setter one liners

* no need for len check anymore

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
2020-12-11 16:34:01 +01:00
..
controller.go disable PostgresTeam by default (#1186) 2020-10-28 17:51:37 +01:00
logs_and_api.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
node.go End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
node_test.go fixed case where, no ready label is defined, but node is unscheduable (#1162) 2020-10-28 09:33:52 +01:00
operator_config.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
pod.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
postgresql.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
postgresql_test.go allow delete only if annotations meet configured criteria (#1069) 2020-08-13 16:36:22 +02:00
types.go Bootstrapped databases with best practice role setup (#843) 2020-04-29 10:56:06 +02:00
util.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
util_test.go allow using both infrastructure_roles_options (#1090) 2020-08-10 15:08:03 +02:00