Skip to content

Commit fd4003b

Browse files
fix(): add enable auto eviction in cluster
Signed-off-by: RohanKumarMainali <rohan.manali@aveshasystems.com>
1 parent 3adf3cb commit fd4003b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/controller/v1alpha1/cluster_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ type ClusterSpec struct {
5757
NetworkInterface string `json:"networkInterface,omitempty"`
5858
//put in an object
5959
ClusterProperty ClusterProperty `json:"clusterProperty,omitempty"`
60+
// EnableAutoEviction is a flag to enable auto eviction feature for the given cluster
61+
EnableAutoEviction bool `json:"enableAutoEviction,omitempty"`
6062
}
6163

6264
type ClusterProperty struct {

pkg/controller/v1alpha1/project_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import (
2424
type ProjectSpec struct {
2525
// ServiceAccount is a field of Project. Edit project_types.go to remove/update
2626
ServiceAccount ServiceAccount `json:"serviceAccount,omitempty"`
27+
// If defaultSliceCreation is true, then the default slice will be created
28+
DefaultSliceCreation bool `json:"defaultSliceCreation,omitempty"`
2729
}
2830

2931
// ServiceAccount defines the field of ProjectSpec

0 commit comments

Comments
 (0)