This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.10.2. グループのプルーニング
グループのレコードを外部プロバイダーからプルーニングするために、管理者は以下のコマンドを実行できます。
oc adm prune groups \
    --sync-config=path/to/sync/config [<options>]
$ oc adm prune groups \
    --sync-config=path/to/sync/config [<options>]
| オプション | 説明 | 
|---|---|
|   
								  |   ドライランを実行する代わりにプルーニングが実行されることを示します。  | 
|   
								  |   グループブラックリストファイルへのパス。  | 
|   
								  |   グループホワイトリストファイルへのパス 。  | 
|   
								  |   同期設定ファイルへのパス。  | 
prune コマンドが削除するグループを表示するには、以下を実行します。
oc adm prune groups --sync-file=ldap-sync-config.yaml
$ oc adm prune groups --sync-file=ldap-sync-config.yaml
prune 操作を実行するには、以下を実行します。
oc adm prune groups --sync-file=ldap-sync-config.yaml --confirm
$ oc adm prune groups --sync-file=ldap-sync-config.yaml --confirm