feat(chart): make daemonset update strategy configurable in values.yaml#6136
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 enhances the Kube-OVN Helm chart by making the update strategy for the 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
|
c13f703 to
365b373
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces a new value in values.yaml to make the ovs-ovn DaemonSet's update strategy configurable. The change correctly updates the helper template to use this new value. However, the implementation is incomplete as it doesn't apply the same configurable strategy to the ovs-ovn-dpdk DaemonSet, and it can produce a sub-optimal Kubernetes manifest when the strategy is set to OnDelete. I've left a detailed comment with suggestions for improvement.
Pull Request Test Coverage Report for Build 20810153012Details
💛 - Coveralls |
Signed-off-by: oujonny <jonny@immerda.ch>
365b373 to
9433b65
Compare
|
@oilbeater I would like to see this PR later backported to v1.14.x and 1.15.x charts, can we make this happen somehow? |
|
@oujonny I will cherry-pick it back. |
Pull Request
What type of this PR
Examples of user facing changes:
make ovsOvn daemonset update strategy configurable in values.yaml.
The chart sets it to onDelete if the DaemonSet exists on a cluster, but this Helm functionality is not working within ArgoCD, see: argoproj/argo-cd#5202. Therefore, we would like to have it configurable to manually override the value later, also to onDelete. To not break the existing logic, I suggest keeping the default value of the new variable "RollingUpdate"
Which issue(s) this PR fixes
Fixes #(issue-number)