importinto: forbid set external-id explicitly and set it to keyspace name when sem enabled on nextgen#61315
Conversation
|
Hi @D3Hunter. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #61315 +/- ##
================================================
+ Coverage 73.1677% 75.0479% +1.8801%
================================================
Files 1726 1749 +23
Lines 478503 487611 +9108
================================================
+ Hits 350110 365942 +15832
+ Misses 106921 98832 -8089
- Partials 21472 22837 +1365
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: GMHDBJD, hawkingrei, tangenta The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: ref #60418
Problem Summary:
What changed and how does it work?
for import into on nextgen with sem enabled:
external-idexplicitly in the data source S3 urlexternal-idto keyspace name for S3for a nextgen cluster, multiple tenants might share the same role ARN, so when one tenant grant access to its import-into source data bucket, other tenant might also able to see and import it, so we use above strategy to make sure the privileges must be granted to only the specific tenant, by set some expression inside S3 policy, like
external-id = keyspace-name, and we automatically set theexternal-idto the keyspace nameCheck List
Tests
with nextgen and SEM
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.