Skip to content

server: token-based Add/Join functionality#61265

Draft
aaron-crl wants to merge 3 commits intocockroachdb:masterfrom
aaron-crl:aaron-crl_token-add-join
Draft

server: token-based Add/Join functionality#61265
aaron-crl wants to merge 3 commits intocockroachdb:masterfrom
aaron-crl:aaron-crl_token-add-join

Conversation

@aaron-crl
Copy link
Copy Markdown

Draft for add/join handshake development.

Part of #60632

Release justification: None
Release note: None

@aaron-crl aaron-crl requested review from itsbilal and knz March 1, 2021 16:26
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@aaron-crl aaron-crl force-pushed the aaron-crl_token-add-join branch 2 times, most recently from f1be87c to 193a853 Compare March 3, 2021 01:58
@aaron-crl aaron-crl changed the title server: added protobuff definition and placeholder addjoin.go server: token-based Add/Join functionality Mar 3, 2021
@aaron-crl aaron-crl force-pushed the aaron-crl_token-add-join branch 3 times, most recently from 7513117 to fb19b5b Compare March 4, 2021 22:56
Copy link
Copy Markdown
Author

@aaron-crl aaron-crl left a comment

Choose a reason for hiding this comment

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

@itsbilal , I'll rebase this off of #61505 or #61512 once they land.

Otherwise I've squashed things to make things easier on both of us.

I've got stubs which can be replaced with the functions you've already written so feel free to take a look but I'll need to do that rebase before this code settles.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @itsbilal and @knz)

Copy link
Copy Markdown
Author

@aaron-crl aaron-crl left a comment

Choose a reason for hiding this comment

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

Rebased on top of the current version of #61512

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @itsbilal and @knz)

@aaron-crl aaron-crl force-pushed the aaron-crl_token-add-join branch from 1e46a96 to ca0e3ac Compare March 5, 2021 15:50
Aaron Blum added 3 commits March 5, 2021 18:16
* added new protobuf message for add/join protocol
* added CLI command for testing add/join protocol
* added authentication bypass for add/join GRPC endpoint
* added GRP client and server functions for add/join protocol
* removed config dependcy from cert init code where SSLCertDir was fine
* added add/join protocol specific dial options helper in rpc package

Release justification: low, completing functionality behind separate cli command
Release note: None
* removed stubs and dummy functions
* cleaned up TODOs

Release justification: low risk, feature flagged functional enhancement
Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Aaron Blum seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants