-
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
auth-layer-proxy improvements for envoy configuration configurable #47
Conversation
…ipt that is run on initialization that creates the actual config file using the template and the env config variables Signed-off-by: Alfredo Gutierrez <[email protected]>
…ipt that is run on initialization that creates the actual config file using the template and the env config variables Signed-off-by: Alfredo Gutierrez <[email protected]>
Wiz Scan Summary
|
… Scanner on PR review Signed-off-by: Alfredo Gutierrez <[email protected]>
Signed-off-by: Alfredo Gutierrez <[email protected]>
…ssed config in a pretty format. also, fixed the override of the docker-compose.yaml and improvements to the documentation with the latest changes Signed-off-by: Alfredo Gutierrez <[email protected]>
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.
Some suggestions
echo "ENVOY_ADMIN_PORT: $ENVOY_ADMIN_PORT" | ||
echo "PROXY_PORT: $PROXY_PORT" | ||
echo "CLIENT_ID: $CLIENT_ID" | ||
echo "CLIENT_SECRET: $CLIENT_SECRET" |
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.
Q: should we be echoing this?
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.
yes, we should not log the secret, maybe we can obfuscate it and only show the last 4 bytes that could be useful for troubleshooting and make sure that the auth-layer-proxy
is using the correct configuration values.
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.
decided to go for the first 4 chars:
it looks something like this:
CLIENT_SECRET: 0cyY******
✅ Done! 👍
- alphabeticall ordered when possible the config template - wording improments to README.md - obfuscation of client_secret logs Signed-off-by: Alfredo Gutierrez <[email protected]>
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.
LG, 1 clarification
Description:
Changed config of envoy to a template, and added a start-envoy.sh script that is run on initialization that creates the actual config file using the template and the env config variables
changes to the
auth-layer-proxy
to support configuration on deployment, in preparation for the helm charts./etc/envoy/
to keep the standard structure of envoy original image.start-envoy.sh
script instead of directly starting the envoy with custom config.docker-compose.yml
when running it locallyRelated issue(s):
Fixes #49
Notes for reviewer:
Checklist