Skip to content

Commit

Permalink
Uncomment some multus options
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <[email protected]>
  • Loading branch information
manuelbuil committed Feb 15, 2024
1 parent 9670b89 commit ebd34a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
10 changes: 2 additions & 8 deletions packages/rke2-multus/charts/templates/daemonSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ spec:
{{- if .Values.config.cni_conf.cniVersion }}
- "--cni-version={{ .Values.config.cni_conf.cniVersion }}"
{{- end }}
{{- if .Values.config.cni_conf.confDir }}
- "--cni-conf-dir=={{ .Values.config.cni_conf.confDir }}"
{{- end }}
{{- if .Values.config.cni_conf.binDir }}
- "--cni-bin-dir={{ .Values.config.cni_conf.binDir }}"
{{- end }}
{{- if .Values.config.cni_conf.multusAutoconfigDir }}
- "--multus-autoconfig-dir={{ .Values.config.cni_conf.multusAutoconfigDir }}"
{{- end }}
Expand Down Expand Up @@ -130,10 +124,10 @@ spec:
volumes:
- name: cni
hostPath:
path: /etc/cni/net.d
path: {{ .Values.config.cni_conf.confDir }}
- name: cnibin
hostPath:
path: /opt/cni/bin
path: {{ .Values.config.cni_conf.binDir }}
{{- if .Values.manifests.configMap }}
- name: multus-cfg
configMap:
Expand Down
6 changes: 3 additions & 3 deletions packages/rke2-multus/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,16 @@ labels:
# For more details, see https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/how-to-use.md#entrypoint-script-parameters
config:
cni_conf:
#confDir: /etc/cni/net.d
#binDir: /opt/cni/bin
confDir: /etc/cni/net.d
binDir: /opt/cni/bin
#namespaceIsolation: false
#globalNamespaces: default,foo,bar
#skipMultusBinaryCopy: false
#readinessIndicatorFile: ""
multusConfFile: auto #or specify a file to be copied on each node
#The following options can be used only when multusConfFile=auto
#multusAutoconfigDir: /host/etc/cni/net.d
#kubeconfig: /etc/cni/net.d/multus.d/multus.kubeconfig
kubeconfig: /etc/cni/net.d/multus.d/multus.kubeconfig
#masterCniFilename:
#logFile: /var/log/multus.log
#logLevel: panic
Expand Down
2 changes: 1 addition & 1 deletion packages/rke2-multus/package.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
url: local
workingDir: charts
packageVersion: 00
packageVersion: 01

0 comments on commit ebd34a7

Please sign in to comment.