mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 10:38:00 -05:00
fix(eks): preserve scoped authorization for deletion waiters (#8580)
Deleting an EKS add-on or Fargate profile now keeps only its ARN for IAM authorization, keyed by the cluster's incarnation, so a deletion waiter with a resource-scoped describe grant receives ResourceNotFoundException instead of AccessDeniedException, while an unrelated grant or an explicit deny still gets 403. Describe and list still report the resource as gone, recreation clears the kept ARN and cluster deletion purges it. Resource tags are not kept. Closes #8494
This commit is contained in:
1 parent
0d6aa45d1f
commit
6eb66cd6bf
6 files changed
+147
-6
No files matched your search
@@ -25,6 +25,15 @@ boolean or the text `true` or `false`, such as `"endpointPublicAccess": 1`, is r
|
||||
no value. A structure, list or map of the wrong kind is refused the same way. EKS's own wording
|
||||
for this error has not been measured; Floci answers as the REST JSON services it was measured on do.
|
||||
|
||||
## Deletion waiters and IAM
|
||||
|
||||
After deleting an add-on or Fargate profile, a principal with resource-scoped describe
|
||||
permission receives `ResourceNotFoundException` from its deletion waiter. Floci retains
|
||||
only the deleted ARN for authorization, so unrelated resource grants and explicit denies
|
||||
still return `AccessDeniedException`. This metadata follows the configured EKS storage mode;
|
||||
it is cleared on resource recreation or cluster deletion and is not returned by describe
|
||||
or list operations. Resource tags are not retained for post-deletion policy conditions.
|
||||
|
||||
## Supported Operations
|
||||
|
||||
| Operation | Description |
|
||||
|
||||
Reference in new issue
Block a user