From e74c05fec9deb49323e12f71f89a5fa677aaec30 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Fri, 2 Mar 2018 11:47:51 +0100 Subject: [PATCH] Document intended usage of useLoadBalancer --- pkg/spec/postgresql.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/spec/postgresql.go b/pkg/spec/postgresql.go index e124c10c1..51dc3e9ce 100644 --- a/pkg/spec/postgresql.go +++ b/pkg/spec/postgresql.go @@ -96,7 +96,8 @@ type PostgresSpec struct { TeamID string `json:"teamId"` AllowedSourceRanges []string `json:"allowedSourceRanges"` DockerImage string `json:"dockerImage,omitempty"` - // EnableLoadBalancer is a pointer, since it is important to know if that parameters is omitted from the manifest + // EnableLoadBalancer is a pointer, since it is important to know if that parameters is omitted from the Postgres manifest + // in that case UseLoadBalancer == nil and the value is taken from the operator config UseLoadBalancer *bool `json:"useLoadBalancer,omitempty"` ReplicaLoadBalancer bool `json:"replicaLoadBalancer,omitempty"` NumberOfInstances int32 `json:"numberOfInstances"`