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

feat(cli): set env server from context #145

Merged
merged 2 commits into from
Jan 13, 2020
Merged

feat(cli): set env server from context #145

merged 2 commits into from
Jan 13, 2020

Conversation

sh0rez
Copy link
Member

@sh0rez sh0rez commented Jan 8, 2020

Allows to set the spec.apiServer of an Environment using an already known
context:

$ tk env set environments/default --server-from-context eu-west1

The --server-from-context flag is autocompleted using data from kubectl config get-contexts

Allows to set the `spec.apiServer` of an `Environment` using an already known
context:

```bash
$ tk env set environments/default --server-from-context eu-west1
```

The `--server-from-context` flag is autocompleted using data from `kubectl
config get-contexts`
@sh0rez sh0rez added kind/feature Something new should be added component/cli Command Line Interface labels Jan 8, 2020
@sh0rez sh0rez self-assigned this Jan 8, 2020
@sh0rez sh0rez merged commit fe0df7d into master Jan 13, 2020
@sh0rez sh0rez deleted the server-from-context branch January 13, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli Command Line Interface kind/feature Something new should be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants