mirror of
https://github.com/SynologyOpenSource/synology-csi.git
synced 2026-05-23 04:43:25 +00:00
Update helm for custom kubelet path support
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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: { }
|
||||
|
||||
Reference in New Issue
Block a user