mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-31 04:04:51 +00:00
Merge pull request #2109 from k8s-infra-cherrypick-robot/cherry-pick-2098-to-release-0.17
[release-0.17] nfd-master: make the NodeFeatureGroupAPI feature gate effective
This commit is contained in:
commit
44d18578e8
1 changed files with 1 additions and 0 deletions
|
@ -1351,6 +1351,7 @@ func (m *nfdMaster) startNfdApiController() error {
|
|||
ResyncPeriod: m.config.ResyncPeriod.Duration,
|
||||
K8sClient: m.k8sClient,
|
||||
NodeFeatureNamespaceSelector: m.config.Restrictions.NodeFeatureNamespaceSelector,
|
||||
DisableNodeFeatureGroup: !nfdfeatures.NFDFeatureGate.Enabled(nfdfeatures.NodeFeatureGroupAPI),
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to initialize CRD controller: %w", err)
|
||||
|
|
Loading…
Add table
Reference in a new issue