feat: allow vpcTag to be specified to override tag#5845
feat: allow vpcTag to be specified to override tag#5845oilbeater merged 3 commits intokubeovn:masterfrom
Conversation
Summary of ChangesHello @6ixfalls, 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 Helm charts for Kube-OVN by providing a dedicated configuration option to specify the image tag 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
|
Signed-off-by: Six <23470032+6ixfalls@users.noreply.github.com>
There was a problem hiding this comment.
Code Review
This pull request introduces a new vpcTag value to allow overriding the image tag for the vpc-nat-gateway, which is useful for digest-based image references. The implementation is correct, using the Helm or function as a fallback to the existing tag value across both kube-ovn and kube-ovn-v2 charts. The associated documentation and default values have also been updated accordingly. I've noted one minor issue regarding an unrelated documentation change that should ideally be in a separate PR to keep the history clean.
|
I think vpcNatImageTag is much more clear than vpcTag |
|
I named it vpcTag after the other vpcRepository. Should I change both or just vpcTag? |
Both, thanks! |
Actually, imageTag should be redundant since the keys are under global.images.kubeovn. If anything, it may make more sense to move it as such: I'm not sure what support_arm and thirdparty are used for, they don't show up in any search results. Should I remove those too? |
you can search it in the code, to check if something is using |
Signed-off-by: Bryan Lee <me@bryanl.ee>
|
@zbb88888 ready |
|
@6ixfalls I'm sorry for the bikeshedding, but when I refactored the v2 Helm Chart, I didn't really plan on the current image overriding system to stay as is. It is largely a remnant of the v1 chart.
I think the VPC NAT gateway image should be configured in the natGw section, as this is also where the image for the BGP speaker is configured. We shouldn't use the global registry address, but just like for the BGP speaker, use the whole address specified by the user. |
Pull Request Test Coverage Report for Build 19064369172Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Signed-off-by: Bryan Lee <me@bryanl.ee>
|
Thank you, looks good to me! |

Pull Request
What type of this PR
Examples of user facing changes:
Allows the tag for the vpcRepository image (vpc-nat-gateway) to be overriden. Useful when the image tags are using digest references, since the tag for the kubeovn image can't be reused for vpc-nat-gateway.