CmdID

CmdID / kubectl / kubectl create

kubectl create role

Create a role with single rule kubectl reference

12 options Its page in the kubectl reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

12 in the kubectl reference
--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".
--field-managerName of the manager used to track field ownership.
--help, -hhelp for role
--output, -oOutput format.
--resource-nameResource in the white list that the rule applies to, repeat this flag for multiple items
--resourceResource that the rule applies to
--save-configIf true, the configuration of current object will be saved in its annotation.
--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.
--validateMust be one of: strict (or true), warn, ignore (or false).
--verbVerb that applies to the resources contained in the rule