Skip to content

Commit

Permalink
debug - dump full pod YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
adambkaplan committed Nov 5, 2021
1 parent 3939f2b commit ef0d8a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hack/run-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ done

echo "Failed to deploy, dumping operator state"
echo "Dumping pods"
${k8s} get pods -n "${subNamespace}"
${k8s} get pods -n "${catalogNamespace}"
${k8s} get pods -n "${subNamespace}" -o yaml
if [[ ${catalogNamespace} -ne ${subNamespace} ]]; then
${k8s} get pods -n "${catalogNamespace}" -o yaml
fi
echo "Dumping OLM catalog sources"
${k8s} get catalogsources -n "${catalogNamespace}" -o yaml
echo "Dumping OLM subscriptions"
Expand Down

0 comments on commit ef0d8a4

Please sign in to comment.