Openshift oc tools create configmap template using files

6/27/2019

I am trying to create a configmap using a template And I would like to allow the user to supply multiple files as file name = content

This used to work by using:

oc process template.yml DATA=“P1=${cat file1},P2=${cat file2}”

But in the newer version of pc tools this cannot be done. Anyone aware of a different approach for this?

-- Nick
containers
docker
kubernetes
openshift
openshift-origin

0 Answers