Skip to content

Add version endpoint#17506

Merged
skpratt merged 4 commits into
mainfrom
skpratt/fips-version-checks
May 30, 2023
Merged

Add version endpoint#17506
skpratt merged 4 commits into
mainfrom
skpratt/fips-version-checks

Conversation

@skpratt
Copy link
Copy Markdown
Contributor

@skpratt skpratt commented May 30, 2023

Description

This adds a simple endpoint to surface version info via the API, which previously has only been available via CLI.
This is intended as a convenience for operators and tools to quickly get version information.

Testing & Reproduction steps

➜ curl 127.0.0.1:8500/v1/agent/version
{"SHA":"f084646504+CHANGES","BuildDate":"2023-05-30T15:02:42Z","HumanVersion":"1.16.0-dev","FIPS":""}

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@github-actions github-actions Bot added theme/api Relating to the HTTP API interface type/docs Documentation needs to be created/updated/clarified labels May 30, 2023
@skpratt skpratt requested a review from eikenb May 30, 2023 17:23
@skpratt skpratt marked this pull request as ready for review May 30, 2023 17:23
@skpratt skpratt requested a review from a team as a code owner May 30, 2023 17:23
Copy link
Copy Markdown
Contributor

@eikenb eikenb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Contributor

@boruszak boruszak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Approving edits to index.mdx on behalf of consul-docs

Copy link
Copy Markdown
Contributor

@boruszak boruszak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Approving edits to index.mdx on behalf of consul-docs

@skpratt skpratt merged commit e559c59 into main May 30, 2023
@skpratt skpratt deleted the skpratt/fips-version-checks branch May 30, 2023 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme/api Relating to the HTTP API interface type/docs Documentation needs to be created/updated/clarified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants