copy configs first, manipulate later - cannot change configmap mounts
All checks were successful
Build OCI Containers / Build Containers (push) Successful in 1m2s

This commit is contained in:
Stefan Harmuth 2024-03-09 17:53:16 +01:00
parent 7e54796d6e
commit 460cd898bd

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash
for cf in /postfix-config/*.cf; do
cat ${cf} > /etc/postfix/`basename ${cf}`;
done
for cf in /etc/postfix/*.cf; do
sed -iE -e 's/%DB_PASSWORD%/${DB_PASSWORD}/g' \
-e 's/%DB_HOST%/${DB_HOST}/g' \