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.17.2. 运行 LDAP 同步
创建了同步配置文件后,您可以开始同步。OpenShift Container Platform 允许管理员与同一服务器进行多种不同类型的同步。
17.2.1. 将 LDAP 服务器与 OpenShift Container Platform 同步 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
您可以将 LDAP 服务器上的所有组与 OpenShift Container Platform 同步。
先决条件
- 创建同步配置文件。
流程
将 LDAP 服务器上的所有组与 OpenShift Container Platform 同步:
oc adm groups sync --sync-config=config.yaml --confirm
$ oc adm groups sync --sync-config=config.yaml --confirm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意默认情况下,所有组同步操作都是空运行(dry-run),因此您必须在
oc adm groups sync
命令上设置--confirm
标志,才能更改 OpenShift Container Platform 组记录。