Skip to content

Commit

Permalink
add a feature-gate for Lazy Reconcile feature
Browse files Browse the repository at this point in the history
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
  • Loading branch information
chaosi-zju committed Jan 19, 2024
1 parent 0e501b6 commit 133aa07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const (

// MultiClusterService indicates if enable multi-cluster service function.
MultiClusterService featuregate.Feature = "MultiClusterService"

// PolicyLazyReconcile indicates if enable Lazy Reconcile feature for Propagation Policy.
// If enabled, the effective time of policy modification will be delayed until the resource template is modified.
PolicyLazyReconcile featuregate.Feature = "PolicyLazyReconcile"
)

var (
Expand All @@ -54,6 +58,7 @@ var (
CustomizedClusterResourceModeling: {Default: true, PreRelease: featuregate.Beta},
PolicyPreemption: {Default: false, PreRelease: featuregate.Alpha},
MultiClusterService: {Default: false, PreRelease: featuregate.Alpha},
PolicyLazyReconcile: {Default: false, PreRelease: featuregate.Alpha},
}
)

Expand Down

0 comments on commit 133aa07

Please sign in to comment.