Tinkerbell.Sandbox/deploy/tls/entrypoint.sh
Gianluca Arbezzano 6ede8cb2e3 initial commit
2020-08-20 13:53:27 +02:00

14 lines
181 B
Bash
Executable File

#!/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
"$@"