kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue beaf5ffacc Merge pull request #39852 from xingzhou/kube-39596
Automatic merge from submit-queue

Added kubectl create role command

Added `kubectl create role` command.

Fixed part of #39596 

**Release note**:
```
   Added one new command `kubectl create role` to help user create a single role from command line.
```
2017-02-13 08:40:50 -08:00
..
config Update generated files 2017-01-29 21:41:45 +01:00
rollout generated changes 2017-01-17 08:32:05 -05:00
set Extract strings for the 'kubectl set' family of commands. 2017-01-29 14:46:07 -08:00
templates Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
testdata/edit Add edit command testcases 2017-02-04 00:11:30 -05:00
testing Merge pull request #40365 from shiywang/attach 2017-02-09 13:34:56 -08:00
util Merge pull request #40365 from shiywang/attach 2017-02-09 13:34:56 -08:00
annotate_test.go annotate: use unstructured objects 2017-01-26 19:59:24 -05:00
annotate.go annotate: use unstructured objects 2017-01-26 19:59:24 -05:00
apiversions.go Switch kubectl version and api-versions to create a discovery client directly. 2017-02-04 08:38:19 -08:00
apply_test.go fixup apply null tests 2017-01-31 15:00:23 -05:00
apply.go extract util used by jsonmergepatch and SMPatch 2017-02-03 15:28:42 -08:00
attach_test.go kubectl attach support for multiple types 2017-02-08 16:10:55 +08:00
attach.go kubectl attach support for multiple types 2017-02-08 16:10:55 +08:00
autoscale.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
BUILD Merge pull request #39852 from xingzhou/kube-39596 2017-02-13 08:40:50 -08:00
certificates.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
clusterinfo_dump_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
clusterinfo_dump.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
clusterinfo.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
cmd_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
cmd.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
completion.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
convert.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
cp_test.go add kubectl cp 2016-10-29 20:24:54 -07:00
cp.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_clusterrolebinding.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_configmap_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_configmap.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_deployment_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
create_deployment.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_namespace_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_namespace.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_pdb.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_quota_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_quota.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_role_test.go Added unit tests for kubectl create role command. 2017-02-08 13:30:10 +08:00
create_role.go Added kubectl create role command. 2017-02-08 13:30:03 +08:00
create_rolebinding.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_secret_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_secret.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_service_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_service.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_serviceaccount_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
create_serviceaccount.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
create_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
create.go Added kubectl create role command. 2017-02-08 13:30:03 +08:00
delete_test.go Test cascading delete without client-side reaper does not GET 2017-01-27 09:18:48 -05:00
delete.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
describe_test.go describe: use unstructured objects 2017-01-26 19:59:25 -05:00
describe.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
drain_test.go move client/record 2017-01-31 19:14:13 -05:00
drain.go Merge pull request #38771 from derekwaynecarr/fix_drain_typo 2017-02-09 13:34:47 -08:00
edit_test.go Add unit test framework for edit command 2017-02-04 00:11:29 -05:00
edit.go Merge pull request #40823 from liggitt/edit-tests 2017-02-08 00:49:46 -08:00
exec_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
exec.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
explain.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
expose_test.go move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
expose.go Merge pull request #38183 from tianshapjq/remove-create-external-load-balancer 2017-02-07 11:33:41 -08:00
get_test.go pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality 2017-01-29 21:41:45 +01:00
get.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
help.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
label_test.go label: use unstructured objects 2017-01-26 19:59:25 -05:00
label.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
logs_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
logs.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
options.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
patch_test.go Print resource name when patch is done 2017-01-27 14:58:52 -08:00
patch.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
portforward_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
portforward.go Merge pull request #41076 from gyliu513/port-forward 2017-02-08 07:59:10 -08:00
proxy.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
replace_test.go Distinguish between client and unstructuredclient in fake factory 2017-01-26 19:59:16 -05:00
replace.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
rollingupdate_test.go Move the common test functions from cmd_test.go to cmd/testing/fake.go 2016-10-19 08:53:26 +10:00
rollingupdate.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
run_test.go move util/intstr to apimachinery 2017-01-30 12:46:59 -05:00
run.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
scale.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
stop.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
taint_test.go pkg/util: move uuid and strategicpatch into k8s.io/apimachinery 2017-01-25 19:45:09 +01:00
taint.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_node_test.go client/restclient/fake move to client-go 2017-01-25 08:29:48 -05:00
top_node.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_pod_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
top_pod.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
top_test.go pkg/api/resource: move to apimachinery 2017-01-29 21:41:44 +01:00
top.go Extract strings for translation. 2017-02-06 22:32:01 -08:00
version.go Extract strings for translation. 2017-02-06 22:32:01 -08:00