21.3. グループのプルーニングジョブの実行
クラスターグループレコードがディレクトリーとの一貫性を維持できるように、LDAP サーバー上に存在しなくなった LDAP 同期グループを OpenShift Container Platform から削除するグループプルーニングジョブを実行します。
手順
以下のコマンドを実行して、同期設定ファイルを使用してグループをプルーニングします。
$ oc adm prune groups --sync-config=/path/to/ldap-sync-config.yaml --confirm以下のコマンドを実行し、許可リストファイルを使用してグループをプルーニングします。
$ oc adm prune groups --whitelist=/path/to/whitelist.txt --sync-config=/path/to/ldap-sync-config.yaml --confirm以下のコマンドを実行して、拒否リストファイルを使用してグループをプルーニングします。
$ oc adm prune groups --blacklist=/path/to/blacklist.txt --sync-config=/path/to/ldap-sync-config.yaml --confirm