Update logging on minikube test
@@ -115,8 +115,9 @@ kubectl exec vault-0 -- vault write auth/kubernetes/role/secret-challenge \
echo "Deploy secret challenge app"
kubectl apply -f k8s/secret-challenge-vault-deployment.yml
while [[ $(kubectl get pods -l app=secret-challenge -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for secret-challenge" && sleep 2; done
-kubectl expose deployment secret-challenge --type=LoadBalancer --port=8080
+echo "logs from pod to make sure:"
kubectl logs -l app=secret-challenge
+kubectl expose deployment secret-challenge --type=LoadBalancer --port=8080
kubectl port-forward \
$(kubectl get pod -l app=secret-challenge -o jsonpath="{.items[0].metadata.name}") \
8080:8080 \
