Skip to content

Commit ffa66d5

Browse files
committed
OCPBUGS-57339: Use floating tag for controller image
This commit changes the strategy used to reference the controller image in the operator's deployment manifest. The `latest` floating tag is now used to avoid issues with older mirrored images being removed. Since these manifests are used only in CI presubmits, there is no risk of breaking future releases, which will have pinned versions (SHA256 digests) for all images.
1 parent be93d7f commit ffa66d5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

bundle/manifests/aws-load-balancer-operator.clusterserviceversion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ spec:
287287
- /manager
288288
env:
289289
- name: RELATED_IMAGE_CONTROLLER
290-
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller@sha256:75c5e5c1c650b27c273875d6e9497ede335c0ded6719064b0db63a6da8369937
290+
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller:latest
291291
- name: TARGET_NAMESPACE
292292
valueFrom:
293293
fieldRef:

config/manager/manager.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ spec:
7777
memory: 64Mi
7878
env:
7979
- name: RELATED_IMAGE_CONTROLLER
80-
# openshift/aws-load-balancer-controller commit: 970ea56f31a3e660efbbed1deb50bf5ed9262c92
81-
# manifest link: https://quay.io/repository/aws-load-balancer-operator/aws-load-balancer-controller/manifest/sha256:75c5e5c1c650b27c273875d6e9497ede335c0ded6719064b0db63a6da8369937
82-
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller@sha256:75c5e5c1c650b27c273875d6e9497ede335c0ded6719064b0db63a6da8369937
80+
# Use "latest" floating tag to avoid problems with the prunning of older mirorred images.
81+
# Ref: https://issues.redhat.com/browse/OCPBUGS-57339.
82+
value: quay.io/aws-load-balancer-operator/aws-load-balancer-controller:latest
8383
- name: TARGET_NAMESPACE
8484
valueFrom:
8585
fieldRef:

0 commit comments

Comments
 (0)