Merge pull request #258 from zalando-incubator/always-create-replica-service

[WIP] Always create replica service
This commit is contained in:
zerg-junior
2018-03-29 14:42:26 +02:00
committed by GitHub
11 changed files with 202 additions and 60 deletions
+3 -2
View File
@@ -12,8 +12,9 @@ spec:
zalando:
- superuser
- createdb
useLoadBalancer: true
allowedSourceRanges: #Load balancer source ranges
enableMasterLoadBalancer: true
enableReplicaLoadBalancer: true
allowedSourceRanges: # load balancers' source ranges for both master and replica services
- 127.0.0.1/32
databases:
foo: zalando
+4 -1
View File
@@ -37,7 +37,10 @@ data:
team_admin_role: "admin"
teams_api_url: http://fake-teams-api.default.svc.cluster.local
workers: "4"
enable_load_balancer: "true"
# turn on/off load balancers for all Postgres clusters managed by the operator
# LB settings in cluster manifests take priority over these settings
enable_master_load_balancer: "true"
enable_replica_load_balancer: "false"
api_port: "8080"
ring_log_lines: "100"
cluster_history_entries: "1000"