Skip to content

Commit

Permalink
resolve issue in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Yacob <[email protected]>
  • Loading branch information
MarcosDY committed Oct 12, 2024
1 parent e1697cb commit 26a7b9a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ while [[ $retry_count -lt $max_retries ]]; do
# Re-fetch the JWT SVID and keys
svid_json=$(docker compose exec spire-agent ./bin/spire-agent \
api fetch jwt -audience aud -output json)
jwt_svid=$(echo $svid_json | jq -c '.[0].svids.[0].svid')
keys=$(echo $svid_json | jq -c '.[1].bundles.["spiffe://domain.test"] | @base64d | fromjson')
jwt_svid=$(echo $svid_json | jq -c '.[0].svids[0].svid')
keys=$(echo $svid_json | jq -c '.[1].bundles["spiffe://domain.test"] | @base64d | fromjson')
fi
done

Expand Down

0 comments on commit 26a7b9a

Please sign in to comment.