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 시크릿 생성
ID 공급자를 사용하려면 bindPassword
필드가 포함된 OpenShift Container Platform Secret
오브젝트를 정의해야 합니다.
절차
bindPassword
필드가 포함된Secret
오브젝트를 생성합니다.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
1 Copy to Clipboard Copied! - 1
--from-literal
인수에 대한 bindPassword를 포함하는 시크릿 키를bindPassword
라고 해야 합니다.
작은 정보다음 YAML을 적용하여 시크릿을 생성할 수도 있습니다.
apiVersion: v1 kind: Secret metadata: name: ldap-secret namespace: openshift-config type: Opaque data: bindPassword: <base64_encoded_bind_password>
apiVersion: v1 kind: Secret metadata: name: ldap-secret namespace: openshift-config type: Opaque data: bindPassword: <base64_encoded_bind_password>
Copy to Clipboard Copied!