feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
Showing only changes of commit 5fe584cc5f - Show all commits

View File

@ -63,6 +63,13 @@ spec:
chown 33:33 /var/www/html/config/config.php || true
chown -R 33:33 /var/www/html/data || true
fi
installed="$(su -s /bin/sh www-data -c "php /var/www/html/occ status" 2>/dev/null | awk '/installed:/{print $3}' || true)"
if [ "${installed}" = "true" ]; then
for app in oidc_login external mail; do
su -s /bin/sh www-data -c "php /var/www/html/occ app:install ${app}" || true
su -s /bin/sh www-data -c "php /var/www/html/occ app:enable ${app}" || true
done
fi
env:
- name: POSTGRES_HOST
value: postgres-service.postgres.svc.cluster.local