title | description |
---|---|
How To: create a config map |
Guide on how to create a config map |
- Resources -> Config Maps -> Create Config Map
- Add Config Map to application
YAML file should look like this (Caddyfile example):
volumeMounts:
- mountPath: /etc/Caddyfile
name: test-caddy-conf
subPath: Caddyfile
volumes:
- configMap:
defaultMode: 420
items:
- key: Caddyfile
path: Caddyfile
name: caddy-conf
name: test-caddy-conf