Skip to content

Commit dd7ff16

Browse files
committed
Move controllers to internal/controllers
Signed-off-by: Hidde Beydals <[email protected]>
1 parent 4ad3b21 commit dd7ff16

9 files changed

+2
-3
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ RUN go mod download
2525

2626
# copy source code
2727
COPY main.go main.go
28-
COPY controllers/ controllers/
2928
COPY internal/ internal/
3029

3130
# build without specifing the arch
File renamed without changes.

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package main
1818

1919
import (
2020
"fmt"
21-
"github.com/fluxcd/helm-controller/internal/oomwatch"
2221
"os"
2322
"time"
2423

@@ -46,9 +45,10 @@ import (
4645
corev1 "k8s.io/api/core/v1"
4746

4847
v2 "github.com/fluxcd/helm-controller/api/v2beta1"
49-
"github.com/fluxcd/helm-controller/controllers"
48+
"github.com/fluxcd/helm-controller/internal/controllers"
5049
"github.com/fluxcd/helm-controller/internal/features"
5150
intkube "github.com/fluxcd/helm-controller/internal/kube"
51+
"github.com/fluxcd/helm-controller/internal/oomwatch"
5252
feathelper "github.com/fluxcd/pkg/runtime/features"
5353
// +kubebuilder:scaffold:imports
5454
)

0 commit comments

Comments
 (0)