Skip to content

Commit

Permalink
Merge pull request #9425 from rook/mergify/bp/release-1.8/pr-9423
Browse files Browse the repository at this point in the history
build: updating tini init command in direct mount toolbox (backport #9423)
  • Loading branch information
mergify[bot] committed Dec 14, 2021
2 parents 9dbcd2f + 2a891a8 commit 54f3008
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy/examples/direct-mount.yaml
Expand Up @@ -19,9 +19,10 @@ spec:
containers:
- name: rook-direct-mount
image: rook/ceph:v1.8.0
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:
Expand All @@ -35,6 +36,7 @@ spec:
key: ceph-secret
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- mountPath: /dev
name: dev
Expand Down

0 comments on commit 54f3008

Please sign in to comment.