Skip to content

Dynamically create configmaps using multiple files external to charts. #9413

@rao2100

Description

@rao2100

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 =)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions