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

Commit

Permalink
Merge pull request #583 from apcera/fix-pod-volumes-mode
Browse files Browse the repository at this point in the history
spec: Fix pod spec to clarify the 'mode' field is a string
  • Loading branch information
krobertson committed Mar 25, 2016
2 parents 3e46e83 + d1bb17f commit 9bdac40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/pods.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ JSON Schema for the Pod Manifest, conforming to [RFC4627](https://tools.ietf.org
* **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)
* **host** - fulfills a mount point with a bind mount from a **source** directory on the host.
* **source** (string, required if **kind** is "host") absolute path on host to be bind mounted under a mount point in each app's chroot.
* **mode** (integer, optional, only interpreted if **kind** is "empty", defaults to "0755" if unsupplied) indicates the mode permission of the empty volume.
* **mode** (string, optional, only interpreted if **kind** is "empty", defaults to `"0755"` if unsupplied) indicates the mode permission of the empty volume.
* **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.
* **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.
* **isolators** (list of objects of type [Isolator](types.md#isolator-type), optional) list of isolation steps that will apply to this pod.
Expand Down

0 comments on commit 9bdac40

Please sign in to comment.