From 410524a5da1a097ec9cc12f6fadffdc124c39b60 Mon Sep 17 00:00:00 2001 From: GeorgeRaven Date: Thu, 15 May 2025 22:33:13 +0100 Subject: [PATCH] Fixed pods variable --- Taskfile.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 29adbfe3..67511d45 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -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}'