mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-19 15:38:52 +02:00
Document intended usage of useLoadBalancer
This commit is contained in:
@@ -96,7 +96,8 @@ type PostgresSpec struct {
|
|||||||
TeamID string `json:"teamId"`
|
TeamID string `json:"teamId"`
|
||||||
AllowedSourceRanges []string `json:"allowedSourceRanges"`
|
AllowedSourceRanges []string `json:"allowedSourceRanges"`
|
||||||
DockerImage string `json:"dockerImage,omitempty"`
|
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"`
|
UseLoadBalancer *bool `json:"useLoadBalancer,omitempty"`
|
||||||
ReplicaLoadBalancer bool `json:"replicaLoadBalancer,omitempty"`
|
ReplicaLoadBalancer bool `json:"replicaLoadBalancer,omitempty"`
|
||||||
NumberOfInstances int32 `json:"numberOfInstances"`
|
NumberOfInstances int32 `json:"numberOfInstances"`
|
||||||
|
|||||||
Reference in New Issue
Block a user