diff --git a/Makefile b/Makefile index e456983a6d1e..2023b2049463 100644 --- a/Makefile +++ b/Makefile @@ -497,9 +497,9 @@ rebuild-schema: @echo "Generating facade schema..." # GOOS and GOARCH environment variables are cleared in case the user is trying to cross architecture compilation. ifdef SCHEMA_PATH - @env GOOS= GOARCH= go run $(COMPILE_FLAGS) $(PROJECT)/generate/schemagen -admin-facades "$(SCHEMA_PATH)" + @env GOOS= GOARCH= go run $(COMPILE_FLAGS) $(PROJECT)/generate/schemagen -admin-facades -facade-group=client "$(SCHEMA_PATH)" else - @env GOOS= GOARCH= go run $(COMPILE_FLAGS) $(PROJECT)/generate/schemagen -admin-facades \ + @env GOOS= GOARCH= go run $(COMPILE_FLAGS) $(PROJECT)/generate/schemagen -admin-facades -facade-group=client \ ./apiserver/facades/schema.json endif