Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mohammed-uddin
Copy link

Description

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.

If it fixes an existing issue (bug or feature), use the following keyword:

Closes: #ISSUE-NUMBER

Type of change

What type of changes does your code introduce to the Prometheus operator? Put an x in the box that apply.

  • 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

Please check the Prometheus-Operator testing guidelines for recommendations about automated tests.

Changelog entry

Please put a one-line changelog entry below. This will be copied to the changelog file during the release process.


Comment on lines +1862 to +1864
// UseFIPSSTSEndpoint enables FIPS mode for AWS STS endpoint.
// +optional
UseFIPSSTSEndpoint *bool `json:"useFipsSTSEndpoint,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// UseFIPSSTSEndpoint enables FIPS mode for AWS STS endpoint.
// +optional
UseFIPSSTSEndpoint *bool `json:"useFipsSTSEndpoint,omitempty"`
// useFIPSSTSEndpoint defines FIPS mode for AWS STS endpoint.
// +optional
UseFIPSSTSEndpoint *bool `json:"useFIPSSTSEndpoint,omitempty"`

Hi @mohammed-uddin small nit. Also you need to run make --always-make format generate to update docs.

@pull-request-size pull-request-size bot added size/M and removed size/S labels Sep 9, 2025
}

if sigv4.UseFIPSSTSEndpoint != nil {
sigv4Cfg = append(sigv4Cfg, yaml.MapItem{Key: "use_fips_sts_endpoint", Value: *sigv4.UseFIPSSTSEndpoint})
Copy link
Contributor

Choose a reason for hiding this comment

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

we would need to check the version of Prometheus to ensure that it supports the field (not sure in which version it was introduced).

Unrelated but it seems that the option isn't documented: https://prometheus.io/docs/prometheus/latest/configuration/configuration/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants