Adding some logs to debug for deployment
These awk get ugglies and ugglier. As always can solve this some other
way. But this should work at least forn now ^^
@@ -66,3 +66,9 @@ kubectl get -n $NS khs -o yaml
echo "get all \n"
kubectl get -n $NS all
+
+echo "completed deployment logs"
+oc -n $NS logs $(oc get pod -n $NS -l kuberhealthy-check-name=deployment |grep Completed |tail -1 |awk '{print $1}')
+
+echo "Error deployment logs"
+oc -n $NS logs $(oc get pod -n $NS -l kuberhealthy-check-name=deployment |grep Error |tail -1 |awk '{print $1}')
