rook-ceph: Update toolbox pod config
Password env var changed from `ROOK_ADMIN_SECRET` to
`ROOK_CEPH_SECRET` and the keys from secret is changed from
`admin-secret` to `ceph-secret`.
There is additional env var that is needed for username exposed as
`ROOK_CEPH_USERNAME` and comes from the secret key `ceph-username`.
@@ -191,11 +191,16 @@ spec:
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
volumeMounts:
- mountPath: /etc/ceph
name: ceph-config
