kubectl: Allow []byte config fields to be set by the cli

Allows []byte config fields such as 'certificate-authority-data'
to be set using `kubectl config set` commands.
This commit is contained in:
petervo
2016-04-06 16:31:01 -07:00
parent 2e9bcb8311
commit 4f9d3ace5d
7 changed files with 149 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ func (o unsetOptions) run() error {
if err != nil {
return err
}
err = modifyConfig(reflect.ValueOf(config), steps, "", true)
err = modifyConfig(reflect.ValueOf(config), steps, "", true, true)
if err != nil {
return err
}