Skip to content

Commit bee42f3

Browse files
marquizk8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committed
nfd-master: make the NodeFeatureGroupAPI feature gate effective
1 parent 5ba51b4 commit bee42f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/nfd-master/nfd-master.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,7 @@ func (m *nfdMaster) startNfdApiController() error {
13511351
ResyncPeriod: m.config.ResyncPeriod.Duration,
13521352
K8sClient: m.k8sClient,
13531353
NodeFeatureNamespaceSelector: m.config.Restrictions.NodeFeatureNamespaceSelector,
1354+
DisableNodeFeatureGroup: !nfdfeatures.NFDFeatureGate.Enabled(nfdfeatures.NodeFeatureGroupAPI),
13541355
})
13551356
if err != nil {
13561357
return fmt.Errorf("failed to initialize CRD controller: %w", err)

0 commit comments

Comments
 (0)