Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
replaced tabs with spaces in README
Browse files Browse the repository at this point in the history
Signed-off-by: Torsten Walter <mail@torstenwalter.de>
  • Loading branch information
torstenwalter committed Feb 14, 2019
1 parent 9b69368 commit 6edce89
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions stable/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ Config as Code changes (to Master.JCasC.ConfigScripts) can either force a new po
When enabling LDAP or another non-Jenkins identity source, the built-in admin account will no longer exist. Since the admin account is used by the sidecar to reload config, in order to use auto-reload, you must change the .Master.AdminUser to a valid username on your LDAP (or other) server. If you use the matrix-auth plugin, this user must also be granted Overall\Administer rights in Jenkins. Failure to do this will cause the sidecar container to fail to authenticate via SSH and enter a restart loop. You can enable LDAP using the example above and add a Config as Code block for matrix security that includes:
```yaml
ConfigScripts:
matrix-auth: |
Jenkins:
authorizationStrategy:
projectMatrix:
grantedPermissions:
- "Overall/Administer:<AdminUser_LDAP_username>"
matrix-auth: |
jenkins:
authorizationStrategy:
projectMatrix:
grantedPermissions:
- "Overall/Administer:<AdminUser_LDAP_username>"
```
You can instead grant this permission via the UI. When this is done, you can set `Master.Sidecars.configAutoReload.enabled: true` and upon the next Helm upgrade, auto-reload will be successfully enabled.

Expand Down

0 comments on commit 6edce89

Please sign in to comment.