-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat: add support for configuring use_fips_sts_endpoint in sigv4 config
#7987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nfig Using `AWS_USE_FIPS_ENDPOINT` to configure FIPS endpoint usage no longer works (see prometheus/prometheus#16752). This must be done using the `use_fips_sts_endpoint` config option added in prometheus/common#649. It is also available in the new sigv4 package: https://github.com/prometheus/sigv4. Fixes prometheus-operator#7986 Signed-off-by: Sam McBroom <[email protected]>
simonpasquier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One small nit otherwise as I mentioned in the previous PR, the Prometheus docs would also deserve an update I believe:
Unrelated but it seems that the option isn't documented: https://prometheus.io/docs/prometheus/latest/configuration/configuration/
| // roleArn defines the named AWS profile used to authenticate. | ||
| // +optional | ||
| RoleArn string `json:"roleArn,omitempty"` | ||
| // useFIPSSTSEndpoint defines FIPS mode for AWS STS endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit)
| // useFIPSSTSEndpoint defines FIPS mode for AWS STS endpoint. | |
| // useFIPSSTSEndpoint defines the FIPS mode for the AWS STS endpoint. |
slashpai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sam-mcbr can you address the nit in follow-up PR?
I am merging this we have release today and it looks good to go
|
Will do! Thanks so much! |
Using
AWS_USE_FIPS_ENDPOINTto configure FIPS endpoint usage no longer works (see prometheus/prometheus#16752). This must be done using theuse_fips_sts_endpointconfig option added in prometheus/common#649. It is also available in the new sigv4 package: https://github.com/prometheus/sigv4.Fixes #7986
Description
Allows configuring the
use_fips_sts_endpointoption in the sigv4 config block. We did have a draft PR for this that can be closed: #7986.Closes: #7986
The minimum Prometheus version was determined by:
Type of change
CHANGE(fix or feature that would cause existing functionality to not work as expected)FEATURE(non-breaking change which adds functionality)BUGFIX(non-breaking change which fixes an issue)ENHANCEMENT(non-breaking change which improves existing functionality)NONE(if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)Verification
Added a new unit test entry.
Changelog entry