Skip to content

Commit b2bf83f

Browse files
committed
chart release
1 parent 10d74d9 commit b2bf83f

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

charts/libvirt-csi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ name: libvirt-csi
33
description: LibVirt CSI Driver
44
type: application
55

6-
version: 0.1.5
6+
version: 0.1.6
77

88
appVersion: "v0.0.9"

charts/libvirt-csi/templates/node.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ spec:
6161
env:
6262
- name: CSI_ENDPOINT
6363
value: /csi/csi.sock
64+
- name: CSI_NODE_MACHINEIDFILE
65+
value: {{ .Values.node.machineIdFile }}
6466
{{- with .Values.node.env }}
6567
{{- toYaml . | nindent 12 }}
6668
{{- end }}
@@ -71,6 +73,8 @@ spec:
7173
add: ["SYS_ADMIN"]
7274
allowPrivilegeEscalation: true
7375
volumeMounts:
76+
- name: machine-id
77+
mountPath: {{ .Values.node.machineIdFile }}
7478
- name: plugin-dir
7579
mountPath: /csi
7680
- name: pods-mount-dir
@@ -95,6 +99,9 @@ spec:
9599
nodeSelector:
96100
kubernetes.io/os: linux
97101
volumes:
102+
- name: machine-id
103+
hostPath:
104+
path: {{ .Values.node.machineIdFile }}
98105
- name: registration-dir
99106
hostPath:
100107
path: /var/lib/kubelet/plugins_registry/

charts/libvirt-csi/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ node:
2424
tolerations: []
2525
affinity: {}
2626
env: []
27+
machineIdFile: /etc/machine-id

0 commit comments

Comments
 (0)