-
Notifications
You must be signed in to change notification settings - Fork 66
Support flag to override listening address on serve #76
Copy link
Copy link
Open
Description
Hey there!
I'm attempting to run the credential-helper in a container within Kubernetes where it is a standalone pod in serve mode.
Currently this runs into issues where I'm unable to reach the application running in serve mode due to the listening address binding being hardcoded to 127.0.0.1.
I've ran some manual validation where I've changed: https://github.com/aws/rolesanywhere-credential-helper/blob/main/aws_signing_helper/serve.go#L23 to 0.0.0.0 and this seems to resolve the issue.
To support this use case it would be worthwhile to add an additional startup flag --listening-addr that overrides that value but defaults to localhost to keep the current behavior.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels