Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure kubeletDir for k0s, k3s, ... flavors not using default k8s path #12

Merged
merged 2 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,14 @@ spec:
{{- end }}
volumes:
- hostPath:
path: /var/lib/kubelet/plugins/{{ .Values.storageClassName }}
path: {{ .Values.kubeletDir }}/plugins/{{ .Values.storageClassName }}
type: DirectoryOrCreate
name: plugin-dir
- hostPath:
path: /var/lib/kubelet/pods
path: {{ .Values.kubeletDir }}/pods
type: Directory
name: pods-mount-dir
- hostPath:
path: /var/lib/kubelet/plugins_registry
path: {{ .Values.kubeletDir }}/plugins_registry
type: DirectoryOrCreate
name: registration-dir
1 change: 1 addition & 0 deletions deploy/csi-rclone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ csiNodepluginRclone:
nodeSelector: {}
tolerations: []
affinity: {}
kubeletDir: /var/lib/kubelet # Tune if running in k0s, k3s, ...
kubernetesClusterDomain: cluster.local
logLevel: NOTICE # Valid levels: DEBUG|INFO|NOTICE|ERROR
Loading