summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
0e93643)
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6ab7ca12b8036c5a4832e46d651fe2c4f499a4ec
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
source $LIBDIR/logging.sh
source $LIBDIR/common.sh
source $LIBDIR/logging.sh
source $LIBDIR/common.sh
+trap err_exit ERR
+function err_exit {
+ kubectl get all -n baremetal-operator-system
+}
+
# This may be used to update the in-place Bare Metal Operator YAML
# files from the upstream project
function build_source {
# This may be used to update the in-place Bare Metal Operator YAML
# files from the upstream project
function build_source {
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
# Cert-Manager version to use
CERT_MANAGER_VERSION="v1.5.3"
# 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 {
# This may be used to update the in-place cert-manager YAML
# files from the upstream project
function build_source {
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib"
+trap err_exit ERR
+function err_exit {
+ kubectl get all -n ${NAMEPREFIX}-system
+}
+
# This may be used to update the in-place Ironic YAML files from the
# upstream project. We cannot use the upstream sources directly as
# they require an envsubst step before kustomize build.
# This may be used to update the in-place Ironic YAML files from the
# upstream project. We cannot use the upstream sources directly as
# they require an envsubst step before kustomize build.