Skip to content
Snippets Groups Projects
Commit 96d46252 authored by Sergey Dudoladov's avatar Sergey Dudoladov
Browse files

Change the default values to closer match previous behaviour

parent ced770a8
Branches
Tags
No related merge requests found
......@@ -12,8 +12,8 @@ spec:
zalando:
- superuser
- createdb
# enableMasterLoadBalancer: true
# enableReplicaLoadBalancer: true
enableMasterLoadBalancer: true
enableReplicaLoadBalancer: true
allowedSourceRanges: # load balancers' source ranges for both master and replica services
- 127.0.0.1/32
databases:
......
......@@ -38,8 +38,8 @@ data:
workers: "4"
# 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: "true"
enable_master_load_balancer: "true"
enable_replica_load_balancer: "false"
api_port: "8080"
ring_log_lines: "100"
cluster_history_entries: "1000"
......
......@@ -80,7 +80,7 @@ type Config struct {
EnableTeamsAPI bool `name:"enable_teams_api" default:"true"`
EnableTeamSuperuser bool `name:"enable_team_superuser" default:"false"`
TeamAdminRole string `name:"team_admin_role" default:"admin"`
EnableMasterLoadBalancer bool `name:"enable_master_load_balancer" default:"false"`
EnableMasterLoadBalancer bool `name:"enable_master_load_balancer" default:"true"`
EnableReplicaLoadBalancer bool `name:"enable_replica_load_balancer" default:"false"`
// deprecated and kept for backward compatibility
EnableLoadBalancer *bool `name:"enable_load_balancer" default:"true"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment