I have tried to see what kubectl does when a system config has some bad entries (like an entry with "" as the context). It simply skips them.
I think that there should be an option for loadFromString, loadFromDefault, and loadFromFile to filter out any bad entries
I have tried to see what
kubectldoes when a system config has some bad entries (like an entry with""as the context). It simply skips them.I think that there should be an option for
loadFromString,loadFromDefault, andloadFromFileto filter out any bad entries