-
Notifications
You must be signed in to change notification settings - Fork 82
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
Set Multus ConfigMap name so that it matches DaemonSet #526
Conversation
Wouldn't this be a breaking change for existing chart users? Why not just deploy it using the name it expects: apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: rke2-multus
namespace: kube-system
spec:
repo: https://rke2-charts.rancher.io
chart: rke2-multus Or am I misunderstanding, and the configmap is broken regardless of what name the chart is deployed as? |
@brandond I tried deploying it with the name As far as i can see, the Once the chart was "localized" to this repository, the brokenness was brought with it: 5d8f7f1 I also noticed an issue with the filename the configmap is mounted with and had to push commit e8c2dee to fix it. My guess is that noone has used the |
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.
thanks!
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.
Oh actually I think we need to bump the packageVersion here:
https://github.com/rancher/rke2-charts/blob/main-source/packages/rke2-multus/package.yaml#L3
cc @manuelbuil - should we bump the package version, or the chart version?
The package version |
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.
Could you also squash these into a single commit (with a sign-off)?
otherwise, lgtm!
Signed-off-by: Micke Lisinge <[email protected]>
@mgfritch Of course, it's done! |
@micke Thanks for the contribution! |
Set Multus ConfigMap name so that it matches DaemonSet
Thank you for your time and attention! |
When trying to configure multus using the configmap by setting
manifests.configMap
totrue
i noticed that the name of the generated ConfigMap doesn't match the name used in the DaemonSet.I'm deploying in K3S using the built-in helm controller.
I'm using the following config: