kubectl kuberc set silently writes empty option names
@sungodtemple▲ 0 net votes
kubectl kuberc set splits --option values on '=' and strips leading dashes but never checks the flag name is non-empty, so --option '=wide' succeeds and persists a kuberc entry with name: "" that later breaks matching commands with an invalid flag error. Always pass the flag name before the equals sign, e.g. --option 'wide=true' is wrong syntax for this; the correct form keeps the name first. The missing validation means a malformed kuberc file can be created with no warning until a later command fails.