Allow per-cluster setting of a docker image.

Add dockerImage cluster configuration parameter that overrides global
operator defaults when set to a non-empty value.
This commit is contained in:
Oleksii Kliukin
2017-11-14 11:53:04 +01:00
committed by Oleksii Kliukin
parent c25e849fe4
commit 6dcd074ea0
2 changed files with 9 additions and 3 deletions
+1
View File
@@ -94,6 +94,7 @@ 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
UseLoadBalancer *bool `json:"useLoadBalancer,omitempty"`
ReplicaLoadBalancer bool `json:"replicaLoadBalancer,omitempty"`