Run defaulting on the scheduler startup
This commit is contained in:
@@ -142,6 +142,8 @@ func decodeConfigz(resp *http.Response) (*componentconfig.KubeletConfiguration,
|
||||
return nil, err
|
||||
}
|
||||
|
||||
api.Scheme.Default(&configz.ComponentConfig)
|
||||
|
||||
err = api.Scheme.Convert(&configz.ComponentConfig, &kubeCfg, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user