Fix namespace on flux-pause
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
80ee8996de
commit
4b3373f76f
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user