-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
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.
components/datadog/agent/docker.go
Outdated
if p.FIPS { | ||
p.FullImagePath += "-fips" | ||
} | ||
}(params) |
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.
❓ question
How does this work if both jmx and fips are set?
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.
It produces -fips-jmx
suffix, that matches the naming scheme for our images. (defers run in the opposite order compared to source code).
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.
What about having them in a single defer function? Might help with readability
Co-authored-by: pducolin <[email protected]>
/merge |
Devflow running:
|
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