Getting error "yaml: mapping values are not allowed in this context" while syncing LDAP groups in OpenShift
Issue
When running LDAP group synchronization in OpenShift, this error occurs:
$ oc adm groups sync --confirm --sync-config=/ldap-sync/config/ldap-group-sync.yml
error: could not parse file /ldap-sync/config/ldap-group-sync.yml: yaml: mapping values are not allowed in this context
Environment
- Red Hat OpenShift Container Platform (OCP)
- 4.x
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.