Skip to content

[FEATURE] spire server endpoint listing recommended spire-agent version #6352

@jcpunk

Description

@jcpunk

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:

  1. Querying the spire-server for the recommended agent version
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssues with this label are ready to start work but are in need of someone to do itpriority/backlogIssue is approved and in the backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions