still wip

This commit is contained in:
2024-06-23 00:33:29 +02:00
parent baed77e570
commit 5b445ae668
3 changed files with 52 additions and 6 deletions

26
utils/test.sh Normal file → Executable file
View File

@ -1,4 +1,28 @@
#!/bin/bash
kubectl apply -f example*
for f in /*.yaml
do
echo "applying $f ..."
kubectl apply -f "$f"
done
kubectl get secret test-regcred
if [ $? -ne 0 ]; then
echo "Could not find secret test-regcred"
exit 1
fi
kubectl get secret test-scope
if [ $? -ne 0 ]; then
echo "Could not find secret test-scope"
exit 1
fi
kubectl get secret test-secret
if [ $? -ne 0 ]; then
echo "Could not find secret test-secret"
exit 1
fi
kubectl get secret test-template
if [ $? -ne 0 ]; then
echo "Could not find secret test-template"
exit 1
fi