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.7.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
$ oc create secret generic ldap-secret --from-literal=bindPassword=<secret> -n openshift-config
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意包含
--from-literal
参数的 bindPassword 的 secret 键必须名为bindPassword
,如上述命令所示。