mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Fixed pods variable
This commit is contained in:
@@ -58,8 +58,8 @@ tasks:
|
||||
rook-tools:
|
||||
desc: "Exec rook-tools container"
|
||||
cmds:
|
||||
- kubectl -n rook-ceph exec -it ${PODS} -- ceph status
|
||||
- kubectl -n rook-ceph exec -it ${PODS} -- bash
|
||||
- kubectl -n rook-ceph exec -it {{ .PODS }} -- ceph status
|
||||
- kubectl -n rook-ceph exec -it {{ .PODS }} -- bash
|
||||
vars:
|
||||
PODS:
|
||||
sh: kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[*].metadata.name}'
|
||||
|
||||
Reference in New Issue
Block a user