Skip to content

Commit

Permalink
Attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nstogner committed Sep 18, 2024
1 parent 00b5845 commit 71ae5b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ help: ## Display this help.
.PHONY: manifests
manifests: controller-gen yq
# Generate CustomResourceDefinition objects.
$(CONTROLLER_GEN) crd webhook paths="./..." output:crd:artifacts:config=charts/kubeai/templates/
$(CONTROLLER_GEN) crd webhook paths="./..." output:crd:artifacts:config=charts/kubeai/templates/crds/

# Generate model manifests.
rm -f ./manifests/models/*
Expand Down
2 changes: 1 addition & 1 deletion test/integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func TestMain(m *testing.M) {

// Setup Kubernetes environment.
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{"../../charts/kubeai/charts/crds/crds"},
CRDDirectoryPaths: []string{"../../charts/kubeai/templates/crds"},
ErrorIfCRDPathMissing: true,
}
k8sCfg, err := testEnv.Start()
Expand Down

0 comments on commit 71ae5b5

Please sign in to comment.