-
Notifications
You must be signed in to change notification settings - Fork 435
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
Allow non root resources #454
Allow non root resources #454
Conversation
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.
A few things, but generally this looks okay. I'd like approval from another maintainer as well as this is an API change.
Is it worth running one of the suites with the non default option to make sure that there is always something that tests the option? |
I'd rather add a new test which exercises the option, but if it's complicated it's not necessary. it's a pretty straightforward change. |
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.
LGTM but I'd like a look from @jonny-improbable as well if possible before agreeing to merge this API change.
@johanbrandhorst @jonnyreeves I believe the failed tests are unrelated but let me know if there is anything I'm missing here |
Restarted it |
Will we be able to get some more 👀 on this PR? 🙏 |
🤞 lets hope tests pass |
🔁 |
🔁 |
🙄 ♻️ |
Thanks for your contribution! |
Thank you for the help 👍 |
#453
Changes
Added option
allowNonRootResources
Added a function
WrappedGrpcServer
that encapsulates the logic of getting the gRPC endpoint from http.RequestVerification
Added Unit-Tests that ensure the same behavior for the canonical case
Tested with flag on by default