Skip to content

Commit 43a98f5

Browse files
committed
Adding additional implementations for volumes
1 parent 2d741ec commit 43a98f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ Either way it provides access to the following fields:
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.
279279
* `dynamicPVC()` : a persistent volume claim managed dynamically. It is deleted at the same time as the pod.
280+
* `emptyDirVolume` (default): an empty dir allocated on the host machine
281+
* `hostPathVolume()` : a host path volume
282+
* `nfsVolume()` : a nfs volume
283+
* `persistentVolumeClaim()` : an existing persistent volume claim by name.
280284
* **envVars** Environment variables that are applied to **ALL** containers.
281285
* **envVar** An environment variable whose value is defined inline.
282286
* **secretEnvVar** An environment variable whose value is derived from a Kubernetes secret.
@@ -292,8 +296,8 @@ Either way it provides access to the following fields:
292296
* **runAsGroup** The group ID to run all containers in the pod as.
293297
* **hostNetwork** Use the hosts network.
294298
* **workspaceVolume** The type of volume to use for the workspace.
295-
* `emptyDirWorkspaceVolume` (default): an empty dir allocated on the host machine
296299
* `dynamicPVC()` : a persistent volume claim managed dynamically. It is deleted at the same time as the pod.
300+
* `emptyDirWorkspaceVolume` (default): an empty dir allocated on the host machine
297301
* `hostPathWorkspaceVolume()` : a host path volume
298302
* `nfsWorkspaceVolume()` : a nfs volume
299303
* `persistentVolumeClaimWorkspaceVolume()` : an existing persistent volume claim by name.

0 commit comments

Comments
 (0)