1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-03 16:04:26 +00:00

Vendor update

This commit is contained in:
Sebastiaan van Steenis
2018-06-08 18:39:55 +02:00
committed by Alena Prokharchyk
parent b72f4b2c70
commit 94862fa2e2
3 changed files with 8 additions and 1 deletions

View File

@@ -229,6 +229,8 @@ type BaseService struct {
ExtraArgs map[string]string `yaml:"extra_args" json:"extraArgs,omitempty"`
// Extra binds added to the nodes
ExtraBinds []string `yaml:"extra_binds" json:"extraBinds,omitempty"`
// this is to provide extra env variable to the docker container running kubernetes service
ExtraEnv []string `yaml:"extra_env" json:"extraEnv,omitempty"`
}
type NetworkConfig struct {

View File

@@ -1357,6 +1357,11 @@ func (in *BaseService) DeepCopyInto(out *BaseService) {
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ExtraEnv != nil {
in, out := &in.ExtraEnv, &out.ExtraEnv
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}