SSO Login is being implemented on this site. Existing users: Your existing password must be reset the first time you login using SSO. Click here to reset your password first before login. Your new username will be your email.

Amazon Web Services

Reply

Passing file reference into yaml file for k8

[ Edited ]
Techie
Posts: 3
1834     0

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?

likithsunny

Re: Passing file reference into yaml file for k8

[ Edited ]
New Member
Posts: 1
1835     0

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.

My Great Lakes

Showing results for 
Search instead for 
Did you mean: 

Recommended for You