diff --git a/README.md b/README.md index ecd9c032..2807fcbf 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,8 @@ __Example NFD worker configurations:__ >\* Required for GPUDirect driver container deployment -If NFD is already deployed in the cluster, make sure to pass `--set nfd.enabled=false` to the helm install command to avoid conflicts. +>__NOTE__: If NFD is already deployed in the cluster, make sure to pass `--set nfd.enabled=false` to the helm install command to avoid conflicts, +and if NFD is deployed from this repo the `enableNodeFeatureApi` flag is enabled by default to have the ability to create NodeFeatureRules. ## Resource Definitions The Operator Acts on the following CRDs: diff --git a/deployment/network-operator/values.yaml b/deployment/network-operator/values.yaml index 46355ddb..b7217b0e 100644 --- a/deployment/network-operator/values.yaml +++ b/deployment/network-operator/values.yaml @@ -32,7 +32,7 @@ sriovNetworkOperator: # Node Feature discovery chart related values node-feature-discovery: - enableNodeFeatureApi: false + enableNodeFeatureApi: true worker: serviceAccount: name: node-feature-discovery @@ -60,7 +60,6 @@ node-feature-discovery: deviceLabelFields: - vendor master: - instance: "nvidia.networking" serviceAccount: name: node-feature-discovery create: true diff --git a/hack/templates/values/values.template b/hack/templates/values/values.template index 86d05c5a..ed320763 100644 --- a/hack/templates/values/values.template +++ b/hack/templates/values/values.template @@ -32,7 +32,7 @@ sriovNetworkOperator: # Node Feature discovery chart related values node-feature-discovery: - enableNodeFeatureApi: false + enableNodeFeatureApi: true worker: serviceAccount: name: node-feature-discovery @@ -60,7 +60,6 @@ node-feature-discovery: deviceLabelFields: - vendor master: - instance: "nvidia.networking" serviceAccount: name: node-feature-discovery create: true