File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,16 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o
17
17
18
18
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8
19
19
WORKDIR /
20
+
21
+ RUN microdnf update -y && \
22
+ microdnf install tar -y \
23
+ && microdnf clean all && \
24
+ rm -rf /var/cache/yum
25
+ ADD https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz /tmp/openshift-client-linux.tar.gz
26
+ RUN tar -C /usr/local/bin -xvzf /tmp/openshift-client-linux.tar.gz && \
27
+ chmod +x /usr/local/bin/oc /usr/local/bin/kubectl && \
28
+ rm /tmp/openshift-client-linux.tar.gz
29
+
20
30
COPY --from=builder /workspace/manager .
21
31
22
32
USER 65532:65532
Original file line number Diff line number Diff line change 38
38
capabilities :
39
39
drop :
40
40
- " ALL"
41
- image : registry.access.redhat.com/ubi8/ubi@sha256:edc34f89cf9c818c2fb28b8ea1780f384db563ce4293dc0ab8e73ec01791e5af
41
+ image : $(codeflare_operator_controller_image)
42
42
command :
43
43
- sh
44
44
- -c
Original file line number Diff line number Diff line change 1
1
varReference :
2
2
- path : spec/template/spec/containers[]/image
3
3
kind : Deployment
4
+ - path : spec/template/spec/initContainers[]/image
5
+ kind : Deployment
You can’t perform that action at this time.
0 commit comments