Skip to content

Commit 99bcd1b

Browse files
fix: replace third-party curl image with UBI-based image for disconnected support (#706)
<!--- Provide a general summary of your changes in the Title above --> ## Description Replace curlimages/curl with registry.redhat.io/ubi9/ubi-minimal:9.7 in the cleanup CronJob. Third-party images are not mirrored in disconnected/air-gapped RHOAI environments. UBI minimal includes curl and is available in the RHOAI mirror catalog. <!--- Describe your changes in detail --> ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Merge criteria: <!--- This PR will be merged by any repository approver when it meets all the points in the checklist --> <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> - [ ] The commits are squashed in a cohesive manner and have meaningful messages. - [ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious). - [ ] The developer has manually tested the changes and verified that the changes work <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the container base image used for the API cleanup process. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Wen Liang <liangwen12year@gmail.com>
1 parent 08ff5b4 commit 99bcd1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deployment/base/maas-api/core/cronjob-cleanup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
runAsNonRoot: true
2323
containers:
2424
- name: cleanup
25-
image: curlimages/curl:8.18.0
25+
image: registry.redhat.io/ubi9/ubi-minimal:9.7
2626
command:
2727
- /bin/sh
2828
- -c

0 commit comments

Comments
 (0)