Revert "helm chart - allow to add additional trusted domain"

This commit is contained in:
Simon L 2024-02-01 13:23:33 +01:00 committed by GitHub
parent 59d5f839b0
commit 533b8785b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2 additions and 28 deletions

View file

@ -51,12 +51,6 @@ else
fi
echo "$CADDYFILE" > /tmp/Caddyfile
# Remove additional domain if not given
if [ -z "$ADDITIONAL_TRUSTED_DOMAIN" ]; then
CADDYFILE="$(sed '/ADDITIONAL_TRUSTED_DOMAIN/d' /tmp/Caddyfile)"
fi
echo "$CADDYFILE" > /tmp/Caddyfile
# Fix the Caddyfile format
caddy fmt --overwrite /tmp/Caddyfile