Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: updating tini init command in direct mount toolbox #9423

Merged
merged 2 commits into from Dec 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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: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:
Expand All @@ -35,6 +36,7 @@ spec:
key: ceph-secret
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- mountPath: /dev
name: dev
Expand Down