postgres-operator/pkg/cluster
Oleksii Kliukin 26db91c53e
Improve infrastructure role definitions (#208)
Enhance definitions of infrastructure roles by allowing membership in multiple roles, role options and per-role configuration to be specified in the infrastructure role configmap, which must have the same name as the infrastructure role secret. See manifests/infrastructure-roles-configmap.yaml for the examples and updated README for the description of different types of database roles supposed by the operator and their purposes.

Change the logic of merging infrastructure roles with the manifest roles when they have the same name, to return the infrastructure role unchanged instead of merging. Previously, we used to propagate flags from the manifest role to the resulting infrastructure one, as there were no way to define flags for the infrastructure role; however, this is not the case anymore.

Code review and tests by @erthalion
2018-04-04 17:21:36 +02:00
..
cluster.go Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00
cluster_test.go Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00
exec.go return idle status when worker has nothing to do 2017-10-11 15:42:20 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Merge pull request #261 from zalando-incubator/wal_bucket_scope_prefix 2018-04-03 17:47:18 +02:00
k8sres_test.go Add tests for load balancer function logic 2018-03-27 12:11:46 +02:00
pg.go Some improvements for golint, ineffassign and misspell 2018-02-19 17:46:31 +01:00
pod.go Modify to add extra labels only during resource creation 2018-02-26 11:11:50 +01:00
resources.go Merge pull request #240 from zalando-incubator/feature/goreport-improvements 2018-02-22 11:31:08 +01:00
sync.go Remove early stopping conditions that rely on the relica service being absent 2018-02-27 17:21:51 +01:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Modify to add extra labels only during resource creation 2018-02-26 11:11:50 +01:00
volumes.go Modify to add extra labels only during resource creation 2018-02-26 11:11:50 +01:00