Skip to content

Commit

Permalink
fix(?): propegate json from file (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
trev-dev committed May 16, 2024
1 parent 0bddc46 commit 22e3f35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/config/update-configmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,13 @@ D365_CONFIGURATION=$(jq << JSON
JSON
)
readonly D365_CONFIGURATION
echo "$D365_CONFIGURATION" > /tmp/appsettings.json

echo
echo Creating D365 config map "$APP_NAME-d365api-$ENV_VAL-config-map"
oc create -n "$OPENSHIFT_NAMESPACE" configmap \
"$APP_NAME-d365api-$ENV_VAL-config-map" \
--from-literal="appsettings.json=$D365_CONFIGURATION" \
--from-file="appsettings.json=/tmp/appsettings.json" \
--dry-run -o yaml | oc apply -f -

echo
Expand Down

0 comments on commit 22e3f35

Please sign in to comment.