CmdID / kubectl / kubectl auth
kubectl auth reconcile
Reconciles rules for RBAC role, role binding, cluster role, and cluster role binding objects kubectl reference
11 options Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--dry-runMust be "none", "server", or "client".--filename, -fFilename, directory, or URL to files identifying the resource to reconcile.--help, -hhelp for reconcile--kustomize, -kProcess the kustomization directory.--output, -oOutput format.--recursive, -RProcess the directory used in -f, --filename recursively.--remove-extra-permissionsIf true, removes extra permissions added to roles--remove-extra-subjectsIf true, removes extra subjects added to rolebindings--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.