-
Notifications
You must be signed in to change notification settings - Fork 516
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
Portback apiclient feature flags #4272
base: develop
Are you sure you want to change the base?
Portback apiclient feature flags #4272
Conversation
sources/deny.toml
Outdated
# reqwest brings a set of new dependencies | ||
{ name = "reqwest", version = "=0.12" }, |
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.
this is a pretty unhelpful comment - why are we skipping all of reqwest
's dependencies?
Generally we should only do this if we're including multiple versions of a crate, and we would do this to the older one which is presumably less likely to change in a significant way. But here we still only have one copy of reqwest
.
Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
Add `tls` feature flag to allow consumers of the crate opt-in to TLS connections when required. Additionally, add `fips` feature flag to constrain any TLS connection to FIPS ciphers. Signed-off-by: Arnaldo Garcia Rincon <[email protected]> Signed-off-by: Ben Cressey <[email protected]> (cherry picked from commit d56cc898dd6b03702ef3ec49e1c64b1ec4274718) Signed-off-by: Arnaldo Garcia Rincon <[email protected]>
c397340
to
e5c8007
Compare
Forced push fixes:
|
Issue number:
N / A
Description of changes:
In bottlerocket-os/bottlerocket-core-kit#173, two feature flags were added to
apiclient
in order to support FIPS binaries. Lets port them back to this repo to make keep both repos in sync. I cherry-picked the commit and adjusted as necessary.Testing done:
aws-ecs-2
and confirmed the host joins a cluster and tasks runTerms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.