From 634795732074c5789062c828e6afa8e4590c6d9e Mon Sep 17 00:00:00 2001 From: Rafaela Soares Date: Tue, 6 May 2025 10:01:34 +0100 Subject: [PATCH 1/2] fix --- make/generate.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/generate.mk b/make/generate.mk index 0a9381cc..e8ae2ce5 100644 --- a/make/generate.mk +++ b/make/generate.mk @@ -40,7 +40,7 @@ gen-crd-ref-docs: crd-ref-docs .PHONY: generate-openapi generate-openapi: openapi-gen @echo "re-generating the openapi go file..." - $(OPENAPI_GEN) ./api/$(API_VERSION)/ \ + $(OPENAPI_GEN) ./api/$(API_VERSION)/ \ --output-pkg github.com/codeready-toolchain/api/api/$(API_VERSION) \ --output-file zz_generated.openapi.go \ --output-dir ./api/$(API_VERSION) \ From f990a908d57154d2942730171fc52824cadf15f2 Mon Sep 17 00:00:00 2001 From: Rafaela Soares Date: Fri, 31 Oct 2025 11:31:48 +0000 Subject: [PATCH 2/2] add ClusterOwnerLabelKey --- api/v1alpha1/nstemplateset_types.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/api/v1alpha1/nstemplateset_types.go b/api/v1alpha1/nstemplateset_types.go index b5d376ac..b5072576 100644 --- a/api/v1alpha1/nstemplateset_types.go +++ b/api/v1alpha1/nstemplateset_types.go @@ -5,13 +5,14 @@ import ( ) const ( - OwnerLabelKey = LabelKeyPrefix + "owner" - SpaceLabelKey = LabelKeyPrefix + "space" - TypeLabelKey = LabelKeyPrefix + "type" - TemplateRefLabelKey = LabelKeyPrefix + "templateref" - TierLabelKey = LabelKeyPrefix + "tier" - ProviderLabelKey = LabelKeyPrefix + "provider" - ProviderLabelValue = "codeready-toolchain" + OwnerLabelKey = LabelKeyPrefix + "owner" + SpaceLabelKey = LabelKeyPrefix + "space" + TypeLabelKey = LabelKeyPrefix + "type" + TemplateRefLabelKey = LabelKeyPrefix + "templateref" + TierLabelKey = LabelKeyPrefix + "tier" + ProviderLabelKey = LabelKeyPrefix + "provider" + ProviderLabelValue = "codeready-toolchain" + ClusterOwnerLabelKey = LabelKeyPrefix + "cluster-owner" LastAppliedSpaceRolesAnnotationKey = LabelKeyPrefix + "last-applied-space-roles" )