Skip to content

Commit

Permalink
add flag for on mgmt cluster to db (#4405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored Mar 13, 2024
1 parent e209641 commit 69a8835
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/models/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ type Datastore struct {

// Status describes the status of a datastore
Status DatastoreStatus `json:"status"`

// OnManagementCluster is a flag that indicates whether the datastore is hosted on the management cluster or on the customer's cluster
OnManagementCluster bool `json:"on_management_cluster" gorm:"not null;default:false"`
}

0 comments on commit 69a8835

Please sign in to comment.