From 4b3373f76fc0dd2535aea70aee8ab0086d1f8577 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 8 Jun 2023 10:29:45 +0100 Subject: [PATCH] Fix namespace on flux-pause Signed-off-by: Marcus Noble --- home/.bin/flux-pause | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.bin/flux-pause b/home/.bin/flux-pause index 46a4f40..b61cd23 100755 --- a/home/.bin/flux-pause +++ b/home/.bin/flux-pause @@ -50,9 +50,9 @@ do printf "Pausing '${RESOURCE}'..." if [[ "${VERBOSE}" == "true" ]]; then echo "" - flux suspend kustomization ${RESOURCE} || true + flux suspend kustomization ${NAMESPACES} ${RESOURCE} || true else - flux suspend kustomization ${RESOURCE} &> /dev/null || true + flux suspend kustomization ${NAMESPACES} ${RESOURCE} &> /dev/null || true printf " ✅" fi echo ""