Initial commit

This commit is contained in:
2025-11-06 20:28:41 +01:00
commit 5fc4fbcef3
182 changed files with 4742 additions and 0 deletions

16
files/add-secrets.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -o errexit -o pipefail -o noclobber -o nounset -o errtrace -o functrace
file="$1"
if [[ ! -f "${file}" ]]; then
echo "File ${file} does not exist"
exit 1
fi
while read -r line; do
secret="${line%%=*}"
value="${line#*=}"
echo "Adding secret ${secret}"
printf '%s' "${value}" | podman secret create "${secret}" -
done < "${file}"
rm -f "${file}"