Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

Commit 9bdac40

Browse files
committed
Merge pull request #583 from apcera/fix-pod-volumes-mode
spec: Fix pod spec to clarify the 'mode' field is a string
2 parents 3e46e83 + d1bb17f commit 9bdac40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/pods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ JSON Schema for the Pod Manifest, conforming to [RFC4627](https://tools.ietf.org
174174
* **empty** - creates an empty directory on the host and bind mounts it into the container. All containers in the pod share the mount, and the lifetime of the volume is equal to the lifetime of the pod (i.e. the directory on the host machine is removed when the pod's filesystem is garbage collected)
175175
* **host** - fulfills a mount point with a bind mount from a **source** directory on the host.
176176
* **source** (string, required if **kind** is "host") absolute path on host to be bind mounted under a mount point in each app's chroot.
177-
* **mode** (integer, optional, only interpreted if **kind** is "empty", defaults to "0755" if unsupplied) indicates the mode permission of the empty volume.
177+
* **mode** (string, optional, only interpreted if **kind** is "empty", defaults to `"0755"` if unsupplied) indicates the mode permission of the empty volume.
178178
* **uid** (integer, optional, only interpreted if **kind** is "empty", defaults to "0" if unsupplied) indicates the user id that will own the empty volume. Note it is an integer number because each app in the pod would interpret a user name differently.
179179
* **gid** (integer, optional, only interpreted if **kind** is "empty", defaults to "0" if unsupplied) indicates the group id that will own the empty volume. Note it is an integer number because each app in the pod would interpret a group name differently.
180180
* **isolators** (list of objects of type [Isolator](types.md#isolator-type), optional) list of isolation steps that will apply to this pod.

0 commit comments

Comments
 (0)