kubernetes/pkg/kubectl/cmd/config
Kubernetes Submit Queue a2bce0d74e
Merge pull request #56769 from dixudx/forbid_unnamed_context
Automatic merge from submit-queue (batch tested with PRs 57521, 56769). 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>.

forbid unnamed context

**What this PR does / why we need it**:
forbid unnamed contexts with validation

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #56747

**Special notes for your reviewer**:
/assign @sttts @fabianofranz 

**Release note**:

```release-note
forbid unnamed context
```
2018-01-07 11:19:45 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
config_test.go ensure PrinterForCommand is consumed through cmdutil.Factory 2017-12-05 13:39:29 -05:00
config.go ensure PrinterForCommand is consumed through cmdutil.Factory 2017-12-05 13:39:29 -05:00
create_authinfo_test.go add test in create authinfo 2017-05-24 10:01:45 +08:00
create_authinfo.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
create_cluster_test.go unit test for create cluster 2017-05-31 14:19:12 +08:00
create_cluster.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
create_context_test.go Differentiate update/create message on set-context 2017-05-12 18:22:02 -07:00
create_context.go fix issue(11233)enhance kubectl config command 2017-09-14 17:14:42 +08:00
current_context_test.go add error info 2017-05-27 22:27:12 +08:00
current_context.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
delete_cluster_test.go add error info 2017-05-27 22:27:12 +08:00
delete_cluster.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
delete_context_test.go add error info 2017-05-27 22:27:12 +08:00
delete_context.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
get_clusters_test.go add error info 2017-05-27 22:27:12 +08:00
get_clusters.go move i18n to kubectl/util 2017-08-16 12:27:36 -07:00
get_contexts_test.go Merge pull request #46946 from kellycampbell/sort-contexts 2017-11-09 11:27:37 -08:00
get_contexts.go Merge pull request #46946 from kellycampbell/sort-contexts 2017-11-09 11:27:37 -08:00
navigation_step_parser_test.go remove kubernetes copy of clientcmd types 2017-01-19 07:39:19 -05:00
navigation_step_parser.go remove kubernetes copy of clientcmd types 2017-01-19 07:39:19 -05:00
rename_context_test.go kubectl/config/rename: fix wording 2017-11-02 21:10:11 -07:00
rename_context.go Merge pull request #55044 from ahmetb/wording 2017-11-09 01:52:26 -08:00
set_test.go add test code for kubectl config set 2017-04-17 16:20:33 +08: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
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
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
use_context_test.go unit test for kubectl config use-context 2017-03-31 13:29:52 +08:00
use_context.go forbid unnamed context 2018-01-07 10:52:03 +08:00
view_test.go ensure PrinterForCommand is consumed through cmdutil.Factory 2017-12-05 13:39:29 -05:00
view.go ensure PrinterForCommand is consumed through cmdutil.Factory 2017-12-05 13:39:29 -05:00