Fix missing variable in run-chart-test script

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-07-09 20:24:15 -04:00
parent 6c73d66ae6
commit 5e615efa91
2 changed files with 12 additions and 4 deletions

View file

@ -14,6 +14,13 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
KIND_LOG_LEVEL="1"
if ! [ -z $DEBUG ]; then
set -x
KIND_LOG_LEVEL="6"
fi
set -o errexit set -o errexit
set -o nounset set -o nounset
set -o pipefail set -o pipefail
@ -41,10 +48,10 @@ export KIND_CLUSTER_NAME=${KIND_CLUSTER_NAME:-ingress-nginx-dev}
export KUBECONFIG="${KUBECONFIG:-$HOME/.kube/kind-config-$KIND_CLUSTER_NAME}" export KUBECONFIG="${KUBECONFIG:-$HOME/.kube/kind-config-$KIND_CLUSTER_NAME}"
# Disable execution if running as a Prow job # Disable execution if running as a Prow job
#if [[ ! -z ${PROW_JOB_ID:-} ]]; then if [[ ! -z ${PROW_JOB_ID:-} ]]; then
# echo "skipping execution..." echo "skipping execution..."
# exit 0 exit 0
#fi fi
if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then if [ "${SKIP_CLUSTER_CREATION:-false}" = "false" ]; then
echo "[dev-env] creating Kubernetes cluster with kind" echo "[dev-env] creating Kubernetes cluster with kind"

View file

@ -60,6 +60,7 @@ controller:
image: image:
repository: ingress-controller/controller repository: ingress-controller/controller
tag: 1.0.0-dev tag: 1.0.0-dev
digest:
scope: scope:
enabled: true enabled: true
config: config: