New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass separate template files to oc process? #21190

Open
lomholdt opened this Issue Oct 8, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@lomholdt

lomholdt commented Oct 8, 2018

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 v3.6.173.0.83
kubernetes v1.6.1+5115d708d7
features: Basic-Auth

Server https://openshift
openshift v3.7.64
kubernetes v1.7.6+a08f5eeb62
Steps To Reproduce

oc process -f deploymentconfig.yaml -f service.yaml

Current Result

Only one of the resources is outputted

Expected Result

A complete list of the resources inputted

Additional Information

N/A

@soltysh

This comment has been minimized.

Show comment
Hide comment
@soltysh

soltysh Oct 8, 2018

Member

It's not a bug, that's how this was originally written, though I agree we should allow multiple, changing to enhancement.

Member

soltysh commented Oct 8, 2018

It's not a bug, that's how this was originally written, though I agree we should allow multiple, changing to enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment