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}'..."
|
printf "Pausing '${RESOURCE}'..."
|
||||||
if [[ "${VERBOSE}" == "true" ]]; then
|
if [[ "${VERBOSE}" == "true" ]]; then
|
||||||
echo ""
|
echo ""
|
||||||
flux suspend kustomization ${RESOURCE} || true
|
flux suspend kustomization ${NAMESPACES} ${RESOURCE} || true
|
||||||
else
|
else
|
||||||
flux suspend kustomization ${RESOURCE} &> /dev/null || true
|
flux suspend kustomization ${NAMESPACES} ${RESOURCE} &> /dev/null || true
|
||||||
printf " ✅"
|
printf " ✅"
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user