File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
charts/karpenter/templates Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ COPY ./ ./
3434RUN --mount=type=cache,target=/root/.cache/go-build \
3535 --mount=type=cache,target=/go/pkg/mod \
3636 CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} \
37- go build -trimpath -o manager cmd/controller/main.go
37+ go build -trimpath -o karpenter-clusterapi-controller cmd/controller/main.go
3838
3939# Production image
4040FROM gcr.io/distroless/static:nonroot-${ARCH}
4141WORKDIR /
42- COPY --from=builder /workspace/manager .
42+ COPY --from=builder /workspace/karpenter-clusterapi-controller .
4343# Use uid of nonroot user (65532) because kubernetes expects numeric user when applying pod security policies
4444USER 65532
45- ENTRYPOINT ["/manager " ]
45+ ENTRYPOINT ["/karpenter-clusterapi-controller " ]
Original file line number Diff line number Diff line change 2121 image : {{ .Values.image.tag }}
2222 imagePullPolicy : {{ .Values.image.pullPolicy }}
2323 command :
24- - /manager
24+ - /karpenter-clusterapi-controller
2525 {{- with .Values.arguments }}
2626 args :
2727 {{- toYaml . | nindent 12 }}
You can’t perform that action at this time.
0 commit comments