diff --git a/Makefile b/Makefile
index 5370579cffc..95f48a6284a 100644
--- a/Makefile
+++ b/Makefile
@@ -379,7 +379,7 @@ protobuf: ## Compile protobuf definitions
 	# buf generate pkg/plugins/backendplugin/pluginextensionv2 --template pkg/plugins/backendplugin/pluginextensionv2/buf.gen.yaml
 	# buf generate pkg/plugins/backendplugin/secretsmanagerplugin --template pkg/plugins/backendplugin/secretsmanagerplugin/buf.gen.yaml
 	# buf generate pkg/services/store/entity --template pkg/services/store/entity/buf.gen.yaml
-	buf generate pkg/services/store/resource --template pkg/services/store/resource/buf.gen.yaml
+	buf generate pkg/storage/api --template pkg/storage/api/buf.gen.yaml
 
 .PHONY: clean
 clean: ## Clean up intermediate build artifacts.
diff --git a/go.work b/go.work
index 52ee802a47f..c45ca2146fb 100644
--- a/go.work
+++ b/go.work
@@ -6,6 +6,7 @@ use (
 	./pkg/apiserver
 	./pkg/build/wire
 	./pkg/promlib
+	./pkg/storage/api
 	./pkg/util/xorm
 )