File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 84
84
spec:
85
85
containers:
86
86
- command:
87
- - /root/ manager
87
+ - /manager
88
88
image: {{ .Image }}
89
89
imagePullPolicy: Always
90
90
name: manager
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager {{ .Repo }}/cmd
50
50
51
51
# Copy the controller-manager into a thin image
52
52
FROM ubuntu:latest
53
- WORKDIR /root/
53
+ WORKDIR /
54
54
COPY --from=builder /go/src/{{ .Repo }}/manager .
55
- ENTRYPOINT [". /manager"]
55
+ ENTRYPOINT ["/manager"]
56
56
`
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager sigs.k8s.io/kub
12
12
13
13
# Copy the controller-manager into a thin image
14
14
FROM ubuntu:latest
15
- WORKDIR /root/
15
+ WORKDIR /
16
16
COPY --from=builder /go/src/sigs.k8s.io/kubebuilder/test/project/manager .
17
- ENTRYPOINT [". /manager" ]
17
+ ENTRYPOINT ["/manager" ]
Original file line number Diff line number Diff line change 42
42
spec :
43
43
containers :
44
44
- command :
45
- - /root/ manager
45
+ - /manager
46
46
image : controller:latest
47
47
imagePullPolicy : Always
48
48
name : manager
You can’t perform that action at this time.
0 commit comments