-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
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.
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.