Tinkerbell.Sandbox/deploy/tls/entrypoint.sh

14 lines
181 B
Bash
Raw Normal View History

2020-08-20 11:53:27 +00:00
#!/usr/bin/env sh
# set -o errexit -o nounset -o pipefail
if [ -z "${TINKERBELL_TLS_CERT:-}" ]; then
(
echo "creating directory"
mkdir -p "certs"
./gencerts.sh
)
fi
"$@"