k3s/docs/user-guide/kubectl
Kubernetes Submit Queue a3aac42b9a Merge pull request #51636 from deads2k/cli-01-reconcile
Automatic merge from submit-queue (batch tested with PRs 50832, 51119, 51636, 48921, 51712)

add reconcile command to kubectl auth

This pull exposes the RBAC reconcile commands through `kubectl auth reconcile -f FILE`.  When passed a file which contains RBAC roles, rolebindings, clusterroles, or clusterrolebindings, it will compute covers and add the missing rules.

The logic required to properly "apply" rbac permissions is more complicated that a json merge since you have to compute logical covers operations between rule sets.  This means that we cannot use `kubectl apply` to update rbac roles without risking breaking old clients (like controllers).

To solve this problem, RBAC created reconcile functions to use during startup for "stock" roles.  We want to offer this power to users who are running their own controllers and extension servers.

This is an intersection between @kubernetes/sig-auth-misc and @kubernetes/sig-cli-misc
2017-09-02 19:26:25 -07:00
..
kubectl.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_annotate.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_api-versions.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_apply.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_apply_edit-last-applied.md add `kubectl apply edit-last-applied` subcommand 2017-05-26 00:20:48 +08:00
kubectl_apply_set-last-applied.md add apply-set-last-applied subcommand 2017-02-24 11:11:39 +08:00
kubectl_apply_view-last-applied.md Add apply view last-applied subcommand 2017-02-21 20:08:25 +08:00
kubectl_attach.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_auth.md add kubectl can-i to see if you can perform an action 2017-02-23 09:12:35 -05:00
kubectl_auth_can-i.md add kubectl can-i to see if you can perform an action 2017-02-23 09:12:35 -05:00
kubectl_auth_reconcile.md add reconcile command to kubectl auth 2017-08-30 16:04:00 -04:00
kubectl_autoscale.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_certificate.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_certificate_approve.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_certificate_deny.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_cluster-info.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_cluster-info_dump.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_completion.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_current-context.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_delete-cluster.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_delete-context.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_get-clusters.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_get-contexts.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_rename-context.md Add `kubeclt config rename-context` 2017-05-26 15:49:30 -03:00
kubectl_config_set-cluster.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_set-context.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_set-credentials.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_set.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_unset.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_use-context.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_config_view.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_convert.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_cordon.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_cp.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_clusterrole.md Added `kubectl create clusterrole` command. 2017-02-22 10:30:41 +08:00
kubectl_create_clusterrolebinding.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_configmap.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_deployment.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_namespace.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_poddisruptionbudget.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_quota.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_role.md Added generated docs for kubectl create role command. 2017-02-10 13:10:47 +08:00
kubectl_create_rolebinding.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_secret.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_secret_docker-registry.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_secret_generic.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_secret_tls.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_service.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_service_clusterip.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_service_externalname.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_service_loadbalancer.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_service_nodeport.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_create_serviceaccount.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_delete.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_describe.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_drain.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_edit.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_exec.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_explain.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_expose.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_get.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_label.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_logs.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_options.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_patch.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_plugin.md Plugins are loaded under the 'kubectl plugin' command 2017-04-28 01:34:07 -03:00
kubectl_port-forward.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_proxy.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_replace.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rolling-update.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout_history.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout_pause.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout_resume.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout_status.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_rollout_undo.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_run.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_scale.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_set.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_set_env.md Generated documentation for kubectl set env 2017-08-25 19:53:23 +08:00
kubectl_set_image.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_set_resources.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_set_selector.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_set_serviceaccount.md Changes for updating serviceaccount of a resource. 2017-08-14 12:41:19 +05:30
kubectl_set_subject.md add set rolebinding/clusterrolebinding command 2017-05-05 09:55:35 +08:00
kubectl_taint.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_top.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_top_node.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_top_pod.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_uncordon.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00
kubectl_version.md run hack/update-generated-docs.sh to strip munge tags 2017-02-16 10:17:17 -08:00