Skip to content

Commit 6495f54

Browse files
committed
Adding ConfigMap and secret values
1 parent 43a98f5 commit 6495f54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,13 @@ Either way it provides access to the following fields:
276276
* **nodeSelector** The node selector of the pod.
277277
* **nodeUsageMode** Either `NORMAL` or `EXCLUSIVE`, this controls whether Jenkins only schedules jobs with label expressions matching or use the node as much as possible.
278278
* **volumes** Volumes that are defined for the pod and are mounted by **ALL** containers.
279+
* `configMapVolume` : a read only volume that is mounted from a ConfigMap.
279280
* `dynamicPVC()` : a persistent volume claim managed dynamically. It is deleted at the same time as the pod.
280281
* `emptyDirVolume` (default): an empty dir allocated on the host machine
281282
* `hostPathVolume()` : a host path volume
282283
* `nfsVolume()` : a nfs volume
283284
* `persistentVolumeClaim()` : an existing persistent volume claim by name.
285+
* `secretVolume` : a read only volume that is mounted from a Kubernetes secret.
284286
* **envVars** Environment variables that are applied to **ALL** containers.
285287
* **envVar** An environment variable whose value is defined inline.
286288
* **secretEnvVar** An environment variable whose value is derived from a Kubernetes secret.
@@ -296,11 +298,13 @@ Either way it provides access to the following fields:
296298
* **runAsGroup** The group ID to run all containers in the pod as.
297299
* **hostNetwork** Use the hosts network.
298300
* **workspaceVolume** The type of volume to use for the workspace.
301+
* `configMapWorkspaceVolume` : a read only volume that is mounted from a ConfigMap.
299302
* `dynamicPVC()` : a persistent volume claim managed dynamically. It is deleted at the same time as the pod.
300303
* `emptyDirWorkspaceVolume` (default): an empty dir allocated on the host machine
301304
* `hostPathWorkspaceVolume()` : a host path volume
302305
* `nfsWorkspaceVolume()` : a nfs volume
303306
* `persistentVolumeClaimWorkspaceVolume()` : an existing persistent volume claim by name.
307+
* `secretWorkspaceVolume` : a read only volume that is mounted from a Kubernetes secret.
304308

305309
## Container template
306310

0 commit comments

Comments
 (0)