X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fcert-manager%2Fcert-manager.sh;h=47afeb75f3e259aecfcf9ac09eb6aee778e9f617;hb=8fcb874a6e5ec52b4a6ac80cb7f34c7baccd8c17;hp=ada4eb605bf449d6a841e29dcc082994ac6d935b;hpb=3132fc5e4d956ad3181a9ec0c5f234581f8947b1;p=icn.git diff --git a/deploy/cert-manager/cert-manager.sh b/deploy/cert-manager/cert-manager.sh index ada4eb6..47afeb7 100755 --- a/deploy/cert-manager/cert-manager.sh +++ b/deploy/cert-manager/cert-manager.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -eux -o pipefail +set -eEux -o pipefail SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))" LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib" @@ -10,6 +10,11 @@ source $LIBDIR/common.sh # Cert-Manager version to use CERT_MANAGER_VERSION="v1.5.3" +trap err_exit ERR +function err_exit { + kubectl get all -n cert-manager +} + # This may be used to update the in-place cert-manager YAML # files from the upstream project function build_source {