-
Notifications
You must be signed in to change notification settings - Fork 82
feat(charts): add extra Secrets support for ENV #751
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
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughThis pull request extends Helm chart configuration for both Community Edition (mend-renovate-ce) and Enterprise Edition (mend-renovate-ee) deployments to support loading environment variables from Kubernetes Secrets. The changes add conditional rendering of the Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly Related PRs
Suggested Reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (1)**/*⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (5)
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 |
Similar to #689. this PR adds the ability to pass additional env variables from a secret to deployments.
A use case for this is providing API tokens for self-hosted repositories to later reference in
config.jsNote
Adds
extraEnvFromSecretsto inject env vars from Kubernetes Secrets and rendersenvFromwhen ConfigMaps or Secrets are provided for CE and EE (server/worker).extraEnvFromSecretsvalues and conditional rendering ofenvFromto includesecretRefalongside existingconfigMapRef.mend-renovate-ce(templates/deployment.yaml,values.yaml) andmend-renovate-eeserver/worker (templates/server-deployment.yaml,templates/worker-deployment.yaml,values.yaml).values.yamlfor both charts.Written by Cursor Bugbot for commit 3bd9f03. This will update automatically on new commits. Configure here.
Summary by CodeRabbit