CmdID / kubectl / kubectl kuberc
kubectl kuberc set
Set values in the kuberc configuration kubectl reference
11 options Its page in the kubectl reference
Options
--allowlist-entryAllowlist entry the form field=value (can be specified multiple times)--appendargArgument to append to the command (can be specified multiple times, for aliases only)--commandCommand to configure (e.g., 'get', 'create', 'set env')--help, -hhelp for set--kubercPath to the kuberc file to use for preferences.--nameAlias name (required for --section=aliases)--optionFlag option in the form flag=value (can be specified multiple times)--overwriteAllow overwriting existing entries--policyPlugin policy to use for exec credential plugins, must be one of 'AllowAll', 'DenyAll' or 'Allowlist'--prependargArgument to prepend to the command (can be specified multiple times, for aliases only)--sectionSection to modify: 'defaults', 'aliases', or 'credentialplugin'