diff --git a/.github/workflows/publish-chart.yaml b/.github/workflows/publish-chart.yaml index 3842a80..afc5741 100644 --- a/.github/workflows/publish-chart.yaml +++ b/.github/workflows/publish-chart.yaml @@ -67,8 +67,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }} run: | cd deploy - git config --global user.email "renku@datascience.ch" - git config --global user.name "Renku Bot" + git config --global user.email "arndt@menedev.de" + git config --global user.name "Mene Bot" export TAG=$(echo ${GITHUB_REF} |cut -d/ -f3) helm dep update csi-rclone chartpress --tag $TAG diff --git a/deploy/csi-rclone/Chart.yaml b/deploy/csi-rclone/Chart.yaml index 6860b3e..18cde99 100644 --- a/deploy/csi-rclone/Chart.yaml +++ b/deploy/csi-rclone/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: csi-rclone description: A Helm chart for the Rclone CSI type: application -version: 0.1.7 -appVersion: "0.1.7" +version: 0.1.8 +appVersion: "0.1.8" diff --git a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml index e3ba451..a02957e 100644 --- a/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml +++ b/deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml @@ -23,7 +23,7 @@ spec: args: - --v=5 - --csi-address=/plugin/csi.sock - - --kubelet-registration-path=/var/lib/kubelet/plugins/{{ .Values.storageClassName }}/csi.sock + - --kubelet-registration-path={{ .Values.kubeletDir }}/plugins/{{ .Values.storageClassName }}/csi.sock env: - name: KUBE_NODE_NAME valueFrom: @@ -103,7 +103,7 @@ spec: volumeMounts: - mountPath: /plugin name: plugin-dir - - mountPath: /var/lib/kubelet/pods + - mountPath: {{ .Values.kubeletDir }}/pods mountPropagation: Bidirectional name: pods-mount-dir {{- with .Values.csiNodepluginRclone.nodeSelector }} @@ -120,14 +120,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 diff --git a/deploy/csi-rclone/values.yaml b/deploy/csi-rclone/values.yaml index b00befb..2a267d4 100644 --- a/deploy/csi-rclone/values.yaml +++ b/deploy/csi-rclone/values.yaml @@ -60,3 +60,4 @@ csiNodepluginRclone: affinity: {} kubernetesClusterDomain: cluster.local logLevel: NOTICE # Valid levels: DEBUG|INFO|NOTICE|ERROR +kubeletDir: /var/lib/kubelet