Update helm for custom kubelet path support

This commit is contained in:
GautierLeblanc
2023-07-18 08:45:46 +00:00
parent 9d6b375935
commit 2a5a149bb4
2 changed files with 6 additions and 3 deletions

View File

@@ -147,15 +147,15 @@ spec:
type: Directory
- name: kubelet-dir
hostPath:
path: /var/lib/kubelet
path: {{ .kubeletPath }}
type: Directory
- name: plugin-dir
hostPath:
path: /var/lib/kubelet/plugins/csi.san.synology.com
path: {{ .kubeletPath }}/plugins/csi.san.synology.com
type: DirectoryOrCreate
- name: registration-dir
hostPath:
path: /var/lib/kubelet/plugins_registry
path: {{ .kubeletPath }}/plugins_registry
type: Directory
{{- end }}
{{- end }}

View File

@@ -55,6 +55,9 @@ node:
affinity: { }
nodeSelector: { }
tolerations: [ ]
# If your kubelet path is not standard, specify it here :
## example for miocrok8s distrib : /var/snap/microk8s/common/var/lib/kubelet
kubeletPath: /var/lib/kubelet
# Specifies affinity, nodeSelector and tolerations for the snapshotter StatefulSet
snapshotter:
affinity: { }