Skip to content

Commit 2d64bbb

Browse files
committed
Correct documentation for Mount container edit
Signed-off-by: Evan Lezar <[email protected]>
1 parent a97a05e commit 2d64bbb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

SPEC.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,7 @@ The `containerEdits` field has the following definition:
183183
* `mounts` (array of objects, OPTIONAL) describes the mounts that should be mounted:
184184
* `hostPath` (string, REQUIRED) path of the device on the host.
185185
* `containerPath` (string, REQUIRED) path of the device within the container.
186-
* `readonly` (boolean, OPTIONAL) If set, the mount is read-only.
187-
* `propagation` (string, OPTIONAL) Requested propagation mode, candidates are one of:
188-
* private - No mount propagation ("private" in Linux terminology).
189-
* hostToContainer - Mounts get propagated from the host to the container ("rslave" in Linux terminology).
190-
* bidirectional - Mounts get propagated from the host to the container and from the container to the host ("rshared" in Linux terminology).
186+
* `options` (array of strings, OPTIONAL) Mount options of the filesystem to be used.
191187
* `hooks` (array of objects, OPTIONAL) describes the hooks that should be ran:
192188
* `hookName` is the name of the hook to invoke, if the runtime is OCI compliant it should be one of {createRuntime, createContainer, startContainer, poststart, poststop}.
193189
Runtimes are free to allow custom hooks but it is advised for vendors to create a specific JSON file targeting that runtime

0 commit comments

Comments
 (0)