File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ COPY controllers/ controllers/
22
22
# the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore,
23
23
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
24
24
USER root
25
- RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/operator/ main.go
25
+ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go
26
26
27
27
# Use distroless as minimal base image to package the manager binary
28
28
# Refer to https://github.com/GoogleContainerTools/distroless for more details
Original file line number Diff line number Diff line change @@ -114,11 +114,11 @@ test: manifests generate fmt vet envtest ## Run tests.
114
114
115
115
.PHONY : build
116
116
build : manifests generate fmt vet # # Build manager binary.
117
- go build -o bin/manager cmd/operator/ main.go
117
+ go build -o bin/manager cmd/main.go
118
118
119
119
.PHONY : run
120
120
run : manifests generate fmt vet # # Run a controller from your host.
121
- go run ./cmd/operator/ main.go --enable-services $(ENABLED_SERVICES )
121
+ go run ./cmd/main.go --enable-services $(ENABLED_SERVICES )
122
122
123
123
# If you wish built the manager image targeting other platforms you can use the --platform flag.
124
124
# (i.e. docker build --platform linux/arm64 ). However, you must enable docker buildKit for it.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments