Update flexvol path

Update flex volume plugin dir to match new RKE2 default; make it a Value
so that it can be changed by users to match the kubelet setting if
necessary.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/56/head
Brad Davidson 2021-03-10 11:17:47 -08:00
parent 83ceb61b60
commit 491707bbeb
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -69,6 +69,8 @@ calico:
vethuMTU: 1450
# Typha is disabled.
typhaServiceName: none
# Kubelet flex-volume-plugin-dir
flexVolumePluginDir: /var/lib/kubelet/volumeplugins
global:
systemDefaultRegistry: ""

View File

@ -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