k3s/pkg/kubectl/cmd
Kubernetes Submit Queue 2ff0bc2b8a
Merge pull request #63967 from deads2k/rbac-06-external
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>.

switch rbac to external

The overall trajectory of the project is towards external types.  Having all helpers agree on the version they operate on makes life much easier.  We've already written one RBAC controller (role aggregation) and more may follow.  `v1` has been around for a while now and we know that any future changes have to reliably roundtrip through it.  This pull switches all the core helpers over to use the external types.

@kubernetes/sig-auth-pr-reviews 

```release-note
`kubectl auth reconcile` only works with rbac.v1
```
2018-05-22 08:40:26 -07:00
..
auth Merge pull request #63967 from deads2k/rbac-06-external 2018-05-22 08:40:26 -07:00
config move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
create Merge pull request #63851 from WanLinghao/ctl_create_aggegated_rules 2018-05-22 08:40:20 -07:00
get Merge pull request #64077 from CaoShuFeng/get_test 2018-05-22 08:40:23 -07:00
rollout move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
scalejob Tolarate negative values when calculating job scale progress 2018-05-18 15:35:37 +02:00
set Merge pull request #64113 from juanvallejo/jvallejo/remove-uneeded-factory-methods 2018-05-21 21:41:24 -07:00
templates Filter unavailable commands in help 2018-04-20 16:52:26 +02:00
testdata/edit Merge pull request #62657 from matthyx/master 2018-05-02 19:44:32 -07:00
testing start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
util Merge pull request #64113 from juanvallejo/jvallejo/remove-uneeded-factory-methods 2018-05-21 21:41:24 -07:00
BUILD move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
alpha.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
annotate.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
annotate_test.go simplify api registration 2018-05-08 18:33:50 -04:00
apiresources.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
apiversions.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
apply.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
apply_edit_last_applied.go Switch kubectl resource completion to discovery 2018-05-04 09:57:36 -04:00
apply_set_last_applied.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
apply_test.go Merge pull request #59284 from Addepar/fix-empty-null-patch 2018-05-09 13:51:09 -07:00
apply_view_last_applied.go move resource builder to generic options 2018-05-10 14:15:12 -04:00
attach.go move additional methods from factory 2018-05-18 11:49:02 -04:00
attach_test.go simplify api registration 2018-05-08 18:33:50 -04:00
autoscale.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
certificates.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
clusterinfo.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
clusterinfo_dump.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
clusterinfo_dump_test.go Remove Factory from more Run commands 2018-04-30 19:58:54 +02:00
cmd.go move ConfigFlags to pkg/kubectl/genericclioptions 2018-05-16 11:31:48 -04:00
cmd_printing_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
cmd_test.go wire config flags through factory 2018-05-04 17:02:20 -04:00
completion.go fix kubectl_filedir completion 2018-03-13 16:21:30 -04:00
convert.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
convert_test.go wire printflags through additional cmds 2018-04-25 16:07:32 -04:00
cp.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
cp_test.go simplify api registration 2018-05-08 18:33:50 -04:00
delete.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
delete_flags.go move resource builder to generic options 2018-05-10 14:15:12 -04:00
delete_test.go move old dynamic client to deprecated-client 2018-05-11 08:00:46 -04:00
describe.go fix missing flag value bindings in kubectl 2018-05-14 14:38:54 +08:00
describe_test.go simplify api registration 2018-05-08 18:33:50 -04:00
diff.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
diff_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
drain.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
drain_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
edit.go Switch kubectl resource completion to discovery 2018-05-04 09:57:36 -04:00
edit_test.go move resource builder to generic options 2018-05-10 14:15:12 -04:00
exec.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
exec_test.go simplify api registration 2018-05-08 18:33:50 -04:00
explain.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
expose.go Merge pull request #64113 from juanvallejo/jvallejo/remove-uneeded-factory-methods 2018-05-21 21:41:24 -07:00
expose_test.go simplify api registration 2018-05-08 18:33:50 -04:00
help.go some code change 2017-12-25 16:23:38 +08:00
label.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
label_test.go simplify api registration 2018-05-08 18:33:50 -04:00
logs.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
logs_test.go start splitting polymorphic functions out of the factory 2018-05-17 08:55:31 -04:00
options.go
patch.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
patch_test.go simplify api registration 2018-05-08 18:33:50 -04:00
plugin.go remove single use, non-polymorphic helpers from factory 2018-05-15 15:05:49 -04:00
plugin_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
portforward.go move additional methods from factory 2018-05-18 11:49:02 -04:00
portforward_test.go simplify api registration 2018-05-08 18:33:50 -04:00
proxy.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
replace.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
replace_test.go simplify api registration 2018-05-08 18:33:50 -04:00
rollingupdate.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
rollingupdate_test.go finish wiring PrintFlags 2018-04-27 21:41:03 +02:00
run.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
run_test.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
scale.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
taint.go move PrintOptions to genericclioptions 2018-05-21 14:59:41 -04:00
taint_test.go simplify api registration 2018-05-08 18:33:50 -04:00
top.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
top_node.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
top_node_test.go simplify api registration 2018-05-08 18:33:50 -04:00
top_pod.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00
top_pod_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
top_test.go use IOStreams for cli commands 2018-05-08 09:02:34 -04:00
version.go update factory interface to overlap with lower RESTClientGetter 2018-05-17 08:27:53 -04:00