Created
July 17, 2018 23:59
-
-
Save ndavison/2bf9d269bc06ad8ae16a313bc3b9db1e to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# | |
# This updates the CF ups-dm-common app's env vars. You need to make sure | |
# the below JSON encoded object contains *all* the env vars, as this is a | |
# complete replacement. | |
# | |
cf update-user-provided-service ups-dm-common -p @<(cat <<EOF | |
{ | |
"ENV_VAR_EXAMPLE_1": "xxx", | |
"ENV_VAR_EXAMPLE_2": "yyy" | |
} | |
EOF | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment