-
Notifications
You must be signed in to change notification settings - Fork 225
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
feat: Cloud serve #3041
Merged
Merged
feat: Cloud serve #3041
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeorgeMac
approved these changes
May 6, 2024
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.
Working nicely now 👍
I have a PR in the works for reverst to move backoff in there. But we can bump the client version and remove that from here in a later PR.
This reverts commit bb35379.
Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
* feat: impl cloud auth * chore: PR feedback Signed-off-by: Mark Phelps <[email protected]> * chore: fix tests --------- Signed-off-by: Mark Phelps <[email protected]>
Signed-off-by: Mark Phelps <[email protected]>
markphelps
added a commit
that referenced
this pull request
May 13, 2024
* feat: cloud config chore: add config tests and auth chore: add api key for tunnel connection chore: config changes chore: fix server close * chore: mod tidy * chore: remove unused config options for now * feat(cmd/flipt): wire in flipt client listener * chore: revert rm config * feat: Cloud Authn (#3038) * feat: start impl of cloud link * chore: change token param to id_token Signed-off-by: Mark Phelps <[email protected]> * chore: start http server * chore: PR updates Signed-off-by: Mark Phelps <[email protected]> * chore: fix write html Signed-off-by: Mark Phelps <[email protected]> * chore: rm uneeded struct Signed-off-by: Mark Phelps <[email protected]> * chore: fix cue schema Signed-off-by: Mark Phelps <[email protected]> * chore: respond to PR feedback, fix schema * chore: try to fix cli ITs * chore: set min TLS version Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> * feat: Cloud serve (#3041) * feat: start cloud serve command * chore: start flipt with new config * feat: validate JWT; retry reverst connections; check for expiry and existing instance * chore: handle error response * chore: add spinner * Revert "chore: add spinner" This reverts commit bb35379. * chore: dont make org/instance/api key required for now Signed-off-by: Mark Phelps <[email protected]> * chore: fix tests Signed-off-by: Mark Phelps <[email protected]> * feat: impl cloud auth (#3045) * feat: impl cloud auth * chore: PR feedback Signed-off-by: Mark Phelps <[email protected]> * chore: fix tests --------- Signed-off-by: Mark Phelps <[email protected]> * chore: use backoff from reverst * chore: fix build Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> * fix: rm port from cloud host if there (#3060) Signed-off-by: Mark Phelps <[email protected]> * feat: update reverst to v0.1.5 Signed-off-by: George MacRorie <[email protected]> * fix(cloud): handle context canceled healthy shutdown Signed-off-by: George MacRorie <[email protected]> * chore: check for existing instance in cloud (#3062) * chore: check for existing instance in cloud * chore: close body Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> * feat: add cloud audit sink (#3058) * feat: add cloud audit sink * chore: cant enforce auth always for cloud Signed-off-by: Mark Phelps <[email protected]> * feat: make cloud experimental * chore: fix schema * chore: try to fix tests Signed-off-by: Mark Phelps <[email protected]> * chore: fmt audit payload Signed-off-by: Mark Phelps <[email protected]> * chore: basic cloud audit event test Signed-off-by: Mark Phelps <[email protected]> * chore: telemetry test Signed-off-by: Mark Phelps <[email protected]> * chore: change serve command desc Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> * chore: upgrade reverst Signed-off-by: Mark Phelps <[email protected]> --------- Signed-off-by: Mark Phelps <[email protected]> Signed-off-by: George MacRorie <[email protected]> Co-authored-by: George MacRorie <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: FLI-980
Fixes: FLI-985
flipt cloud serve
command to automatically create temp instance in cloud, and setup tunnel automagicallyflipt cloud logout
commandTODO