1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

deployment/topology-updater: add mount for kubelet state dir

This mount is needed for watching the state files

Signed-off-by: Talor Itzhak <titzhak@redhat.com>
This commit is contained in:
Talor Itzhak 2023-01-12 14:50:01 +02:00
parent 1c12876815
commit 8afd819132

View file

@ -10,6 +10,9 @@
- name: nfd-topology-updater-conf
configMap:
name: nfd-topology-updater-conf
- name: kubelet-state-files
hostPath:
path: /var/lib/kubelet
- op: add
path: /spec/template/spec/containers/0/volumeMounts
@ -21,6 +24,9 @@
- name: nfd-topology-updater-conf
mountPath: "/etc/kubernetes/node-feature-discovery"
readOnly: true
- name: kubelet-state-files
mountPath: /host-var/lib/kubelet
readOnly: true
- op: add
path: /spec/template/spec/containers/0/args/-