Repository navigation
fix(helm): Evaluate init.extraContainers templates - #31878
Conversation
There was a problem hiding this comment.
I've completed my review and didn't find any issues.
Need a new review? Comment
/korbit-reviewon this PR and I'll review your latest changes.Korbit Guide: Usage and Customization
Interacting with Korbit
- You can manually ask Korbit to review your PR using the
/korbit-reviewcommand in a comment at the root of your PR.- You can ask Korbit to generate a new PR description using the
/korbit-generate-pr-descriptioncommand in any comment on your PR.- Too many Korbit comments? I can resolve all my comment threads if you use the
/korbit-resolvecommand in any comment on your PR.- Chat with Korbit on issues we post by tagging @korbit-ai in your reply.
- Help train Korbit to improve your reviews by giving a 👍 or 👎 on the comments Korbit posts.
Customizing Korbit
- Check out our docs on how you can make Korbit work best for you and your team.
- Customize Korbit for your organization through the Korbit Console.
Current Korbit Configuration
General Settings
Setting Value Review Schedule Automatic excluding drafts Max Issue Count 10 Automatic PR Descriptions ❌ Issue Categories
Category Enabled Naming ✅ Database Operations ✅ Documentation ✅ Logging ✅ Error Handling ✅ Systems and Environment ✅ Objects and Data Structures ✅ Readability and Maintainability ✅ Asynchronous Processing ✅ Design Patterns ✅ Third-Party Libraries ✅ Performance ✅ Security ✅ Functionality ✅ Feedback and Support
Note
Korbit Pro is free for open source projects 🎉
Looking to add Korbit to your team? Get started with a free 2 week trial here
|
Hi @cin, a few questions:
|
|
I just went with the minimal set of changes initially. I just added rendering of the other deployments' |
|
Any hope of resolving conflicts and bumping the helm chart? Would love to merge this and/or close the issue. I'll convert this to a Draft while it awaits touch-ups but it may eventually be closed as inactive at some point (though you could easily reopen it). |
31c832e to
a02db29
Compare
|
Rebased on master and resolved conflicts. |
|
Approving CI. Looks straightforward, but will need a code owner review from @villebro, who knows far more about helm than lil' ol' me. |
8dffa58 to
5afc179
Compare
|
CodeAnt AI is reviewing your PR. |
|
CodeAnt AI finished reviewing your PR. |
💡 Enhance Your PR ReviewsWe noticed that 3 feature(s) are not configured for this repository. Enabling these features can help improve your code quality and workflow: 🚦 Quality GatesStatus: Quality Gates are not enabled at the organization level 🎫 Jira Ticket ComplianceStatus: Jira credentials file not found. Please configure Jira integration in your settings ⚙️ Custom RulesStatus: No custom rules configured. Add rules via organization settings or .codeant/review.json in your repository Want to enable these features? Contact your organization admin or check our documentation for setup instructions. |
|
FYI: this fix matters even more now that we need to run the MCP server as a sidecar. We need to be able to templatize the image at a minimum. extraContainers:
- name: superset-mcp
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" |
Code Review Agent Run #bdf69cActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
Hi @cin — CI is failing on
The chart testing action requires 1. Bump version: 0.15.62. Regenerate cd helm/superset
helm-docs(If you don't have helm-docs locally, the pre-commit hook will also auto-run it when you commit.) Those two changes should turn |
Code Review Agent Run #d6c9a1Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
@cin sorry to be a broken record, but this has drifted into conflicts again. Sorry, and thanks for the patience. One more rebase and I think we can finally get @villebro to look. The tpl change itself looks right to me. Let me know if you want me to take over the rebasing part (assuming I can push to your branch). |
|
I merged master, updated the chart version and readme. LMK if you need anything else. |
rusackas
left a comment
There was a problem hiding this comment.
LGTM, thanks for seeing it through. The helm chart support is being phased out in favor of the Kubernetes Operator, but I think this is all well and good for those using it now.
|
Other codeowners (e.g. @villebro) will need to approve this to merge it. |
|
I'll be happy to not have to maintain my own fork for this feature. :) Thanks for pushing it through (or trying anyway) @rusackas! Now I need to look into the k8s operator apparently... |
Code Review Agent Run #65a4f7Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
User description
SUMMARY
Fixes #31877. This PR simply renders templates in
init.extraContainers.TESTING INSTRUCTIONS
Create an extraContainers config that contains templates that need to be rendered.
ADDITIONAL INFORMATION
init.extraContainers#31877CodeAnt-AI Description
Render templates inside extraContainers for all deployments and the init job
What Changed
Impact
✅ Extra containers can use chart values✅ Fewer misconfigured pods from unrendered templates✅ Init job and all deployments accept templated extraContainers💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.