Inject upstream vLLM version from SBOM into operator CSV#18459
Draft
pierDipi wants to merge 1 commit intored-hat-data-services:rhoai-3.4from
Draft
Inject upstream vLLM version from SBOM into operator CSV#18459pierDipi wants to merge 1 commit intored-hat-data-services:rhoai-3.4from
pierDipi wants to merge 1 commit intored-hat-data-services:rhoai-3.4from
Conversation
RHAIIS container images carry only the Red Hat product version label (e.g. 3.4-EA1), but customers, field teams, and the Dashboard need the upstream vLLM version to assess model compatibility, feature availability, and CVE exposure. Add inject-vllm-versions.sh which extracts the upstream vLLM version from each RHAIIS image SBOM (via cosign) and injects it as a RELATED_IMAGE_RHAII[S]_VLLM_*_IMAGE_UPSTREAM_VERSION env var into the operator CSV. The script uses sed for surgical edits to avoid reformatting the YAML, and handles both the legacy RHAIIS and new RHAII env var naming conventions. Update the process-operator-bundle GitHub Actions workflow to install cosign (built from source, pinned to commit SHA) and invoke the script after bundle processing. The injected version (e.g. 0.13.0+rhai11) will be consumed downstream by the operator to populate params.env, which Model Serving uses to set opendatahub.io/runtime-version on LLMInferenceServiceConfig resources. Signed-off-by: Pierangelo Di Pilato <pierdipi@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.
RHAIIS container images carry only the Red Hat product version label (e.g. 3.4-EA1), but customers, field teams, and the Dashboard need the upstream vLLM version to assess model compatibility, feature availability, and CVE exposure.
Add inject-vllm-versions.sh which extracts the upstream vLLM version from each RHAIIS image SBOM (via cosign) and injects it as a
RELATED_IMAGE_RHAII[S]_VLLM_*_IMAGE_UPSTREAM_VERSIONenv var into the operator CSV. The script uses sed for surgical edits to avoid reformatting the YAML, and handles both the legacy RHAIIS and new RHAII env var naming conventions.Update the process-operator-bundle GitHub Actions workflow to install cosign (built from source, pinned to commit SHA) and invoke the script after bundle processing.
The injected version (e.g. 0.13.0+rhai11) will be consumed downstream by the operator to populate params.env, which Model Serving uses to set opendatahub.io/runtime-version on LLMInferenceServiceConfig resources.
https://redhat.atlassian.net/browse/RHAISTRAT-1395
would produce this diff