"oc adm groups sync" is not working as expected if multiple groups point to same LDAP group
Issue
- When using the
oc adm groups sync --type=openshift --sync-config=/config/group_sync.yaml --confirm
command to sync LDAP groups, this works as expected when each group to be synced points to a uniqueopenshift.io/ldap.uid
. However, as soon as there is a second group that points to the sameldap.uid
, only the newly created group gets synced.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.