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