-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix. not supported in docker image. change yq -> sed
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,15 +69,16 @@ spec: | |
# For now, this hardcoding seems enough. | ||
rm -rf aws-reference/openstack aws-reference/decapod-controller aws-reference/admin-tools | ||
rm -rf byoh-reference/openstack byoh-reference/decapod-controller byoh-reference/admin-tools | ||
site_list=$(ls -d */ | sed 's/\///g' | egrep "-reference$") | ||
# Append Keycloak URL and Realm info | ||
KEYCLOAK_DOMAIN="${KEYCLOAK_URL#https://}" | ||
for site in ${site_list} | ||
do | ||
yq -i e ".global.keycloakDomain=\"$KEYCLOAK_DOMAIN\"" $site/lma/site-values.yaml | ||
sed -i "/keycloakDomain:/c\ keycloakDomain: ${KEYCLOAK_DOMAIN}" "$site/lma/site-values.yaml" | ||
sed -i "/realms:/c\ realms: ${CONTRACT_ID}" "$site/lma/site-values.yaml" | ||
done | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "SKTelecom TACO" | ||
git add . | ||
|