args: ["-g", "--", "/usr/local/bin/toolbox.sh"]
imagePullPolicy: IfNotPresent
env:
- - name: ROOK_ADMIN_SECRET
+ - name: ROOK_CEPH_USERNAME
valueFrom:
secretKeyRef:
name: rook-ceph-mon
- key: admin-secret
+ key: ceph-username
+ - name: ROOK_CEPH_SECRET
+ valueFrom:
+ secretKeyRef:
+ name: rook-ceph-mon
+ key: ceph-secret
securityContext:
privileged: true
volumeMounts:
+ - mountPath: /etc/ceph
+ name: ceph-config
- mountPath: /dev
name: dev
- mountPath: /sys/bus
items:
- key: data
path: mon-endpoints
+ - name: ceph-config
+ emptyDir: {}
+ tolerations:
+ - key: "node.kubernetes.io/unreachable"
+ operator: "Exists"
+ effect: "NoExecute"
+ tolerationSeconds: 5