OpenShift LDAP Group Sync fails when created from a template

Solution Verified - Updated -

Issue

  • Error mentioned below is reported while creating a template.
$ oc process -f ldap-groupsync-template.yaml  -p NAMESPACE='ldap-group-sync' -p IMAGE="registry.redhat.io/openshift4/ose-cli"  -p IMAGE_TAG="v4.11" | oc create -f-
error: failed to read input object (not a Template?): resource mapping not found for name: "cronjob-ldap-group-sync" namespace: "" from "ldap-groupsync-template.yaml": no matches for kind "Template" in version "v1"
ensure CRDs are installed first
error: no objects passed to create

Environment

  • Red Hat OpenShift Container Platform
    • 4.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content