-
Notifications
You must be signed in to change notification settings - Fork 33
Multus v4.0 Chart update #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
* intial commit for multus upgrade * intial commit for multus upgrade * Allows manually triggering the workflow
* Trigger GitHub Action * seems to be an issue with whereabouts that needs to be updated * remove the dry-run flag * break out github action per chart
* Trigger GitHub Action * seems to be an issue with whereabouts that needs to be updated * remove the dry-run flag * break out github action per chart * added better support for autoconfig * created new readme file with helm-docs * always create a service account * always create a daemonset * always create a cluster role * always create a cluster role * removed annoation of configmap in favour of using auto config * refactor node selector and tolerations * updated notes * added template for go docs, and updated vaules file for better help ouput * updated chart yaml with corrected urls * updated resources and docs for this config * cleaned up white space for notes
|
Any reason why this PR is not merged yet? |
e0ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Can we merge now this PR? @e0ne |
|
I pulled @jdambly's repo and compiled/pushed it locally, and I hit an issue. I run k3s, so I have a weird location for cni/cnibin dirs. I can use the values args.cniConfDir/args.cniBinDir to specify that they get used for the script that gets run, but the volumes/mounts of the daemonsets still use the default locations. This causes the daemonsets to crash. This fixed it for me (dirty, hacky, only for me): This works when I have helm values like so: args:
cniConfDir: /host/var/lib/rancher/k3s/agent/etc/cni/net.d
cniBinDir: /host/var/lib/rancher/k3s/data/cni/
multusAutoconfigDir: /host/var/lib/rancher/k3s/agent/etc/cni/net.d
multusCNIConfDir: /host/var/lib/rancher/k3s/agent/etc/cni/multus/net.d
multusKubeConfigFileHost: /var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig Just FYI. |
Summary
This PR introduces significant updates to the Multus Helm chart, improving its functionality, simplifying its setup, and aligning it with Helm 3 best practices. Key changes include updating the chart to support the new
multus-thinentry point, automating configuration, and improving the overall chart logic.Key Changes
Thin Entry Point:
multus-thinentry point, streamlining the deployment process for this mode.Auto Configuration:
CRD Best Practices:
crds/directory, adhering to Helm 3 best practices for CRD management.Chart Logic Cleanup:
ifstatements withwithblocks to simplify the chart logic, making it more readable and maintainable.Command Flag Support:
multus-thinentry point, offering enhanced control over the Multus deployment.Helm Docs Integration:
helm-docsto automatically generate theREADME.mdfile from thevalues.yaml, ensuring that documentation stays up-to-date with the chart’s configurable values.InitContainer for Installation:
initContainer, improving the management of Multus binaries and configuration during startup.CI Integration:
Rationale
multus-thingives users more control over their Multus configuration.Testing & Validation
Next Steps