mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-06 00:37:01 +00:00
Similar to the nfd-worker, in this PR we want to support the dynamic run-time configurability through a config file for the nfd-master. We'll use a json or yaml configuration file along with the fsnotify in order to watch for changes in the config file. As a result, we're allowing dynamic control of logging params, allowed namespaces, extended resources, label whitelisting, and denied namespaces. Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
13 lines
299 B
YAML
13 lines
299 B
YAML
- op: add
|
|
path: /spec/template/spec/volumes
|
|
value:
|
|
- name: nfd-master-conf
|
|
configMap:
|
|
name: nfd-master-conf
|
|
|
|
- op: add
|
|
path: /spec/template/spec/containers/0/volumeMounts
|
|
value:
|
|
- name: nfd-master-conf
|
|
mountPath: "/etc/kubernetes/node-feature-discovery"
|
|
readOnly: true
|