Add cluster tag isolation for EFS access points #2003
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.50) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 401 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.359
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2003"
general
weight: 0.35
micahhausler
Depends on #2007.
Is this a bug fix or adding new feature?
New Feature
What is this PR about? / Why do we need it?
Tag every access point the controller creates with <cluster-tag-key>=<cluster-name>, and add --cluster-tag-isolation (disable, backfill, enforce) so a controller can be limited to its own cluster's resources with a tag-based IAM policy.
[efs-csi] Cluster tag isolationwalks the documented rollout on an EKS Pod Identity cluster, changing the controller role's policies for each state and restoring them afterwards. It skips on clusters without a Pod Identity association.What testing is done?
-
disablewithAmazonEFSCSIDriverPolicy: new access points have no cluster tag.-
backfillwith the tag-based and backfill policies: an existing access point gets the cluster tag, and an access point no PV references is left alone.-
enforcewith the tag-based policy only: new access points get the tag, an untagged access point is not reused, and a backfilled one is deleted.docs/cluster-tag-isolation.md:-
backfilltagged EFS and S3 Files access points, and both controller replicas loggedcluster tag backfill complete.-
enforce, then the tag-based node policy:tls,iammounts work, and a file system tagged for another cluster is denied.go vet,helm lintand the helm unit tests (66/66) pass.