Skip to content

Commit 898715f

Browse files
Stefan Haasopenshift-merge-robot
Stefan Haas
authored andcommitted
Improve wording in the README for CM name env var
1 parent bee5386 commit 898715f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ Now, with v1.0.10 of this plugin, you can change
9898
* Which OpenShift Roles are checked for authorization
9999
* Which Jenkins permissions map to which OpenShift Roles
100100

101-
This plugin will look for a ConfigMap named after the content of the environment variable `CONFIG_MAP_NAME`. The default ConfigMap name when no environment variable is set is "openshift-jenkins-login-plugin-config". Typically, when running Jenkins in an OpenShift Pod, it will look in the namespace that Jenkins is running in. Otherwise, it looks in the namespace specified in the "client ID" as explained in ["Secondary Scenarios" down below.](#secondary-scenarios)
101+
By default, this plugin looks for a ConfigMap named "openshift-jenkins-login-plugin-config" in the namespace that Jenkins is running in. You can override this behavior by specifying an environment variable named `CONFIG_MAP_NAME` that points to a well formatted ConfigMap that contains your custom configuration.
102+
103+
Typically, when running Jenkins in an OpenShift Pod, it will look in the namespace that Jenkins is running in. Otherwise, it looks in the namespace specified in the "client ID" as explained in ["Secondary Scenarios" down below.](#secondary-scenarios)
102104

103105
If this plugin finds and can read in that ConfigMap, it then:
104106

0 commit comments

Comments
 (0)