postgres/rootfs/bin/concat-sans

12 lines
169 B
Plaintext
Executable File

#!/usr/bin/with-contenv sh
SAN_DOMAINS=""
export IFS=";"
for SAN in ${POSTGRES_SAN}
do
SAN_DOMAINS="${SAN_DOMAINS} --domains=\"${SAN}\""
done
echo ${SAN_DOMAINS}