Files
open-cluster-management/pkg/features/feature.go
Jian Zhu 60d622078b validate manifest work executor permission on hub cluster (#158)
* validate manifest work executor permission on hub cluster

Signed-off-by: zhujian <jiazhu@redhat.com>

* do not validate the executor when it is not changed

Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-09-28 05:43:05 +02:00

15 lines
381 B
Go

// Copyright (c) Red Hat, Inc.
// Copyright Contributors to the Open Cluster Management project
package features
import (
"k8s.io/apimachinery/pkg/util/runtime"
utilfeature "k8s.io/apiserver/pkg/util/feature"
ocmfeature "open-cluster-management.io/api/feature"
)
func init() {
runtime.Must(utilfeature.DefaultMutableFeatureGate.Add(ocmfeature.DefaultHubWorkFeatureGates))
}