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

Adding Envoy variable in order to use FIPS endpoint #656

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Adding Envoy variable in order to use FIPS endpoint #656

merged 2 commits into from
Nov 17, 2022

Conversation

dileepng
Copy link
Contributor

Issue #, if available:

Description of changes:
Added Envoy variable which enables the feature to use FIPS Endpoint

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@bendu bendu left a comment

Choose a reason for hiding this comment

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

ship it

Copy link
Contributor

@joesbigidea joesbigidea left a comment

Choose a reason for hiding this comment

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

Looks great!


func (m *envoyMutator) getUseFipsEndpoint(useFipsEndpoint bool) string {
if useFipsEndpoint {
return "1"

Choose a reason for hiding this comment

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

why we pass String instead of bool here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually Controller takes boolean and it converts into String because Envoy accepts FIPS endpoint as ENV variable which is String. so we are converting and passing it to envoy. If I am not wrong.

Choose a reason for hiding this comment

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

Makes sense, thanks

@dileepng dileepng merged commit 50bde04 into aws:master Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants