minor changes
This commit is contained in:
parent
ae2279bcdb
commit
c6b031d32b
@ -47,19 +47,19 @@ let
|
|||||||
mountPoint = mkOption {
|
mountPoint = mkOption {
|
||||||
example = "/mnt/usb";
|
example = "/mnt/usb";
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "Mount point on the container file system";
|
description = "Mount point on the container file system.";
|
||||||
};
|
};
|
||||||
hostPath = mkOption {
|
hostPath = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
example = "/home/alice";
|
example = "/home/alice";
|
||||||
type = types.uniq (types.nullOr types.string);
|
type = types.nullOr types.str;
|
||||||
description = "Location of the host path to be mounted";
|
description = "Location of the host path to be mounted.";
|
||||||
};
|
};
|
||||||
isReadOnly = mkOption {
|
isReadOnly = mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
example = true;
|
example = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "Determine whether the mounted path will be accessed in read-only mode";
|
description = "Determine whether the mounted path will be accessed in read-only mode.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user