How to dynamically create whitelist in group synchronization while running it in a cronjob ?

Solution Verified - Updated -

Issue

  • In some cases it could be interesting to generate dynamically the whitelist of groups to syncrhonize. This could be easily achieved with a script to list the groups to synchronize from ldap. When a cronjob is used, an additional complexity is needed and it will be described in this article.

Environment

  • Red Hat Openshift Container Platform 4.X

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