san domain handling centralised
This commit is contained in:
parent
f6b4c20e4a
commit
51cc43c11d
4 changed files with 17 additions and 10 deletions
11
rootfs/bin/concat-sans
Executable file
11
rootfs/bin/concat-sans
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/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}
|
Loading…
Add table
Add a link
Reference in a new issue