Skip to main content

ConfigMap

In Kubernetes or OpenShift, your can add additional configurations to the following resource: configMap This page explains you how.


1. In your manifest repository's main branch, you will find the values.yaml file, it showld be in the following folder structure [environment]/[project]/[application]

2. In the values.yaml file, search for the Additional Customizations section, you will find it like this:


## Additional Customizations #################################################

3. Bellow the section title, add the following configuration and change the values as you need:

  # - ConfigMap
configMap:
enabled: false
additionalLabels:
#key: value
annotations:
#key: value
path: /tmp/config.json
data: |
# Here your config content
{
host: "localhost",
port: 8080,
protocol: "https"
}
#####

4. Commit and enjoy! ✨