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

Improvements for uffizzi cluster update-kubeconfig #235

Open
gadkins opened this issue Jun 27, 2023 · 0 comments · Fixed by #224
Open

Improvements for uffizzi cluster update-kubeconfig #235

gadkins opened this issue Jun 27, 2023 · 0 comments · Fixed by #224
Labels
dev test Low risk issue that should be tested by developer only

Comments

@gadkins
Copy link
Member

gadkins commented Jun 27, 2023

Improvements

  • If you specify a path with the --kubeconfig option, then the resulting configuration file is created there or merged with an existing kubeconfig at that location.
  • Add option -p / --print to dump kubeconfig to stdout, e.g. uffizzi cluster update-kubeconfig -p
  • Add option -q / --quiet to suppress output
  • If you have the KUBECONFIG environment variable set, then the resulting configuration file is created at the first entry in that variable or merged with an existing kubeconfig at that location.
  • If a previous cluster configuration exists for a Uffizzi cluster with the same name at the specified path, the existing configuration is overwritten with the new configuration.
  • When update-kubeconfig writes a configuration to a kubeconfig file, the current-context of the kubeconfig file is set to that configuration.
@zipofar zipofar linked a pull request Jun 30, 2023 that will close this issue
@moklidia moklidia added the dev test Low risk issue that should be tested by developer only label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev test Low risk issue that should be tested by developer only
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants