diff --git a/deploy/examples/direct-mount.yaml b/deploy/examples/direct-mount.yaml index ad0af7779ef8..34fe5a54252f 100644 --- a/deploy/examples/direct-mount.yaml +++ b/deploy/examples/direct-mount.yaml @@ -19,9 +19,10 @@ spec: containers: - name: rook-direct-mount image: rook/ceph:master - command: ["/tini"] - args: ["-g", "--", "/usr/local/bin/toolbox.sh"] + command: ["/bin/bash"] + args: ["-m", "-c", "/usr/local/bin/toolbox.sh"] imagePullPolicy: IfNotPresent + tty: true env: - name: ROOK_CEPH_USERNAME valueFrom: @@ -35,6 +36,7 @@ spec: key: ceph-secret securityContext: privileged: true + runAsUser: 0 volumeMounts: - mountPath: /dev name: dev