<p>I need to do configs for Openshift and Kubernetes in one repo. I use Templates in Openshift, but Kubernetes can't understand what a Template is. What can I use that will work in both OpenShift and vanilla Kubernetes?</p>

Mankasss
<p>As you noted, <code>Templates</code> is an OpenShift-specific resource. I would not recommend using it but instead use something like <a href="https://kustomize.io/" rel="nofollow noreferrer">Kustomize</a> to do templating for both OpenShift and also for Kubernetes.</p>
<p>Since Kubernetes 1.14, there is the <code>kubectl kustomize</code> command built in, so you do not even need to install another tool for it.</p>
<p>Here is a basic tutorial for Kustomize in the Kubernetes documentation: <a href="https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/</a></p>
