configmap
Last updated

The create configmap command creates a new ConfigMap in the Kubernetes cluster. This command allows defining key-value pairs, labels, and annotations used for configuration data storage.
cldkctl create configmap [flags]Follow the steps below to run and view the result of this command:
Prepare a YAML file that defines the ConfigMap configuration.
Save this file in the same directory where you will run the cldkctl command.
Use the --file flag to point to the YAML file.
(Optional) To specify a namespace or project, add the --default-namespace or --project flag.
Run the following command in your terminal:
cldkctl create configmap --file [configmap file name]Replace [configmap file name] with the path to your YAML configuration file.
Once completed successfully, a message “✓ ConfigMap created“ will appear in your terminal.

This command supports global flags. Refer to the Global Flags section for details.
-h, --help
Help for configmap.
Last updated