Rename the configmap 'namespace' entry to avoid confusion with the map's owm namespace

This commit is contained in:
Sergey Dudoladov
2018-02-06 15:09:00 +01:00
parent dcf637d4ea
commit ea84f9d577
7 changed files with 13 additions and 12 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ import (
"time"
"fmt"
"github.com/zalando-incubator/postgres-operator/pkg/spec"
)
@@ -66,7 +67,7 @@ type Config struct {
Resources
Auth
Scalyr
Namespace string `name:"namespace"`
WatchedNamespace string `name:"watched_namespace"`
EtcdHost string `name:"etcd_host" default:"etcd-client.default.svc.cluster.local:2379"`
DockerImage string `name:"docker_image" default:"registry.opensource.zalan.do/acid/spiloprivate-9.6:1.2-p4"`
ServiceAccountName string `name:"service_account_name" default:"operator"`