-
Notifications
You must be signed in to change notification settings - Fork 109
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
feat: add additional annotations on storage service #823
Conversation
WalkthroughThe changes integrate service configuration capabilities into both the storage configuration and component instantiation. A new Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant Storage
participant StorageService
participant PulumiConverter
Caller->>Storage: Call toInput()
Storage->>StorageService: Call toInput() for service config
StorageService->>PulumiConverter: Convert annotations using pulumix.Val
PulumiConverter-->>StorageService: Return storage.Service object
StorageService-->>Storage: Return service input
Storage-->>Caller: Aggregate and return input including service config
sequenceDiagram
participant ComponentCreator
participant Args
participant Service
participant EnvUpdater
ComponentCreator->>Args: Provide Service annotations & DisableUpgrade (Input)
Args->>Service: Build service metadata with annotations
ComponentCreator->>EnvUpdater: Invoke GetEnvVars()
EnvUpdater->>Service: Retrieve Name and Namespace metadata
Service-->>EnvUpdater: Return metadata
EnvUpdater-->>ComponentCreator: Return POSTGRES_URI based on service metadata
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Definitions (2)deployments/pulumi/pkg/storage/component.go (4)
deployments/pulumi/pkg/config/config.go (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (8)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #823 +/- ##
=======================================
Coverage 82.00% 82.00%
=======================================
Files 137 137
Lines 7512 7512
=======================================
Hits 6160 6160
Misses 1036 1036
Partials 316 316 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
No description provided.