Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
set -o errexit
set -o nounset
set -o pipefail
tls=""
enableauth=""
helm_tls=""
: "${HELM_BASE_CMD:=helm}"
# Check to see if the we get std err back running a helm version --tls, if no output appeats, set helm_tls, statement looks at text of std err, not return code from command