Skip to content

Commit ffd677b

Browse files
Merge pull request kubernetes-sigs#72 from alebedev87/ubi-minimal-migration
NE-2209: Switch base image to ubi9/ubi-minimal
2 parents ef878ae + 99d0ab4 commit ffd677b

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Containerfile.aws-load-balancer-controller

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COPY . .
2525
# Build
2626
RUN go build -tags strictfipsruntime -o controller -mod=vendor main.go
2727

28-
FROM registry.access.redhat.com/ubi9/ubi:9.6-1755678605
28+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest@sha256:61d5ad475048c2e655cd46d0a55dfeaec182cc3faa6348cb85989a7c9e196483
2929
ARG FULL_COMMIT
3030
LABEL maintainer="Red Hat, Inc."
3131
LABEL com.redhat.component="aws-load-balancer-controller-container"

Dockerfile.openshift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ COPY webhooks webhooks
1717
# Build the controller
1818
RUN go build -tags strictfipsruntime -mod=vendor -o controller main.go
1919

20-
FROM registry.access.redhat.com/ubi9/ubi:latest
20+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
2121
COPY --from=builder /opt/app-root/src/controller /usr/bin/controller
2222
ENTRYPOINT ["/usr/bin/controller"]

drift-cache/Dockerfile.openshift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ COPY webhooks webhooks
1717
# Build the controller
1818
RUN go build -tags strictfipsruntime -mod=vendor -o controller main.go
1919

20-
FROM registry.access.redhat.com/ubi9/ubi:latest
20+
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
2121
COPY --from=builder /opt/app-root/src/controller /usr/bin/controller
2222
ENTRYPOINT ["/usr/bin/controller"]

renovate.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@
99
"enabled": false
1010
},
1111
{
12-
"description": "Enable Docker image updates for Red Hat UBI images on major version 9 in Containerfile only.",
12+
"description": "Enable Docker image updates for Red Hat UBI minimal image on major version 9 in Containerfile only.",
1313
"matchManagers": ["dockerfile"],
1414
"matchFileNames": [
1515
"Containerfile.aws-load-balancer-controller"
1616
],
1717
"matchDatasources": ["docker"],
1818
"matchPackageNames": [
19-
"registry.access.redhat.com/ubi9/ubi-minimal",
20-
"registry.access.redhat.com/ubi9/ubi"
19+
"registry.access.redhat.com/ubi9/ubi-minimal"
2120
],
2221
"enabled": true,
2322
"versioning": "redhat",
24-
"allowedVersions": "/^9(\\.|$)/",
2523
"schedule": [
2624
"after 5am on tuesday"
2725
]

0 commit comments

Comments
 (0)