Skip to content

Commit

Permalink
Update vault-backup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatamutyala authored Dec 10, 2023
1 parent 52e0046 commit 2952e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ BASE_JSON='{
}'
UPDATED_JSON=$(echo $BASE_JSON | jq --arg path "secret/$FIRST_SECRET" --argjson kv "$KEY_VALUES" '.path_values_map[$path] = $kv')
echo "Validating Backup now....."
curl glueops-backup-and-exports.glueops-core-backup.svc.cluster.local:8080/api/v1/validate -X POST -d "${UPDATED_JSON}"
curl glueops-backup-and-exports.glueops-core-backup.svc.cluster.local:8080/api/v1/validate --fail-with-body -X POST -d "${UPDATED_JSON}"

0 comments on commit 2952e6e

Please sign in to comment.