ConfigMap
Last updated
Last updated
Very similarly to the , you can also mount Kubernetes ConfigMaps on container
deploy actions using the configmap
action type. ().
Example:
This mounts all the keys in the data
field on the my-configmap
action under the /config
directory in the container. In this case, you'll find the file /config/config.properties
there, with the value above (some: data ...
) as the file contents.
You can do the same for tests and tasks using the relative and fields. configmap
volumes can of course also be referenced in kubernetes
and helm
actions, since they are deployed as standard ConfigMap resources.
Take a look at the for more details.