From fa41a5d8b1f5a682d2975edecbadc019b1785512 Mon Sep 17 00:00:00 2001 From: Samuel Attwood Date: Tue, 31 Dec 2024 05:25:06 -0500 Subject: [PATCH] Fix test --- deploy/rbac.yml | 3 +++ internal/controller/suite_test.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy/rbac.yml b/deploy/rbac.yml index 388afb73..789e4043 100644 --- a/deploy/rbac.yml +++ b/deploy/rbac.yml @@ -31,6 +31,8 @@ rules: resources: - streams - streams/status + - keyvalues + - keyvalues/status - consumers - consumers/status - streamtemplates @@ -48,6 +50,7 @@ rules: - jetstream.nats.io resources: - streams/finalizers + - keyvalues/finalizers - consumers/finalizers - accounts/finalizers verbs: diff --git a/internal/controller/suite_test.go b/internal/controller/suite_test.go index 4f4eed00..75bf60f5 100644 --- a/internal/controller/suite_test.go +++ b/internal/controller/suite_test.go @@ -71,7 +71,7 @@ var _ = BeforeSuite(func() { // Note that you must have the required binaries setup under the bin directory to perform // the tests directly. When we run make test it will be setup and used automatically. BinaryAssetsDirectory: filepath.Join("..", "..", "bin", "k8s", - fmt.Sprintf("1.29.0-%s-%s", runtime.GOOS, runtime.GOARCH)), + fmt.Sprintf("1.31.0-%s-%s", runtime.GOOS, runtime.GOARCH)), } var err error