Skip to content
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

AMLII-2213 Add FIPS agent image option #1310

Merged
merged 5 commits into from
Dec 23, 2024
Merged

AMLII-2213 Add FIPS agent image option #1310

merged 5 commits into from
Dec 23, 2024

Conversation

vickenty
Copy link
Contributor

@vickenty vickenty commented Dec 18, 2024

What does this PR do?

Add option to request FIPS-flavored agent image

Which scenarios this will impact?

New e2e JMXFetch tests (TBD) using FIPS JMX agent images

Motivation

Additional Notes

Also expose FIPS and JMX options via command-line config arguments for local testing
The image name is `foo-fips-jmx`. `-fips` must be added to the
suffix first, thus it's defer must come last.
@vickenty vickenty changed the title Vickenty/fips Add FIPS agent image option Dec 18, 2024
@vickenty vickenty marked this pull request as ready for review December 18, 2024 15:21
@vickenty vickenty requested a review from a team as a code owner December 18, 2024 15:21
@vickenty vickenty changed the title Add FIPS agent image option AMLII-2213 Add FIPS agent image option Dec 18, 2024
common/config/environment.go Outdated Show resolved Hide resolved
if p.FIPS {
p.FullImagePath += "-fips"
}
}(params)
Copy link
Contributor

Choose a reason for hiding this comment

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

❓ question
How does this work if both jmx and fips are set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It produces -fips-jmx suffix, that matches the naming scheme for our images. (defers run in the opposite order compared to source code).

Copy link
Contributor

Choose a reason for hiding this comment

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

What about having them in a single defer function? Might help with readability

@vickenty vickenty requested a review from pducolin December 19, 2024 22:55
@vickenty
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Dec 23, 2024

Devflow running: /merge

View all feedbacks in Devflow UI.


2024-12-23 11:54:27 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 2m.


2024-12-23 11:56:41 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 4df403b into main Dec 23, 2024
8 checks passed
@dd-mergequeue dd-mergequeue bot deleted the vickenty/fips branch December 23, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants