hack/secret-manager: always pull the latest container image - #85291
redhat-chai-bot wants to merge 1 commit into
Conversation
Replace the conditional pull (only when the image doesn't exist locally) with --pull=always on the container run command. This ensures the script always uses the most up-to-date image rather than a potentially stale local copy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-chai-bot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughThe secret manager script now passes ChangesSecret manager image pull
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change implements the stated image-pull behavior without an identified merge-blocking impact. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@redhat-chai-bot: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The script currently only pulls the container image when it doesn't exist locally. This means users can run with a stale cached image indefinitely.
Replace the conditional pull block with
--pull=alwayson the container run command, ensuring the latest image is always used. Bothpodmananddockersupport this flag.Changes
if ! image exists ... pull ... ficonditional block--pull=alwaysto theexec "$CONTAINER_ENGINE" runlineAI-generated. Review for accuracy.
@Prucek requested via Chai Bot
Summary by CodeRabbit
openshift/releasesecret-manager tooling.