Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of this PR
Examples of user facing changes:
Which issue(s) this PR fixes:
Fixes #(issue-number)
WHAT
🤖 Generated by Copilot at d1ad1e3
This pull request refactors and improves the CNI configuration and the upgrade process for the kube-ovn helm chart. It introduces a new
cni_conf
section invalues.yaml
to customize the CNI parameters, and uses thelookup
function to avoid changing resource requests and limits for existing deployments and daemonsets during upgrades. It also updates the environment variables and the file names to reflect the newcni_conf
section.🤖 Generated by Copilot at d1ad1e3
HOW
🤖 Generated by Copilot at d1ad1e3
controller-deploy.yaml
tocentral-deploy.yaml
and update the CNI-related flags and environment variables for theovn-central
andkube-ovn-controller
deployments (link, link, link, link, link)ovs-ovn
daemonset (link)lookup
function to preserve the existing resource requests and limits for thekube-ovn-cni
daemonset during an upgrade (link)networking
andfunc
sections of thevalues.yaml
file (link, link, link)cni_conf
section to thevalues.yaml
file to group the CNI-related configuration parameters and allow the user to customize them (link)EXCHANGE_LINK_NAME
andENABLE_EIP_SNAT
parameters in thenetworking
section of thevalues.yaml
file to group the EIP-related parameters together and follow the alphabetical order (link)values.yaml
file to improve the formatting and readability (link)