From f6f90da489d4cdce3febd95af8190fce8946cd5b Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 21 Jun 2018 21:28:28 +0300 Subject: [PATCH] Add /sys mount to daemonset template (#134) Needed by the selinux feature source. --- node-feature-discovery-daemonset.json.template | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/node-feature-discovery-daemonset.json.template b/node-feature-discovery-daemonset.json.template index ab8c44e2d..64562b788 100644 --- a/node-feature-discovery-daemonset.json.template +++ b/node-feature-discovery-daemonset.json.template @@ -36,7 +36,21 @@ ], "image": "quay.io/kubernetes_incubator/node-feature-discovery:v0.1.0", "name": "node-feature-discovery", - "args": ["--sleep-interval=60s"] + "args": ["--sleep-interval=60s"], + "volumeMounts": [ + { + "name": "host-sys", + "mountPath": "/host-sys" + } + ] + } + ], + "volumes": [ + { + "name": "host-sys", + "hostPath": { + "path": "/sys" + } } ] }