6.3.3. 创建 LDAP secret
要使用身份提供程序,您必须定义一个包含 bindPassword 字段的 OpenShift Container Platform Secret 对象。
定义包含
bindPassword字段的 OpenShift Container PlatformSecret对象。$ oc create secret generic ldap-secret --from-literal=bindPassword=<secret> -n openshift-config注意包含
--from-literal参数的 bindPassword 的 secret 键必须名为bindPassword,如上述命令所示。