From 18493eae06c6759a5c915025d06e393040b62c22 Mon Sep 17 00:00:00 2001 From: Francisc Munteanu Date: Wed, 29 May 2024 11:51:05 +0200 Subject: [PATCH 1/3] update api version --- api/v1alpha1/zz_generated.openapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/zz_generated.openapi.go b/api/v1alpha1/zz_generated.openapi.go index 0597c18d..182fe924 100644 --- a/api/v1alpha1/zz_generated.openapi.go +++ b/api/v1alpha1/zz_generated.openapi.go @@ -5213,7 +5213,7 @@ func schema_codeready_toolchain_api_api_v1alpha1_WebhookConfig(ref common.Refere Properties: map[string]spec.Schema{ "deploy": { SchemaProps: spec.SchemaProps{ - Description: "Defines the flag that determines whether to deploy the Webhook. If the deploy flag is disabled, the Webhook is deployed and deleted immediately after by the memberoperatorconfig controller.", + Description: "Defines the flag that determines whether to deploy the Webhook. If the deploy flag is set to False and the Webhook was deployed previously it will be deleted by the memberoperatorconfig controller.", Type: []string{"boolean"}, Format: "", }, From 870f14a6831ae6b2eb9187cb1d75a16d759e9415 Mon Sep 17 00:00:00 2001 From: Devtools Date: Wed, 26 Feb 2025 12:51:51 +0100 Subject: [PATCH 2/3] add reasons for nstemplatetier --- api/v1alpha1/nstemplatetier_types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/v1alpha1/nstemplatetier_types.go b/api/v1alpha1/nstemplatetier_types.go index 159d33d2..b0d4d00f 100644 --- a/api/v1alpha1/nstemplatetier_types.go +++ b/api/v1alpha1/nstemplatetier_types.go @@ -4,6 +4,14 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) +const ( + // NSTemplateTierProvisionedReason represents the reason for a successfully provisioned NSTemplateTier. + NSTemplateTierProvisionedReason = provisionedReason + + // NSTemplateTierUnableToEnsureRevisionsReason represents the reason for a successfully provisioned NSTemplateTier. + NSTemplateTierUnableToEnsureRevisionsReason = "UnableToEnsureRevisions" +) + // NSTemplateTierSpec defines the desired state of NSTemplateTier // +k8s:openapi-gen=true type NSTemplateTierSpec struct { From 049ee5eac54f438c26a0e13d40b5c9550653dfa4 Mon Sep 17 00:00:00 2001 From: Devtools Date: Mon, 3 Mar 2025 19:15:39 +0100 Subject: [PATCH 3/3] typo --- api/v1alpha1/nstemplatetier_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1alpha1/nstemplatetier_types.go b/api/v1alpha1/nstemplatetier_types.go index b0d4d00f..5822d8b4 100644 --- a/api/v1alpha1/nstemplatetier_types.go +++ b/api/v1alpha1/nstemplatetier_types.go @@ -8,7 +8,8 @@ const ( // NSTemplateTierProvisionedReason represents the reason for a successfully provisioned NSTemplateTier. NSTemplateTierProvisionedReason = provisionedReason - // NSTemplateTierUnableToEnsureRevisionsReason represents the reason for a successfully provisioned NSTemplateTier. + // NSTemplateTierUnableToEnsureRevisionsReason represents the reason for an issue with provisioning of the NSTemplateTier. + // Specifically, when the revisions field was not updated correctly. NSTemplateTierUnableToEnsureRevisionsReason = "UnableToEnsureRevisions" )