Skip to content

Commit

Permalink
increase ttl and attemps
Browse files Browse the repository at this point in the history
Signed-off-by: FedeNQ <[email protected]>
  • Loading branch information
FedeNQ committed Jul 5, 2023
1 parent 7461a77 commit c4901bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions it/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fingerprint () {
}

wait () {
max_attempts=20
max_attempts=40

for ((attempt = 1; attempt <= max_attempts; attempt++)); do
if docker compose exec "$1" test -s "$2"; then
Expand Down Expand Up @@ -43,7 +43,7 @@ docker compose exec spire-server ./bin/spire-server entry create \
-spiffeID spiffe://example.org/client \
-selector unix:uid:72 \
-dns client \
-ttl 150
-ttl 300

docker compose exec spire-server ./bin/spire-server entry create \
-parentID "spiffe://example.org/spire/agent/x509pop/${FINGERPRINT}" \
Expand Down
2 changes: 1 addition & 1 deletion it/change-entry-client-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ bad-entry(){
-parentID $PARENTID \
-spiffeID spiffe://example.org/client \
-selector unix:uid:72 \
-ttl 150 \
-ttl 300 \
-dns testuser1

echo "Entry changed, now with dns=testuser1"
Expand Down

0 comments on commit c4901bd

Please sign in to comment.