Document intended usage of useLoadBalancer
This commit is contained in:
		
							parent
							
								
									fb21246fcd
								
							
						
					
					
						commit
						e74c05fec9
					
				|  | @ -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"` | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue