diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-06-24 14:54:29 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2019-07-16 11:16:44 -0700 |
commit | 2313ea3cc0730e076bdbc822991534c904570857 (patch) | |
tree | a43bd979a259cda723db7bac5f22426890cab7fc /src/k8splugin/internal/config | |
parent | ba4a7991e10172a31cec65ae5c9ad11cbb1b806b (diff) |
Remove kubeconfigdir. Use a tempfile instead
Kubeconfigdir does not need to be a configurable
parameter. We just create a local file and use that
to create the config after which it is not needed.
Issue-ID: MULTICLOUD-614
Change-Id: I2df561d50b620e24c5ae5266b7200210e0c11caf
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'src/k8splugin/internal/config')
-rw-r--r-- | src/k8splugin/internal/config/config.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/k8splugin/internal/config/config.go b/src/k8splugin/internal/config/config.go index dc3f7a11..90204c99 100644 --- a/src/k8splugin/internal/config/config.go +++ b/src/k8splugin/internal/config/config.go @@ -37,7 +37,6 @@ type Configuration struct { EtcdCert string `json:"etcd-cert"` EtcdKey string `json:"etcd-key"` EtcdCAFile string `json:"etcd-ca-file"` - KubeConfigDir string `json:"kube-config-dir"` OVNCentralAddress string `json:"ovn-central-address"` ServicePort string `json:"service-port"` } @@ -86,7 +85,6 @@ func defaultConfiguration() *Configuration { EtcdCert: "etcd.cert", EtcdKey: "etcd.key", EtcdCAFile: "etcd-ca.cert", - KubeConfigDir: cwd, OVNCentralAddress: "127.0.0.1", ServicePort: "9015", } |