diff --git a/packages/rke2-canal/charts/templates/daemonset.yaml b/packages/rke2-canal/charts/templates/daemonset.yaml index 1431df8..7653ba7 100644 --- a/packages/rke2-canal/charts/templates/daemonset.yaml +++ b/packages/rke2-canal/charts/templates/daemonset.yaml @@ -259,4 +259,4 @@ spec: - name: flexvol-driver-host hostPath: type: DirectoryOrCreate - path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds + path: {{ .Values.calico.flexVolumePluginDir }}/nodeagent~uds diff --git a/packages/rke2-canal/charts/values.yaml b/packages/rke2-canal/charts/values.yaml index 8730b96..d73bc59 100644 --- a/packages/rke2-canal/charts/values.yaml +++ b/packages/rke2-canal/charts/values.yaml @@ -69,6 +69,8 @@ calico: vethuMTU: 1450 # Typha is disabled. typhaServiceName: none + # Kubelet flex-volume-plugin-dir + flexVolumePluginDir: /var/lib/kubelet/volumeplugins global: systemDefaultRegistry: "" diff --git a/packages/rke2-canal/package.yaml b/packages/rke2-canal/package.yaml index 0b309fe..bcae173 100644 --- a/packages/rke2-canal/package.yaml +++ b/packages/rke2-canal/package.yaml @@ -1,4 +1,4 @@ url: local -packageVersion: 01 +packageVersion: 02 # This repository does not use releaseCandidateVersions, so you can leave this as 00. releaseCandidateVersion: 00