# Create a new configmap named my-config based on folder barkubectlcreateconfigmapmy-config--from-file=path/to/bar# Create a new configmap named my-config with specified keys instead of file basenames on diskkubectlcreateconfigmapmy-config--from-file=key1=/path/to/bar/file1.txt--from-file=key2=/path/to/bar/file2.txt# Create a new configmap named my-config with key1=config1 and key2=config2kubectlcreateconfigmapmy-config--from-literal=key1=config1--from-literal=key2=config2# Create a new configmap named my-config from the key=value pairs in the filekubectlcreateconfigmapmy-config--from-file=path/to/bar# Create a new configmap named my-config from an env filekubectlcreateconfigmapmy-config--from-env-file=path/to/bar.env# Delete a configmap named my-configkubectldeleteconfigmapmy-config