postgres-operator/pkg/cluster
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
..
cluster.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00
cluster_test.go delete secrets of system users too (#974) 2020-05-14 11:34:02 +02:00
connection_pooler.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go Fix connection pooler deployment selectors (#1213) 2020-11-23 17:18:18 +01:00
database.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01: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 inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
k8sres_test.go Introduce PGVERSION (#1172) 2020-11-27 18:49:49 +01:00
pod.go End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
resources.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
sync.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
types.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
util.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
util_test.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00
volumes.go Support EBS gp2 to gp3 migration on sync for below 1tb volumes (#1242) 2020-12-11 15:52:32 +01:00
volumes_test.go Support inherited annotations for all major objects (#1236) 2020-12-11 16:34:01 +01:00