Skip to content

oc set env doesn't return a list of objects that can be passed to oc create #11377

Closed
@csrwng

Description

@csrwng

If you run something like:

oc new-app https://myrepo -o yaml | oc set env -f - MYVAR=value -o yaml | oc create -f -

Only the last item in the list is created

Version

oc v1.4.0-alpha.0

Steps To Reproduce

pipe a set of objects through 'oc set env' with -o yaml

Current Result

the set of objects comes out the other end, but not inside a list

Expected Result

the set of objects comes out inside a List so it can be piped to 'oc create'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions