Skip to content
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

Enhancement Request - Pass separate template files to oc process #28205

Open
mhtgrwl5 opened this issue Aug 21, 2023 · 4 comments
Open

Enhancement Request - Pass separate template files to oc process #28205

mhtgrwl5 opened this issue Aug 21, 2023 · 4 comments
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@mhtgrwl5
Copy link

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.

@mhtgrwl5
Copy link
Author

/lifecycle frozen

@openshift-ci openshift-ci bot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Aug 21, 2023
@AryanSharma9917
Copy link

Hey @mhtgrwl5, can I work on this issue?

@mhtgrwl5
Copy link
Author

mhtgrwl5 commented Sep 12, 2023

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.

@AryanSharma9917
Copy link

/assign

@AryanSharma9917 AryanSharma9917 removed their assignment Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

2 participants