-
Notifications
You must be signed in to change notification settings - Fork 0
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
remove data-plane-gateway implementation and make it a simple proxy #48
Conversation
I've been testing this with a local stack, adding to Tiltfile as:
Things I've tried:
|
Since data-plane-gateway was written: * The connector networking frontend was moved into reactors and significantly improved. * gRPC Web REST handlers were implemented in reactors and gazette. * reactors and gazette implemented first-class fine grain authorizations. Remove the historical implementations of these features, instead updating to the implementations used by reactors and brokers today. Remove authorization checks, and just verify and pass-through an authorization header. Issue #estuary/flow/issues/1627
2d4ef74
to
7959e0d
Compare
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, nice to see so much of this get deleted!
|
||
# Avoid running the data-plane-gateway as root. | ||
USER nonroot:nonroot | ||
USER 65534:65534 |
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.
What does this change do? Why is 65534
better than nonroot
?
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.
doesn't exist in ubuntu:24.04
65534 is nobody
(which curiously also didn't trivially work, but i didn't look into it further)
Since data-plane-gateway was written:
The connector networking frontend was moved into reactors and significantly improved.
gRPC Web REST handlers were implemented in reactors and gazette.
reactors and gazette implemented first-class fine grain authorizations.
Remove the historical implementations of these features, instead updating to the implementations used by reactors and brokers today.
Remove authorization checks, and just verify and pass-through an authorization header.
Issue #estuary/flow/issues/1627