From d7f8c99bafb05af8d273746915b72c370d80e9e3 Mon Sep 17 00:00:00 2001 From: Aaron Prindle Date: Wed, 29 Nov 2023 23:35:00 +0000 Subject: [PATCH] fix: resolve issue where resolutionrequest defaulted to v1alpha1 vs v1beta1 --- pkg/apis/resolution/v1beta1/resolution_request_defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/resolution/v1beta1/resolution_request_defaults.go b/pkg/apis/resolution/v1beta1/resolution_request_defaults.go index 2d0a2453cad..7ee9b2b64f8 100644 --- a/pkg/apis/resolution/v1beta1/resolution_request_defaults.go +++ b/pkg/apis/resolution/v1beta1/resolution_request_defaults.go @@ -28,6 +28,6 @@ func (rr *ResolutionRequest) SetDefaults(ctx context.Context) { rr.TypeMeta.Kind = "ResolutionRequest" } if rr.TypeMeta.APIVersion == "" { - rr.TypeMeta.APIVersion = "resolution.tekton.dev/v1alpha1" + rr.TypeMeta.APIVersion = "resolution.tekton.dev/v1beta1" } }