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

[v12] Add option to override kube context on tsh kube login #25253

Merged
merged 1 commit into from Apr 28, 2023

Commits on Apr 27, 2023

  1. Add option to override kube context on tsh kube login

    This PR allows users to change the kubeconfig's context name when `tsh
    kube login` is executed.
    
    It allows users to override our default naming convention
    `{teleport-cluster}-{kube-cluster}` and replace it with a custom name.
    
    `tsh kube login cluster --set-context-name=ctx` overrides the context
    name to `ctx`. `--set-context` cannot be executed with `--all`.
    
    Fixes #12833
    tigrato authored and github-actions committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    7b180b5 View commit details
    Browse the repository at this point in the history