Skip to content

Commit

Permalink
Merge branch 'main' into release-spiffe-0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlambrecht authored Nov 7, 2024
2 parents a339477 + 6d0849b commit 8ca4155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scripts/run-spire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

# Constants
spire_version="1.10.4"
spire_version="1.11.0"
spire_folder="spire-${spire_version}"
spire_server_log_file="/tmp/spire-server/server.log"
spire_agent_log_file="/tmp/spire-agent/agent.log"
Expand Down Expand Up @@ -50,7 +50,7 @@ wait_for_service "bin/spire-agent healthcheck" "SPIRE Agent" "${spire_agent_log_
# Register workloads
for service in "myservice" "myservice2"; do
echo "Creating entry for '${service}'"
bin/spire-server entry create -parentID ${agent_id} -spiffeID spiffe://example.org/${service} -selector unix:uid:$(id -u) -ttl 5
bin/spire-server entry create -parentID ${agent_id} -spiffeID spiffe://example.org/${service} -selector unix:uid:$(id -u) -x509SVIDTTL 5 -jwtSVIDTTL 5
done

uid=$(id -u)
Expand Down

0 comments on commit 8ca4155

Please sign in to comment.