I am migrating my deployments to helm right now. For one of our deployments the user would be able to provide custom scripts.
The previous steps were:
kubectl create configmap scripts -n --from-file=./scripts
and then i can mount this as volume in the deployment.
Using helm, i can use --set-file to set a variable to a single file and the use that to create a configmap.
Is there a way to set multiple files dynamically to a variable?
Is there a way to create multiple configmap dynamically when the files are external to the chart?
Thanks in advance =)