Skip to content

Commit de14323

Browse files
authored
disable load balancers by default in examples (zalando#715)
1 parent 535517c commit de14323

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

charts/postgres-operator/values-crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ configLoadBalancer:
138138
# keya: valuea
139139

140140
# toggles service type load balancer pointing to the master pod of the cluster
141-
enable_master_load_balancer: true
141+
enable_master_load_balancer: false
142142
# toggles service type load balancer pointing to the replica pod of the cluster
143143
enable_replica_load_balancer: false
144144
# defines the DNS name string template for the master load balancer cluster

charts/postgres-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ configLoadBalancer:
132132
# custom_service_annotations: "keyx:valuez,keya:valuea"
133133

134134
# toggles service type load balancer pointing to the master pod of the cluster
135-
enable_master_load_balancer: "true"
135+
enable_master_load_balancer: "false"
136136
# toggles service type load balancer pointing to the replica pod of the cluster
137137
enable_replica_load_balancer: "false"
138138
# defines the DNS name string template for the master load balancer cluster

manifests/complete-postgres-manifest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ spec:
1919
zalando:
2020
- superuser
2121
- createdb
22-
enableMasterLoadBalancer: true
23-
enableReplicaLoadBalancer: true
22+
enableMasterLoadBalancer: false
23+
enableReplicaLoadBalancer: false
2424
allowedSourceRanges: # load balancers' source ranges for both master and replica services
2525
- 127.0.0.1/32
2626
databases:

manifests/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ data:
2222
docker_image: registry.opensource.zalan.do/acid/spilo-11:1.6-p1
2323
# enable_admin_role_for_users: "true"
2424
# enable_database_access: "true"
25-
enable_master_load_balancer: "true"
25+
enable_master_load_balancer: "false"
2626
# enable_pod_antiaffinity: "false"
2727
# enable_pod_disruption_budget: "true"
2828
enable_replica_load_balancer: "false"

0 commit comments

Comments
 (0)