Add ubi9/ubi-minimal:9.7 to bundle related images#19203
Merged
chaitanya1731 merged 2 commits intored-hat-data-services:rhoai-3.4from Apr 16, 2026
Merged
Add ubi9/ubi-minimal:9.7 to bundle related images#19203chaitanya1731 merged 2 commits intored-hat-data-services:rhoai-3.4from
chaitanya1731 merged 2 commits intored-hat-data-services:rhoai-3.4from
Conversation
moulalis
approved these changes
Apr 8, 2026
34ba9d6 to
1b321ff
Compare
RHOAIENG-57046 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1b321ff to
8f5d86c
Compare
Author
…ild-Config into ubi-minimal-for-curl
chaitanya1731
approved these changes
Apr 15, 2026
openshift-merge-bot bot
pushed a commit
to opendatahub-io/models-as-a-service
that referenced
this pull request
Apr 15, 2026
…ob (#751) ## Summary Add `maas-api-key-cleanup-image` to `params.env` and wire it via kustomize replacement into the cleanup CronJob, enabling the ODH operator to override the image at deploy time. ## Description The `maas-api-key-cleanup` CronJob currently uses a hardcoded `registry.redhat.io/ubi9/ubi-minimal:9.7` image for the curl-based API key cleanup. This means the ODH operator has no way to override it with a pinned SHA digest at deploy time. - Add `maas-api-key-cleanup-image` key to `deployment/overlays/odh/params.env` with the default ubi-minimal image. - Add a kustomize replacement in `deployment/components/shared-patches/kustomization.yaml` that wires `data.maas-api-key-cleanup-image` from the `maas-parameters` ConfigMap into the CronJob container image field. - This enables the operator's `ApplyParams()` to substitute the image via `RELATED_IMAGE_UBI_MINIMAL_IMAGE` (from the bundle CSV), ensuring pinned SHA digests in production and support for disconnected environments. **Companion changes required:** - [RHOAI-Build-Config PR #19203](red-hat-data-services/RHOAI-Build-Config#19203) — adds `RELATED_IMAGE_UBI_MINIMAL_IMAGE` to `additional-images-patch.yaml` - opendatahub-operator — adds `"maas-api-key-cleanup-image": "RELATED_IMAGE_UBI_MINIMAL_IMAGE"` to `imagesMap` in `modelsasservice_support.go` ## How It Was Tested - Verified kustomize build renders the CronJob with the image from `params.env`. - Without the operator change, the CronJob uses the default value from `params.env` (same image as today — no behavioral change). Made with [Cursor](https://cursor.com) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added configuration for a new API key cleanup task in the deployment environment. Updated deployment settings to include a dedicated container image for cleanup operations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Chaitanya Kulkarni <ckulkarn@redhat.com> Signed-off-by: Chaitanya Kulkarni <chkulkar@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RHOAIENG-57046