<p>I have developed an Openshift template which basically creates two objects (A cluster &amp; a container operator).</p>

<p>I understand that templates run <code>oc create</code> under the hood. So, in case any of these two objects already exists then trying to create the objects through template would through an error. Is there any way to override this behaviour? I want my template to re-configure the object even if it exists. </p>

Balajee Venkatesh
<p>You can use "oc process" which renders template into set of manifests:</p>

<pre><code>oc process foo PARAM1=VALUE1 PARAM2=VALUE2 | oc apply -f -
</code></pre>

<p>or</p>

<pre><code>oc process -f template.json PARAM1=VALUE1 PARAM2=VALUE2 | oc apply -f -
</code></pre>
