* fix: [OCISDEV-969] ocis_multi deployment with proper ldap groups (#12466)
fix: ocis_multi deployment with proper ldap groups
(cherry picked from commit 8dc7afc07c)
* feat(app-store): allow ownCloud Marketplace in ocis_multi CSP
Backport the ocis_multi portion of the marketplace CSP allowlisting
introduced in master so csp.yaml and csp-ocm.yaml also permit
connections to the new ownCloud Marketplace domain.
Backports #12793
---------
Co-authored-by: Juan Pablo Villafañez <jpvillafanez@izertis.com>
10 lines
500 B
Bash
10 lines
500 B
Bash
#!/bin/bash
|
|
printenv
|
|
# replace oCIS domain in keycloak realm import
|
|
mkdir /opt/keycloak/data/import
|
|
sed -e "s/ocis.owncloud.test/${OCIS_DOMAIN}/g" -e "s/ocis.ocm.owncloud.test/${OCIS_OCM_DOMAIN}/g" /opt/keycloak/data/import-dist/ocis-realm.json > /opt/keycloak/data/import/oCIS-realm.json
|
|
# sed -e "s/ocis.ocm.owncloud.test/${OCIS_OCM_DOMAIN}/g" /opt/keycloak/data/import-dist/ocis-realm.json > /opt/keycloak/data/import/oCIS-realm.json
|
|
|
|
# run original docker-entrypoint
|
|
/opt/keycloak/bin/kc.sh "$@"
|