This commit is contained in:
sandervanvugt 2025-03-31 08:00:12 +02:00
parent d522b8453a
commit d9ebf2f9a1

View File

@ -9,7 +9,7 @@ fi
TOTAL=$(( TOTAL + 10 )) TOTAL=$(( TOTAL + 10 ))
# check for the rolebinding to be set correctly # check for the rolebinding to be set correctly
if kubectl get -n access rolebinding -o yaml | grep lab1510role &>/dev/null && kubectl get -n access rolebinding -o yaml | grep lab1510access &>/dev/null if kubectl get -n access rolebinding -o yaml | grep role1510 &>/dev/null && kubectl get -n access rolebinding -o yaml | grep lab1510access &>/dev/null
then then
echo -e "\033[32m[OK]\033[0m\t\t rolebinding is set up the right way" echo -e "\033[32m[OK]\033[0m\t\t rolebinding is set up the right way"
SCORE=$(( SCORE + 10 )) SCORE=$(( SCORE + 10 ))