From de6f9bcf033db6de26444a3af113ed4538d2a22d Mon Sep 17 00:00:00 2001 From: Sverre Boschman Date: Wed, 11 Dec 2019 16:19:40 +0100 Subject: [PATCH] use BITNAMI_DEBUG te enable bash script debugging --- bitnami/etcd/Chart.yaml | 2 +- bitnami/etcd/templates/scripts-configmap.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bitnami/etcd/Chart.yaml b/bitnami/etcd/Chart.yaml index ba7a0083c..843b6cba4 100644 --- a/bitnami/etcd/Chart.yaml +++ b/bitnami/etcd/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: etcd -version: 4.4.5 +version: 4.4.6 appVersion: 3.4.3 description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines keywords: diff --git a/bitnami/etcd/templates/scripts-configmap.yaml b/bitnami/etcd/templates/scripts-configmap.yaml index 8b99d23ab..fc96c0297 100644 --- a/bitnami/etcd/templates/scripts-configmap.yaml +++ b/bitnami/etcd/templates/scripts-configmap.yaml @@ -27,7 +27,7 @@ data: exec 3>&1 exec 4>&2 - if [ ${BASH_DEBUG:-0} -eq 1 ]; then + if [ "${BITNAMI_DEBUG}" = true ]; then echo "==> Bash debug is on" else echo "==> Bash debug is off" @@ -190,7 +190,7 @@ data: exec 3>&1 exec 4>&2 - if [ ${BASH_DEBUG:-0} -eq 1 ]; then + if [ "${BITNAMI_DEBUG}" = true ]; then echo "==> Bash debug is on" else echo "==> Bash debug is off" @@ -216,7 +216,7 @@ data: exec 3>&1 exec 4>&2 - if [ ${BASH_DEBUG:-0} -eq 1 ]; then + if [ "${BITNAMI_DEBUG}" = true ]; then echo "==> Bash debug is on" else echo "==> Bash debug is off" @@ -242,7 +242,7 @@ data: exec 3>&1 exec 4>&2 - if [ ${BASH_DEBUG:-0} -eq 1 ]; then + if [ "${BITNAMI_DEBUG}" = true ]; then echo "==> Bash debug is on" else echo "==> Bash debug is off"