Enhancement Request - Pass separate template files to oc process
DUPLICATE OF KNOWN ENHANCEMENT - #21190
When I oc process -f template.yaml I would like to split my different objects into several files such as service.yaml, route.yaml, deploymentconfig.yaml. Basically I should be able to do something like oc process -f service.yaml -f route.yaml This is how Kubernetes does it. But when I do it with oc process I get only one of the templates outputted. Is this not possible in oc?
Version
$ oc version Client Version: 4.11.6 Kustomize Version: v4.5.4 Server Version: 4.10.63 Kubernetes Version: v1.23.17+16bcd69
Steps To Reproduce
oc process -f deploymentconfig.yaml -f service.yaml
OR
oc process -f ./
whne we consider folder
Current Result
Only one of the resources is outputted
Expected Result
A complete list of the resources inputted
Additional Information
Not Required.
/lifecycle frozen
Hey @mhtgrwl5, can I work on this issue?
Hi @AryanSharma9917 , I am not working on adding enhancement yet! So, if you are looking forward to pick this up. Please go ahead.
EDIT- I am not a contributor on this project yet! So, if there are any other requirements to work on this. You may need to talk to one of the contributors.
/assign