On Mon, Jul 9, 2018 at 3:56 PM Ben Parees <[email protected]> wrote:

> I was wondering if there was any way to have only some parts of a template
>> processed, for example i want to get the dc/route/is out of the template
>> but not the bc or others,
>>
> no... you'd have to pass the template to oc process, redirect the result
> (a yaml list of resources) to a file and then do your additional
> filtering/parsing.
>

OK thanks, here is a python script that would do the filtering if someone
else would find it useful :

https://gist.github.com/chmouel/1e558420f8c2fd1d1eaaa16a97e46771

Chmouel


>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to