Skip to content

Commit

Permalink
Merge pull request #9 from MeneDev/multi-arch
Browse files Browse the repository at this point in the history
Publish chart with kubeletDir
  • Loading branch information
MeneDev authored Aug 14, 2024
2 parents f64a69f + 7424f3c commit 24360d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deploy/csi-rclone/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
10 changes: 5 additions & 5 deletions deploy/csi-rclone/templates/csi-nodeplugin-rclone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
1 change: 1 addition & 0 deletions deploy/csi-rclone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ csiNodepluginRclone:
affinity: {}
kubernetesClusterDomain: cluster.local
logLevel: NOTICE # Valid levels: DEBUG|INFO|NOTICE|ERROR
kubeletDir: /var/lib/kubelet

0 comments on commit 24360d2

Please sign in to comment.