Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
postgres-operator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
zalando
postgres-operator
Commits
96d46252
Commit
96d46252
authored
Mar 26, 2018
by
Sergey Dudoladov
Browse files
Options
Downloads
Patches
Plain Diff
Change the default values to closer match previous behaviour
parent
ced770a8
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
manifests/complete-postgres-manifest.yaml
+2
-2
2 additions, 2 deletions
manifests/complete-postgres-manifest.yaml
manifests/configmap.yaml
+2
-2
2 additions, 2 deletions
manifests/configmap.yaml
pkg/util/config/config.go
+1
-1
1 addition, 1 deletion
pkg/util/config/config.go
with
5 additions
and
5 deletions
manifests/complete-postgres-manifest.yaml
+
2
−
2
View file @
96d46252
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
manifests/configmap.yaml
+
2
−
2
View file @
96d46252
...
...
@@ -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: "
tru
e"
enable_master_load_balancer
:
"
true"
enable_replica_load_balancer
:
"
fals
e"
api_port
:
"
8080"
ring_log_lines
:
"
100"
cluster_history_entries
:
"
1000"
...
...
This diff is collapsed.
Click to expand it.
pkg/util/config/config.go
+
1
−
1
View file @
96d46252
...
...
@@ -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:"
fals
e"`
EnableMasterLoadBalancer
bool
`name:"enable_master_load_balancer" default:"
tru
e"`
EnableReplicaLoadBalancer
bool
`name:"enable_replica_load_balancer" default:"false"`
// deprecated and kept for backward compatibility
EnableLoadBalancer
*
bool
`name:"enable_load_balancer" default:"true"`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment