From 69a88359db0ee57e76ca06c73c0bce976b12b663 Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Wed, 13 Mar 2024 14:15:38 -0400 Subject: [PATCH] add flag for on mgmt cluster to db (#4405) --- internal/models/datastore.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/models/datastore.go b/internal/models/datastore.go index d884ba52bf..f006e59593 100644 --- a/internal/models/datastore.go +++ b/internal/models/datastore.go @@ -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"` }