Skip to content

Commit

Permalink
feat: migrate controllers to new folder to match golang project stand…
Browse files Browse the repository at this point in the history
…ards
  • Loading branch information
redhatrises committed Jan 10, 2024
1 parent 00244ed commit 178eea3
Show file tree
Hide file tree
Showing 24 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ RUN go mod download
COPY cmd/main.go cmd/main.go
COPY version/ version/
COPY api/ api/
COPY controllers/ controllers/
COPY internal/controller/ internal/controller/
COPY pkg/ pkg/

Expand Down
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ import (
schedulingv1 "k8s.io/api/scheduling/v1"

falconv1alpha1 "github.com/crowdstrike/falcon-operator/api/falcon/v1alpha1"
admissioncontroller "github.com/crowdstrike/falcon-operator/controllers/admission"
containercontroller "github.com/crowdstrike/falcon-operator/controllers/falcon_container"
nodecontroller "github.com/crowdstrike/falcon-operator/controllers/falcon_node"
admissioncontroller "github.com/crowdstrike/falcon-operator/internal/controller/admission"
containercontroller "github.com/crowdstrike/falcon-operator/internal/controller/falcon_container"
nodecontroller "github.com/crowdstrike/falcon-operator/internal/controller/falcon_node"
"github.com/crowdstrike/falcon-operator/pkg/common"
"github.com/crowdstrike/falcon-operator/version"
// +kubebuilder:scaffold:imports
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var _ = BeforeSuite(func() {

By("bootstrapping test environment")
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "config", "crd", "bases")},
ErrorIfCRDPathMissing: true,
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var _ = BeforeSuite(func() {

By("bootstrapping test environment")
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "config", "crd", "bases")},
ErrorIfCRDPathMissing: true,
}

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var _ = BeforeSuite(func() {

By("bootstrapping test environment")
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "config", "crd", "bases")},
ErrorIfCRDPathMissing: true,
}

Expand Down

0 comments on commit 178eea3

Please sign in to comment.