From b36b123dcb27cdc08a7b90fbeb6cddcf2eea24a8 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 13 Sep 2024 13:14:52 +0300 Subject: [PATCH] Add required kind field to tests Signed-off-by: Stefan Prodan --- internal/controller/helmrelease_controller_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/controller/helmrelease_controller_test.go b/internal/controller/helmrelease_controller_test.go index 8a3ae7095..d56ea0c4c 100644 --- a/internal/controller/helmrelease_controller_test.go +++ b/internal/controller/helmrelease_controller_test.go @@ -47,6 +47,7 @@ import ( "github.com/fluxcd/pkg/apis/acl" aclv1 "github.com/fluxcd/pkg/apis/acl" + "github.com/fluxcd/pkg/apis/kustomize" "github.com/fluxcd/pkg/apis/meta" "github.com/fluxcd/pkg/runtime/conditions" feathelper "github.com/fluxcd/pkg/runtime/features" @@ -64,7 +65,6 @@ import ( intreconcile "github.com/fluxcd/helm-controller/internal/reconcile" "github.com/fluxcd/helm-controller/internal/release" "github.com/fluxcd/helm-controller/internal/testutil" - "github.com/fluxcd/pkg/apis/kustomize" ) func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) { @@ -3496,6 +3496,7 @@ func TestValuesReferenceValidation(t *testing.T) { Chart: "mychart", SourceRef: v2.CrossNamespaceObjectReference{ Name: "something", + Kind: "HelmRepository", }, }, },