`Oc adm group sync` command generates an empty Item in the yaml output

Solution Verified - Updated -

Issue

When using oc adm group sync command for generating YAML output for later use. The tool generates an empty item to the YAML output that prevents successful parsing later on.

Environment

  • OpenShift Container Platform (OCP) 4.8

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