mirror of https://github.com/kubernetes/kops.git
Dont overwrite default feature flags when appending more flags
This commit is contained in:
parent
044cba7a7a
commit
72ae782c04
|
|
@ -145,7 +145,7 @@ func (d *deployer) featureFlags() string {
|
|||
for _, env := range d.Env {
|
||||
e := strings.Split(env, "=")
|
||||
if e[0] == "KOPS_FEATURE_FLAGS" && len(e) > 1 {
|
||||
val = fmt.Sprintf("%v,", e[1])
|
||||
val = fmt.Sprintf("%v,%v", val, e[1])
|
||||
}
|
||||
}
|
||||
return val
|
||||
|
|
|
|||
Loading…
Reference in New Issue