-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle invalid kubeconfig context (#960)
Rather than immediately returning an error for an invalid kubeconfig context, mark the cluster as unreachable, and only fail with an error on operations that need to talk to the cluster. This will allow invoke methods to operate using the default provider even if no local cluster is configured.
- Loading branch information
1 parent
65c1325
commit e37ed9f
Showing
2 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters