k3s/pkg/kubectl/cmd/config
Kubernetes Submit Queue a78d6b85ce
Merge pull request #46946 from kellycampbell/sort-contexts
Automatic merge from submit-queue (batch tested with PRs 46946, 45792). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubectl config get-contexts: sort output

This sorts the output of kubectl config get-contexts because the ordering is otherwise non-stable and makes it harder to find the context you're looking for when you have more than a few.

```release-note
The output of kubectl config get-contexts is now sorted alphabetically by the context name.
```
2017-11-09 11:27:37 -08:00
..
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
config.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
config_test.go
create_authinfo.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_authinfo_test.go
create_cluster.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
create_cluster_test.go
create_context.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
create_context_test.go
current_context.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
current_context_test.go
delete_cluster.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
delete_cluster_test.go
delete_context.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
delete_context_test.go
get_clusters.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
get_clusters_test.go
get_contexts.go Merge pull request #46946 from kellycampbell/sort-contexts 2017-11-09 11:27:37 -08:00
get_contexts_test.go Merge pull request #46946 from kellycampbell/sort-contexts 2017-11-09 11:27:37 -08:00
navigation_step_parser.go
navigation_step_parser_test.go
rename_context.go Merge pull request #55044 from ahmetb/wording 2017-11-09 01:52:26 -08:00
rename_context_test.go kubectl/config/rename: fix wording 2017-11-02 21:10:11 -07:00
set.go bug(cli)fix kubectl config unset unexist map key will add this key, should tell user this key not exist 2017-09-24 22:23:13 +08:00
set_test.go
unset.go bug(cli)fix kubectl config unset unexist map key will add this key, should tell user this key not exist 2017-09-24 22:23:13 +08:00
unset_test.go bug(cli)fix kubectl config unset unexist map key will add this key, should tell user this key not exist 2017-09-24 22:23:13 +08:00
use_context.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
use_context_test.go
view.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
view_test.go