Skip to content

Commit

Permalink
fix(security): Fix for spiffe-config crashloop (#3947)
Browse files Browse the repository at this point in the history
Signed-off-by: Bryon Nevis <bryon.nevis@intel.com>
  • Loading branch information
bnevis-i authored Apr 7, 2022
1 parent 55703cf commit 1a2a9fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/security-spire-config/seed_builtin_entries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ for service in security-spiffe-token-provider \
app-service-external-mqtt-trigger; do
spire-server entry create -socketPath "${SPIFFE_SERVER_SOCKET}" -parentID "${local_agent_svid}" -dns "edgex-${service}" -spiffeID "${SPIFFE_EDGEX_SVID_BASE}/${service}" -selector "docker:label:com.docker.compose.service:${service}"
done

# Always exit successfully even if couldn't (re-)create server entries.
exit 0

0 comments on commit 1a2a9fb

Please sign in to comment.