mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-19 23:57:57 +00:00
* 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>
15 lines
381 B
Go
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))
|
|
}
|