Skip to content

Commit

Permalink
Merge pull request #3303 from pachyderm/fix-aws-deploy-script
Browse files Browse the repository at this point in the history
Fix aws deploy script
  • Loading branch information
brycemcanally committed Dec 19, 2018
2 parents 5cfbf6d + 15ce0b0 commit a02fa46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions etc/deploy/aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,13 @@ config_path="${HOME}/.pachyderm/config.json"
[[ -d "${HOME}/.pachyderm" ]] || mkdir "${HOME}/.pachyderm"
[[ -e "${config_path}" ]] || {
echo '{}' >"${config_path}"
chmod 777 "${config_path}"
}
tmpfile="$(mktemp $(pwd)/tmp.XXXXXXXXXX)"
jq --monochrome-output \
".v1.pachd_address=\"${K8S_MASTER_DOMAIN}:30650\"" \
"${config_path}" \
>"${tmpfile}"
mv "${tmpfile}" "${config_path}"
chmod 777 "${config_path}"

echo "Cluster address has been written to ${config_path}"
echo "Cluster info has been written to ${cluster_info_path}"

0 comments on commit a02fa46

Please sign in to comment.