Skip to content

Commit

Permalink
Add UIServerCleanupFinalizer const
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jan 5, 2024
1 parent 5669bfe commit e92a8a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/ui/v1alpha1/featureset_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ import (
"kmodules.xyz/resource-metadata/crds"
)

const (
UIServerCleanupFinalizer = "ui-server.kubeops.dev/cleanup"
)

func (v FeatureSet) CustomResourceDefinition() *apiextensions.CustomResourceDefinition {
return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourceFeatureSets))
}

0 comments on commit e92a8a4

Please sign in to comment.