no matches for kind "Template" in version "v1"
Issue
- The OC command line displays an error message when attempting to apply the template YAML file after upgrading the Red Hat OpenShift Container Platform from 3.11 to 4.14:
error: failed to read input object (not a Template?): resource mapping not found for name: "xxxxxx-xxxxxxx-xxxxx" namespace: "" from "template.yml": no matches for kind "Template" in version "v1"
ensure CRDs are installed first
error: no objects passed to apply
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.12+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.