fix: respect insecure flag when switch context (#3292)
parent
7deb202c2d
commit
5fe09d4f92
|
|
@ -94,6 +94,7 @@ func (c *Config) SwitchContext(name string) error {
|
|||
flags.Impersonate = c.flags.Impersonate
|
||||
flags.ImpersonateGroup = c.flags.ImpersonateGroup
|
||||
flags.ImpersonateUID = c.flags.ImpersonateUID
|
||||
flags.Insecure = c.flags.Insecure
|
||||
c.flags = flags
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue