ceph: fix PSP allowedHostPaths syntax

If you try to uncomment items under 'allowedHostPaths:' and load the file you get an error.
Correct with right syntax, allowedHostPaths need pathPrefix

Signed-off-by: giorgio076 <51814334+giorgio076@users.noreply.github.com>
This commit is contained in:
giorgio076 authored and G Traldi committed 2019-08-06 08:13:26 +02:00
1 parent 86cccaa554
commit dcd7c85a16
1 file changed
+6 -3
+6 -3
View File
@@ -732,9 +732,12 @@ spec:
# allowedHostPaths can be set to Rook's known host volume mount points when they are fully-known
# directory-based OSDs make this hard to nail down
# allowedHostPaths:
# - /run/udev # for OSD prep
# - /dev # for OSD prep
# - /var/lib/rook # or whatever the dataDirHostPath value is set to
# - pathPrefix: "/run/udev" # for OSD prep
# readOnly: false
# - pathPrefix: "/dev" # for OSD prep
# readOnly: false
# - pathPrefix: "/var/lib/rook" # or whatever the dataDirHostPath value is set to
# readOnly: false
# Ceph requires host IPC for setting up encrypted devices
hostIPC: true
# Ceph OSDs need to share the same PID namespace