Skip to content
New issue

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

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

Already on GitHub? # to your account

consider to include AZURE_CONFIG_DIR in convert-kubeconfig sub-command #235

Closed
weinong opened this issue Mar 21, 2023 · 2 comments · Fixed by #263
Closed

consider to include AZURE_CONFIG_DIR in convert-kubeconfig sub-command #235

weinong opened this issue Mar 21, 2023 · 2 comments · Fixed by #263
Assignees

Comments

@weinong
Copy link
Contributor

weinong commented Mar 21, 2023

when a user setups the az cli outside the home directory, e.g. in a jenkins env, the azurecli login in kubelogin will not be able to find the appropriate az context until AZURE_CONFIG_DIR is set. The idea is to enable convert-kubeconfig sub command to take this path and update kubeconfig so that get-token sub-command knows where the az context is

@VijitaLekharaju
Copy link

This will be very useful for us, and probably other customers as well, reducing the overhead for carrying around the az-context to every kubectl command executed per AKS cluster in automation scripts, shared libraries or other CI/CD implementations.

@weinong
Copy link
Contributor Author

weinong commented May 2, 2023

doc update is in #270

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants