apiVersion: v1 kind: ConfigMap metadata: name: node-feature-discovery-worker-conf namespace: {{ node_feature_discovery_namespace }} data: {% if node_feature_discovery_worker_config %} nfd-worker.conf: |- {{ node_feature_discovery_worker_config | to_yaml(indent=2, width=1337) | indent(width=4) }} {% else %} nfd-worker.conf: "null" {% endif %}