|
|
@@ -1,2 +1,13 @@
|
|
|
-kubectl create ns rook-ceph
|
|
|
-kubectl create -n rook-ceph -f operator.yaml -f cluster.yaml
|
|
|
+#!/bin/bash
|
|
|
+#
|
|
|
+# Some things don't work if the namespace isn't set to rook-ceph
|
|
|
+NS="rook-ceph"
|
|
|
+
|
|
|
+
|
|
|
+kubectl create ns ${NS}
|
|
|
+
|
|
|
+kubectl label ns ${NS} pod-security.kubernetes.io/enforce=privileged
|
|
|
+kubectl label ns default pod-security.kubernetes.io/enforce=privileged
|
|
|
+
|
|
|
+kubectl create -n ${NS} -f operator.yaml -f cluster.yaml
|
|
|
+
|