Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.22-openshift-4.17
tag: rhel-9-release-golang-1.22-openshift-4.17
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder
FROM registry.access.redhat.com/ubi9/go-toolset:1.22 as builder

WORKDIR /opt/app-root/src

# Copy the go source
COPY main.go main.go
Expand All @@ -10,11 +12,11 @@ COPY go.mod go.mod
COPY go.sum go.sum

# Build
RUN GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o /usr/bin/manager main.go
RUN GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o manager main.go

FROM registry.redhat.io/rhel8-6-els/rhel:latest
WORKDIR /
COPY --from=builder /usr/bin/manager .
FROM registry.access.redhat.com/ubi9/ubi:latest
COPY --from=builder /opt/app-root/src/manager .

USER 65532:65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ spec:
- /manager
env:
- name: RELATED_IMAGE_CONTROLLER
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller:latest
value: quay.io/rh-ee-gpiotrow/aws-load-balancer-controller:07.03.1856
- name: TARGET_NAMESPACE
valueFrom:
fieldRef:
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
- name: RELATED_IMAGE_CONTROLLER
# Use "latest" floating tag to avoid problems with the prunning of older mirorred images.
# Ref: https://issues.redhat.com/browse/OCPBUGS-57339.
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller:latest
value: quay.io/rh-ee-gpiotrow/aws-load-balancer-controller:07.03.1856
- name: TARGET_NAMESPACE
valueFrom:
fieldRef:
Expand Down
10 changes: 6 additions & 4 deletions drift-cache/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Build the manager binary
FROM registry.access.redhat.com/ubi8/go-toolset:1.22 as builder
FROM registry.access.redhat.com/ubi9/go-toolset:1.22 as builder

WORKDIR /opt/app-root/src

# Copy the go source
COPY main.go main.go
Expand All @@ -10,11 +12,11 @@ COPY go.mod go.mod
COPY go.sum go.sum

# Build
RUN GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o /usr/bin/manager main.go
RUN GOOS=linux GOARCH=amd64 go build -tags strictfipsruntime -a -o manager main.go

FROM registry.redhat.io/rhel8-6-els/rhel:latest
WORKDIR /
COPY --from=builder /usr/bin/manager .
FROM registry.access.redhat.com/ubi9/ubi:latest
COPY --from=builder /opt/app-root/src/manager .

USER 65532:65532

Expand Down