Creating a Kubernetes ConfigMap
Create Kubernetes ConfigMaps to store non-sensitive information with DuploCloud
PreviousSetting Kubernetes SecretsNextSetting Environment Variables (EVs) from a ConfigMap or Secret
Last updated
Was this helpful?
Create Kubernetes ConfigMaps to store non-sensitive information with DuploCloud
Last updated
Was this helpful?
You can use Kubernetes ConfigMaps to store non-sensitive configuration data as key-value pairs. These values can later be mounted into containers as files or environment variables.
In the DuploCloud Portal, navigate to Kubernetes → Config Maps.
Click Add. The Add Config Map pane displays.
Complete the fields:
Name
Enter a name for the ConfigMap. (e.g., my-config-map
).
Data
Add a key-value pair for each file to include in the ConfigMap, using a colon :
to separate the key (filename) and value (file content).
Example: config.yaml: key1: value1
Click Create to create the ConfigMap.
To use this ConfigMap in your application,.