I'm writing a yaml file to create a pod. And i have to pass multiple json files into the docker container.
How can i pass these files into the yaml file dynamically?
3 weeks ago - last edited 2 weeks ago
you can pass in the from-file argument multiple times to create a ConfigMap from multiple data sources. kubectl get configmap game-config-env-file -o YAML to use in the ConfigMap and <path-to-file> is the location of the data source file.