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

Add preflight checks for existence of tanzu binary with tanzu context get-token command while generating kuebconfig for UCP context #506

Open
prkalle opened this issue Sep 29, 2023 · 0 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature

Comments

@prkalle
Copy link
Contributor

prkalle commented Sep 29, 2023

Describe the feature request
tanzu CLI generates the kubeconfig with Exec plugin for UCP context in order to fetch the CSP token dynamically. However this kubeconfig expects the tanzu binary with the tanzu context get-token command support to be present in user's PATH.

So, CLI while generating the Kubeconfig for UCP context, it should consider adding a preflight check (may be checking for tanzu context get-token command) before assigning this command as Exec plugin in the kubeconfig

More details are mentioned here
Describe alternative(s) you've considered

Additional context

@prkalle prkalle added the kind/feature Categorizes issue or PR as related to a new feature label Sep 29, 2023
@prkalle prkalle self-assigned this Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature
Projects
None yet
Development

No branches or pull requests

1 participant