CmdID

CmdID / kubectl / kubectl create

kubectl create configmap

Create a config map from a local file, directory or literal value kubectl reference

13 options Also kubectl create cm Its page in the kubectl reference

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

Options

13 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.
--append-hashAppend a hash of the configmap to its name.
--dry-runMust be "none", "server", or "client".
--field-managerName of the manager used to track field ownership.
--from-env-fileSpecify the path to a file to read lines of key=val pairs to create a configmap.
--from-fileKey file can be specified using its file path, in which case file basename will be used as configmap key, or optionally with a key and file path, in which case the given key will be used.
--from-literalSpecify a key and literal value to insert in configmap (i.e. mykey=somevalue)
--help, -hhelp for configmap
--output, -oOutput format.
--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).