Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified ldap.md for issue #937 #951

Merged
merged 1 commit into from
Feb 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 24 additions & 25 deletions website/content/en/docs/Getting Started/v0.7.x/ldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,31 +77,30 @@ data:
userIdStrategy: "caseInsensitive"
```

> Note the use of `${LDAP_MANAGER_PASSWORD}` above. You can reference
> Kubernetes secrets in your JCasC ConfigMaps by adding the following to your
> Jenkins object:
>
> ```yaml
> kind: Jenkins
> spec:
> configurationAsCode:
> configurations:
> - name: jenkins-casc
> secret:
> # This here
> name: jenkins-casc-secrets
> ```
>
> ```yaml
> apiVersion: v1
> kind: Secret
> metadata:
> name: jenkins-cred-conf-secrets
> stringData:
> LDAP_MANAGER_PASSWORD: <password-for-manager-created-in-ldap>
> ```
>
> Schema reference: [v1alpha2.ConfigurationAsCode](./schema/#github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.ConfigurationAsCode)
>Note the use of `${LDAP_MANAGER_PASSWORD}` above. You can reference
>Kubernetes secrets in your JCasC ConfigMaps by adding the following to your

Jenkins object:

```yaml
kind: Jenkins
spec:
configurationAsCode:
configurations:
- name: jenkins-casc
secret:
# This here
name: jenkins-casc-secrets
```
```yaml
apiVersion: v1
kind: Secret
metadata:
name: jenkins-cred-conf-secrets
stringData:
LDAP_MANAGER_PASSWORD: <password-for-manager-created-in-ldap>
```
Schema reference: [v1alpha2.ConfigurationAsCode](./schema/#github.com/jenkinsci/kubernetes-operator/pkg/apis/jenkins/v1alpha2.ConfigurationAsCode)

Finally you must configure the Jenkins operator to use the manager's
credentials from the AD.
Expand Down