-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kubeconfig caching, remove kubeconfig from indivial CLI commands (#…
…113) * Add kubeconfig caching, remove kubeconfig from indivial CLI commands This adds caching of the kubeconfig between dss invocations, removing the need for users to set `--kubeconfig X` on every call. The kubeconfig is stored in a default location that will be accessible to the dss snap. * add `get_kubeconfig_path()` to centralize how the kubeconfig_path is evaluated. This fixes a bug where save_kubeconfig was resolving the path incorrectly * refactor main's use of save_config to always use the standard kubeconfig resolution
- Loading branch information
1 parent
5d79362
commit 15c401a
Showing
7 changed files
with
245 additions
and
168 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
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
Oops, something went wrong.