Add SPIRE-backed Prometheus TLS identity and SPIFFE allowlist#6812
Open
aviralgarg05 wants to merge 1 commit intospiffe:mainfrom
Open
Add SPIRE-backed Prometheus TLS identity and SPIFFE allowlist#6812aviralgarg05 wants to merge 1 commit intospiffe:mainfrom
aviralgarg05 wants to merge 1 commit intospiffe:mainfrom
Conversation
(cherry picked from commit 2ec839e) Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
2ec839e to
1deff2a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request check list
Affected functionality
The Prometheus telemetry endpoint TLS support for both SPIRE Server and SPIRE Agent.
This change makes it possible to:
Description of change
This updates the Prometheus telemetry TLS configuration so operators can secure the metrics endpoint using SPIRE-native identity rather than external certificate management and helper processes.
Specifically, the change:
use_spire_svidto let the Prometheus listener present the current rotating SPIRE SVIDauthorized_spiffe_idsto allow only specific SPIFFE IDs to connectcert_file/key_filepath for users who still want to serve the endpoint with a regular web certificateauthorized_spiffe_idswithclient_ca_fileThe configuration examples and telemetry documentation were also updated to describe the new options.
Which issue this PR fixes
Fixes #6780