-
Notifications
You must be signed in to change notification settings - Fork 556
Description
Since spire-agent requires compatibility within a specific dot version of spire-server, it would be nice if spire-server exposed an unauthenticated API endpoint that returns the highest recommended client version.
This endpoint must be unauthenticated because a compatible agent may not yet be installed.
This would enable automated spire-agent updates by:
- Querying the spire-server for the recommended agent version
- Installing or upgrading to that specific version via local tooling
For containerized deployments, the version string returned by the API should match the
corresponding container image tag to ensure seamless automation.
In this way I could essentially do a trivial variable substitution to make sure my spire-agent is on a version known to work with the spire-server I've got deployed.
Some of my edge nodes tend to be offline for highly extended periods and may find themselves left with an unusable agent.
To be clear, this is not a request for the spire server to provide the actual client binaries.