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

Kube: enable setting the kubeconfig file to use #73

Open
nmaguiar opened this issue Jun 12, 2023 · 0 comments
Open

Kube: enable setting the kubeconfig file to use #73

nmaguiar opened this issue Jun 12, 2023 · 0 comments
Assignees

Comments

@nmaguiar
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When using the Kube oPack it can be useful to provide a different kubeconfig file.

Describe the solution you'd like
It should be possible, on a controlled way, to set the Kube config to use a specific kubeconfig file during the object instantiation.

Describe alternatives you've considered
It's possible to set the kubeconfig system property before but this would affect any other concurrent object instantiations:

java.lang.System.setProperty("kubeconfig", "/another/kubeconfig")
var kube = new Kube()

Additional context
n/a

@nmaguiar nmaguiar self-assigned this Jun 12, 2023
nmaguiar added a commit that referenced this issue Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant