diff --git a/pkg/licenseapi/features.go b/pkg/licenseapi/features.go index b6af0c3..2a78899 100644 --- a/pkg/licenseapi/features.go +++ b/pkg/licenseapi/features.go @@ -24,6 +24,7 @@ const ( VirtualClusterProDistroIntegrationsExternalSecrets FeatureName = "vcp-distro-integrations-external-secrets" VirtualClusterProDistroIntegrationsKubeVirt FeatureName = "vcp-distro-integrations-kube-virt" VirtualClusterProDistroExternalDatabase FeatureName = "vcp-distro-external-database" + VirtualClusterProDistroDatabaseConnector FeatureName = "connector-external-database" // Spaces & Clusters ConnectedClusters FeatureName = "connected-clusters" @@ -87,5 +88,6 @@ func GetVClusterFeatures() []FeatureName { VirtualClusterProDistroIntegrationsKubeVirt, VirtualClusterProDistroIntegrationsExternalSecrets, VirtualClusterProDistroExternalDatabase, + VirtualClusterProDistroDatabaseConnector, } } diff --git a/pkg/licenseapi/license_new.go b/pkg/licenseapi/license_new.go index 3a4a301..a06ee9d 100644 --- a/pkg/licenseapi/license_new.go +++ b/pkg/licenseapi/license_new.go @@ -144,6 +144,10 @@ func New(product ProductName) *License { { DisplayName: "External Database", Name: string(VirtualClusterProDistroExternalDatabase), + }, + { + DisplayName: "Database Connector", + Name: string(VirtualClusterProDistroDatabaseConnector), Status: virtualClusterStatus, }, }, diff --git a/pkg/licenseapi/zz_generated.deepcopy.go b/pkg/licenseapi/zz_generated.deepcopy.go index 42ecfa4..6089429 100644 --- a/pkg/licenseapi/zz_generated.deepcopy.go +++ b/pkg/licenseapi/zz_generated.deepcopy.go @@ -231,6 +231,11 @@ func (in *InstanceCreateInput) DeepCopyInto(out *InstanceCreateInput) { (*out)[key] = val } } + if in.DebugInstanceID != nil { + in, out := &in.DebugInstanceID, &out.DebugInstanceID + *out = new(string) + **out = **in + } return }