-
Notifications
You must be signed in to change notification settings - Fork 286
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
[Manual Backport 2.x] Manually backports auth tokens, service accounts, and multi tenancy changes #2737
[Manual Backport 2.x] Manually backports auth tokens, service accounts, and multi tenancy changes #2737
Conversation
Are we backporting auth token related changes to 2.x? nit: Can you fix the formatting related changes that were pushed? |
@DarshitChanpura yeah, we have to. The changes are aiming for 2.9 latest. |
Codecov Report
@@ Coverage Diff @@
## 2.x #2737 +/- ##
============================================
- Coverage 61.27% 61.09% -0.18%
+ Complexity 3308 3300 -8
============================================
Files 268 263 -5
Lines 18342 18431 +89
Branches 3245 3259 +14
============================================
+ Hits 11239 11261 +22
- Misses 5527 5591 +64
- Partials 1576 1579 +3
|
f1220bb
to
8514549
Compare
@scrawfor99 Can you look into the random failure? Might be related to an issue @willyborankin is looking into
|
@peternied no problem. |
…oject#2716) * Generate auth tokens for service accounts Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
--------- Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
7404b27
to
a2705c4
Compare
@scrawfor99 yes 10 seconds tiemouts in some of tests. I checked you branch there is no fix in it . |
Moved multi-tenancy to REST API implementation Signed-off-by: Andrey Pleskach <ples@aiven.io>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
Signed-off-by: Stephen Crawford <steecraw@amazon.com>
|
Hi @willyborankin, yeah I know that test is an issue. I am not sure the solution for fixing it off the top of my head either. For the meaintime, this PR should backport your tenancy fix as well my code changes. There were some cross dependencies which made it easier to move things back as a group. Edit: Did not mean to close. |
…s, and multi tenancy changes (#2737) * [Extensions] Generate auth tokens for service accounts (#2716) * Generate auth tokens for service accounts Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> * Security User Refactor (#2594) --------- Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> * Backport service account changes Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Update test Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Optimize imports Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Spotless Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix plugin Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix whitespace Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Fix multitency config update (#2758) Moved multi-tenancy to REST API implementation Signed-off-by: Andrey Pleskach <ples@aiven.io> * Remove SSLCertsAction Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Fix dependency Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix tenancy tests Signed-off-by: Stephen Crawford <steecraw@amazon.com> --------- Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Signed-off-by: Andrey Pleskach <ples@aiven.io> Co-authored-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit fa33fc5)
…s, and multi tenancy changes (#2737) (#2777) * [Extensions] Generate auth tokens for service accounts (#2716) * Generate auth tokens for service accounts Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> * Security User Refactor (#2594) --------- Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> * Backport service account changes Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Update test Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Optimize imports Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Spotless Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix plugin Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix whitespace Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Fix multitency config update (#2758) Moved multi-tenancy to REST API implementation Signed-off-by: Andrey Pleskach <ples@aiven.io> * Remove SSLCertsAction Signed-off-by: Stephen Crawford <steecraw@amazon.com> * Fix dependency Signed-off-by: Stephen Crawford <steecraw@amazon.com> * fix tenancy tests Signed-off-by: Stephen Crawford <steecraw@amazon.com> --------- Signed-off-by: Stephen Crawford <steecraw@amazon.com> Signed-off-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Signed-off-by: Andrey Pleskach <ples@aiven.io> Co-authored-by: Andrey Pleskach <ples@aiven.io> (cherry picked from commit fa33fc5) Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Description
Manually backports #2716, #2594, and #2758
PRs #2716 and #2594 were directly related with the former building off of the latter.
#2758 is a patch for the failing CI which is required for the CI to pass for this backport. There are a few dependencies on code from #2716 in #2758 so meshing the backports together is probably the most efficient way to move the code.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.