-
-
Save bechampion/3c48b4447acf4e746e84bcff31ab7f50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: jenkins.io/v1alpha2 | |
kind: Jenkins | |
metadata: | |
name: custom | |
spec: | |
groovyScripts: | |
configurations: | |
- name: jenkins-operator-user-configuration-sporting | |
configurationAsCode: | |
configurations: | |
- name: jenkins-operator-user-configuration-ldap | |
master: | |
plugins: | |
- name: "ldap" | |
version: "1.20" | |
- name: "blueocean" | |
version: "1.19.0" | |
... | |
and the configmap looks like | |
.... | |
apiVersion: v1 | |
data: | |
ldap.yaml: | | |
jenkins: | |
securityRealm: | |
ldap: | |
configurations: | |
- groupMembershipStrategy: | |
fromUserRecord: | |
attributeName: "memberOf" | |
inhibitInferRootDN: false | |
rootDN: "dc=acme,dc=org" | |
server: "ldaps://ldap.acme.org:1636" | |
kind: ConfigMap | |
metadata: | |
creationTimestamp: "2019-10-03T12:44:02Z" | |
labels: | |
app: jenkins-operator | |
jenkins-cr: custom | |
watch: "true" | |
name: jenkins-operator-user-configuration-ldap | |
namespace: default | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment