Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle loading KubeConfig certs/keys #9

Open
danopia opened this issue Nov 27, 2021 · 0 comments
Open

Properly handle loading KubeConfig certs/keys #9

danopia opened this issue Nov 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@danopia
Copy link
Member

danopia commented Nov 27, 2021

CA and key data can be either in-line or in a file, and there's currently no abstraction over this disparity. There's technically some complexity around file paths (mostly relative paths - they're supposed to be relative to the file that the path was originally found in).

The KubeConfigContext class should expose a way to reliably grab the cluster CA and the client key&cert, taking into account where the relevant file paths came from.

@danopia danopia added the enhancement New feature or request label Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant