-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Add bucket rw iam binding #14
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
Conversation
WalkthroughAdds passing of storage bucket name into service_accounts, exports the storage bucket name from storage, grants the GKE service account storage.objectAdmin on that bucket, updates service_accounts to depend on storage, and adds Changes
Sequence DiagramsequenceDiagram
participant Root as Root Configuration
participant Storage as Storage Module
participant Ctrl as Ctrlplane Module
participant SA as Service Accounts Module
participant GCS as Google Cloud Storage
participant GKE as GKE Service Account
Root->>Storage: create bucket
Storage-->>Root: return bucket_name
Root->>Ctrl: pass fqdn, google_auth
Root->>SA: pass bucket_name (depends_on Storage)
SA->>GKE: reference GKE service account (namespaces include ctrlplane-workspace-engine)
SA->>GCS: create IAM member (storage.objectAdmin) on bucket_name for GKE SA
GKE->>GCS: access bucket objects (read/write)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (3)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
a442f5f to
6663302
Compare
|
This PR is included in version 1.11.6 🎉 |
Summary by CodeRabbit