add feature gate for policy preemption
Signed-off-by: Poor12 <shentiecheng@huawei.com>
This commit is contained in:
parent
48e9a5b551
commit
1e1d67a686
|
@ -18,6 +18,9 @@ const (
|
|||
|
||||
// CustomizedClusterResourceModeling indicates if enable cluster resource custom modeling.
|
||||
CustomizedClusterResourceModeling featuregate.Feature = "CustomizedClusterResourceModeling"
|
||||
|
||||
// PolicyPreemption indicates if high-priority PropagationPolicy/ClusterPropagationPolicy could preempt resource templates which are matched by low-priority PropagationPolicy/ClusterPropagationPolicy.
|
||||
PolicyPreemption featuregate.Feature = "PropagationPolicyPreemption"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -30,6 +33,7 @@ var (
|
|||
GracefulEviction: {Default: true, PreRelease: featuregate.Beta},
|
||||
PropagateDeps: {Default: true, PreRelease: featuregate.Beta},
|
||||
CustomizedClusterResourceModeling: {Default: true, PreRelease: featuregate.Beta},
|
||||
PolicyPreemption: {Default: false, PreRelease: featuregate.Alpha},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue