Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

bump submodules - #173

Merged
openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
omer-vishlitzky:main
May 26, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
osac-project:mainfrom
omer-vishlitzky:main

Conversation

@omer-vishlitzky

@omer-vishlitzky omer-vishlitzky commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Updated images and component versions for fulfillment-service, OSAC AAP, and OSAC operator services.
    • Refreshed deployment configurations across CI and integration environments.

Review Change Stack

@openshift-ci
openshift-ci Bot requested review from adriengentil and eranco74 May 26, 2026 13:04
@coderabbitai

coderabbitai Bot commented May 26, 2026

Copy link
Copy Markdown

Walkthrough

This PR updates version pinning across the OSAC installer's Kustomize manifests. Git submodules for three OSAC components (osac-aap, osac-fulfillment-service, osac-operator) are advanced to new commits, with corresponding image tag updates in base and overlay configurations.

Changes

Dependency version updates

Layer / File(s) Summary
Base submodule pointer updates
base/osac-aap, base/osac-fulfillment-service, base/osac-operator
Git submodule references for three OSAC components are updated to newer commit revisions.
Base Kustomize image tag updates
base/kustomization.yaml
Image tag overrides for fulfillment-service, osac-aap, and osac-operator are bumped to align with updated submodule pointers.
Overlay environment configurations
overlays/caas-ci/kustomization.yaml, overlays/osac-integration/kustomization.yaml, overlays/vmaas-ci/kustomization.yaml
Three environment overlays update AAP executor image digests and Git project branch references in secret generators to match base component updates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Security & Risk Assessment

Risk Severity: Medium

This PR pins multiple container images and submodule commits across production-relevant overlays. Key risk factors:

  • Image supply chain: Three container images (fulfillment-service, osac-aap, osac-operator) are updated to new digests; ensure upstream sources are trusted and verify no unexpected changes in those images.
  • Git submodule integrity: Commit hash changes for three submodules should be validated against their respective upstream repositories to confirm no unintended commits are included.
  • Multi-environment consistency: Updates span base (shared), caas-ci, osac-integration, and vmaas-ci overlays—verify that all branch/image combinations are tested together and that no environment is left in an inconsistent state.
  • No version verification evidence: The diff shows only the new pins; validate that the upstream commits and image builds passed security and integration testing before merge.

Mitigation: Verify image provenance (checksums, signatures), audit the commit ranges in each submodule update, and confirm CI/test results for the new versions in all affected environments.

Possibly related PRs

Suggested labels

lgtm

Suggested reviewers

  • adriengentil
  • akshaynadkarni
  • eranco74

Poem

🔐 Three submodules climb to new heights,
Image tags aligned with the sunrise light,
Overlays cascading through each domain,
Version pins locked—secure and sane! 📌✨


Caution

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

  • Ignore

❌ Failed checks (1 error, 1 warning)

Check name Status Explanation Resolution
No-Injection-Vectors ❌ Error lib.sh's retry_until uses eval on untrusted cluster API data; sync-image-tags.sh line 61 uses unescaped sed delimiters with config file variables, enabling potential injection. Replace eval with array-based execution in lib.sh; escape sed delimiters in sync-image-tags.sh or use safer tools like perl/awk.
Ai-Attribution ⚠️ Warning PR summary contains "AI-generated summary of changes" indicating AI tool usage, but commit d8a6b6d lacks required Assisted-by or Generated-by trailers (no trailers at all). Add Assisted-by or Generated-by trailer to commit message documenting which AI tool generated/assisted with the PR summary/analysis.
✅ Passed checks (9 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changeset—updating submodule references and related image digests across multiple configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No-Hardcoded-Secrets ✅ Passed No hardcoded secrets detected. Changes contain only public image digests, git commit hashes, and public repository URLs—no credentials, API keys, tokens, or passwords.
No-Weak-Crypto ✅ Passed No weak cryptography detected. PR only updates container image digests and submodule references—no MD5, SHA1, DES, RC4, Blowfish, ECB, custom crypto, or insecure comparisons found.
Container-Privileges ✅ Passed No privileged container settings detected: no privileged: true, hostPID/hostNetwork/hostIPC, SYS_ADMIN caps, allowPrivilegeEscalation: true, or runAsUser: 0 found in modified files.
No-Sensitive-Data-In-Logs ✅ Passed PR script sync-image-tags.sh logs only public git commit hashes and image tags—no passwords, tokens, API keys, PII, or credentials exposed in logging.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@base/kustomization.yaml`:
- Around line 29-35: The image tags in kustomization.yaml referencing
ghcr.io/osac-project/fulfillment-service:sha-2cec20c, osac-aap:sha-0255559 and
ghcr.io/osac-project/osac-operator:sha-72aa363 are not present in GHCR; replace
the unstable "sha-..." tags with verified image digests (sha256:...) that you
confirm via `docker manifest inspect`/`crane manifest` using the same GHCR
credentials your deployment uses, update the corresponding entries for
name/newName/newTag in kustomization.yaml, and re-run vulnerability scans per
image digest (not just fulfillment-service) to ensure each image/digest has been
scanned.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: osac-project/coderabbit/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 1ae5d6c6-1bb5-415f-9fd6-345064b9164f

📥 Commits

Reviewing files that changed from the base of the PR and between 3d9c8b9 and d8a6b6d.

📒 Files selected for processing (7)
  • base/kustomization.yaml
  • base/osac-aap
  • base/osac-fulfillment-service
  • base/osac-operator
  • overlays/caas-ci/kustomization.yaml
  • overlays/osac-integration/kustomization.yaml
  • overlays/vmaas-ci/kustomization.yaml

Comment thread base/kustomization.yaml
Comment on lines 29 to +35
- name: ghcr.io/osac-project/fulfillment-service
newTag: sha-5be2b1b
newTag: sha-2cec20c
- name: osac-aap
newName: ghcr.io/osac-project/osac-aap
newTag: sha-a2b8504
newTag: sha-0255559
- name: ghcr.io/osac-project/osac-operator
newTag: sha-3171828
newTag: sha-72aa363

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify that the new container images exist and are pullable

echo "=== Checking fulfillment-service image ==="
docker manifest inspect ghcr.io/osac-project/fulfillment-service:sha-2cec20c >/dev/null 2>&1
if [ $? -eq 0 ]; then
  echo "✓ fulfillment-service:sha-2cec20c exists"
else
  echo "✗ fulfillment-service:sha-2cec20c NOT FOUND"
fi

echo -e "\n=== Checking osac-aap image ==="
docker manifest inspect ghcr.io/osac-project/osac-aap:sha-0255559 >/dev/null 2>&1
if [ $? -eq 0 ]; then
  echo "✓ osac-aap:sha-0255559 exists"
else
  echo "✗ osac-aap:sha-0255559 NOT FOUND"
fi

echo -e "\n=== Checking osac-operator image ==="
docker manifest inspect ghcr.io/osac-project/osac-operator:sha-72aa363 >/dev/null 2>&1
if [ $? -eq 0 ]; then
  echo "✓ osac-operator:sha-72aa363 exists"
else
  echo "✗ osac-operator:sha-72aa363 NOT FOUND"
fi

echo -e "\n=== Checking for known vulnerabilities ==="
echo "Checking GitHub security advisories for osac-project..."
gh api graphql -f query='
{
  repository(owner: "osac-project", name: "fulfillment-service") {
    vulnerabilityAlerts(first: 5) {
      nodes {
        securityAdvisory {
          summary
          severity
        }
        vulnerableManifestFilename
      }
    }
  }
}'

Repository: osac-project/osac-installer

Length of output: 460


Harden image tag validation: GHCR manifests for the referenced SHAs aren’t available.

  • docker manifest inspect returned NOT FOUND for ghcr.io/osac-project/fulfillment-service:sha-2cec20c, ghcr.io/osac-project/osac-aap:sha-0255559, and ghcr.io/osac-project/osac-operator:sha-72aa363, which would break image pulls and block deployment (Risk severity: High).
  • The vulnerability check only queried GitHub vulnerabilityAlerts for fulfillment-service (and only returns up to 5 alerts); it’s not sufficient to claim the images/digests for osac-aap and osac-operator are vulnerability-free.

Update the image references to digests that exist/pull from GHCR (and re-check with the same registry credentials your deployment uses); expand vulnerability scanning per image/digest.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@base/kustomization.yaml` around lines 29 - 35, The image tags in
kustomization.yaml referencing
ghcr.io/osac-project/fulfillment-service:sha-2cec20c, osac-aap:sha-0255559 and
ghcr.io/osac-project/osac-operator:sha-72aa363 are not present in GHCR; replace
the unstable "sha-..." tags with verified image digests (sha256:...) that you
confirm via `docker manifest inspect`/`crane manifest` using the same GHCR
credentials your deployment uses, update the corresponding entries for
name/newName/newTag in kustomization.yaml, and re-run vulnerability scans per
image digest (not just fulfillment-service) to ensure each image/digest has been
scanned.

@akshaynadkarni akshaynadkarni left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci

openshift-ci Bot commented May 26, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akshaynadkarni, omer-vishlitzky

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [akshaynadkarni,omer-vishlitzky]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 79c2daf into osac-project:main May 26, 2026
9 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants