mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-02-03 20:39:39 -05:00
`f.ToRawKubeConfigLoader().Namespace()` throws `ErrEmptyConfig` when default configuration file can not be found, even if it invalid. However, when user explicitly passes `--local` flag, that means we can gracefully handle this error and continue. This commit does that for the commands having `--local` flag. Kubernetes-commit: ba49ccdbc9b4761d0c9589ab7ca9f41029a99568 |
||
|---|---|---|
| .. | ||
| apps | ||
| cmd | ||
| describe | ||
| drain | ||
| explain | ||
| generate | ||
| metricsutil | ||
| polymorphichelpers | ||
| proxy | ||
| rawhttp | ||
| scale | ||
| scheme | ||
| util | ||
| validation | ||