feat(chart): introduce extraEnv variable for all components#6142
feat(chart): introduce extraEnv variable for all components#6142oilbeater merged 1 commit intokubeovn:masterfrom
Conversation
Summary of ChangesHello @oujonny, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly improves the configurability of the Kube-OVN Helm chart by introducing a new Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a new extraEnv values.yaml variable to allow for the injection of extra environment variables into all components of the Helm chart. While this is a useful feature, the implementation has a critical flaw in all the template files. The use of nindent combined with the indentation of the toYaml call will result in incorrectly indented YAML, causing Helm to fail when rendering the chart. I have provided comments with code suggestions in each affected file to correct the indentation, which should resolve the issue.
Pull Request Test Coverage Report for Build 20830893921Details
💛 - Coveralls |
Signed-off-by: oujonny <jonny@immerda.ch>
Signed-off-by: oujonny <jonny@immerda.ch> (cherry picked from commit d44e573)
Signed-off-by: oujonny <jonny@immerda.ch>
|
Backport to release-1.15 and release-1.14 |
Pull Request
What type of this PR
Examples of user facing changes:
introduce extraEnv variable for all components
We are currently hitting this issue #5393 (on ubuntu 22.04.5). Therefore, having this option would make our lives way easier :)
Also, here a back port to v1.14.x and v1.15.x would be required so we can profit from it.
Which issue(s) this PR fixes
Fixes #(issue-number)