Juju charms don’t create config maps directly - they specify file sets which are mounted at specified locations in the docker images.
Internally, Juju creates a config map volume source to do that. The config map is called:
<appname>-<filesetname>-config
So if the myapp
charm produced a pod spec yaml like this:
files:
- name: foocfg
mountPath: /var/lib/foo
files:
file1: |
[config]
foo: bar
There would be a config map called myapp-foocfg-config
created to back the volume mounted into the pod.