k3s/pkg/kubectl/cmd/create
Kubernetes Submit Queue 007e936c6d
Merge pull request #63851 from WanLinghao/ctl_create_aggegated_rules
Automatic merge from submit-queue (batch tested with PRs 62025, 63851, 64077, 63967, 63991). 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>.

Make kubectl could create clusterrole with aggregation rules

**What this PR does / why we need it**:
The clusterrole aggregation rule features are available since v1.9:
https://kubernetes.io/docs/admin/authorization/rbac/#aggregated-clusterroles
This patch makes kubectl could create clusterrole with aggregation rules.
**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 #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-05-22 08:40:20 -07:00
..
BUILD Merge pull request #63851 from WanLinghao/ctl_create_aggegated_rules 2018-05-22 08:40:20 -07:00
create.go remove versioned printer 2018-05-17 17:20:54 -04:00
create_clusterrole.go kubectl: add aggregation rule support to clusterrole 2018-05-18 19:44:23 +08:00
create_clusterrole_test.go kubectl: add aggregation rule support to clusterrole 2018-05-18 19:44:23 +08:00
create_clusterrolebinding.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_clusterrolebinding_test.go provide standard iostream struct for commands 2018-04-20 12:54:11 -04:00
create_configmap.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_configmap_test.go simplify api registration 2018-05-08 18:33:50 -04:00
create_deployment.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_deployment_test.go Merge pull request #63561 from juanvallejo/jvallejo/make-opinionated-print-flags-constructor 2018-05-10 14:25:16 -07:00
create_job.go fix missing flag value bindings in kubectl 2018-05-14 14:38:54 +08:00
create_job_test.go remove legacyscheme dep from printFlags 2018-05-10 14:51:12 -04:00
create_namespace.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_namespace_test.go simplify api registration 2018-05-08 18:33:50 -04:00
create_pdb.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_pdb_test.go Merge pull request #63561 from juanvallejo/jvallejo/make-opinionated-print-flags-constructor 2018-05-10 14:25:16 -07:00
create_priorityclass.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_priorityclass_test.go Merge pull request #63561 from juanvallejo/jvallejo/make-opinionated-print-flags-constructor 2018-05-10 14:25:16 -07:00
create_quota.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_quota_test.go simplify resource builder usage 2018-05-04 13:02:49 -04:00
create_role.go remove versioned printer 2018-05-17 17:20:54 -04:00
create_role_test.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
create_rolebinding.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_rolebinding_test.go provide standard iostream struct for commands 2018-04-20 12:54:11 -04:00
create_secret.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_secret_test.go simplify api registration 2018-05-08 18:33:50 -04:00
create_service.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_service_test.go simplify api registration 2018-05-08 18:33:50 -04:00
create_serviceaccount.go cleanup TODO comments from PrintFlags wiring 2018-05-10 14:03:06 -04:00
create_serviceaccount_test.go simplify api registration 2018-05-08 18:33:50 -04:00
create_test.go fix dynamic client name 2018-05-11 13:12:09 -04:00
flags.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00