Skip to content

fix(manifests): wire and correct MCP sidecar image name in mpp-openshift overlay#1273

Merged
markturansky merged 1 commit intoalphafrom
fix/mcp-image-name-mpp-openshift
Apr 10, 2026
Merged

fix(manifests): wire and correct MCP sidecar image name in mpp-openshift overlay#1273
markturansky merged 1 commit intoalphafrom
fix/mcp-image-name-mpp-openshift

Conversation

@markturansky
Copy link
Copy Markdown
Contributor

@markturansky markturansky commented Apr 10, 2026

Summary

  • Wires the ambient-mcp sidecar into the mpp-openshift control-plane deployment (MCP_IMAGE + MCP_API_SERVER_URL env vars)
  • Corrects the MCP sidecar image name from vteam_ambient_mcp (non-existent) to vteam_mcp (the actual Quay repo)
  • Adds vteam_mcp to the kustomize image override block
  • Downgrades SSE tap yield-event log from INFO to DEBUG to reduce log noise

Fixes ImagePullBackOff on runner pods in mpp-openshift caused by the wrong image name.

Test plan

  • Deploy mpp-openshift overlay and confirm runner pods start without ImagePullBackOff
  • Confirm MCP sidecar container is present in runner pod spec
  • Confirm MCP_IMAGE=quay.io/ambient_code/vteam_mcp:latest in control-plane deployment env

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated container image configuration for the ambient control plane deployment.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 10, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fdb4d743-efdd-44a3-915f-ed5b4befdb9b

📥 Commits

Reviewing files that changed from the base of the PR and between 6d6d8d8 and afc741d.

📒 Files selected for processing (2)
  • components/manifests/overlays/mpp-openshift/ambient-control-plane.yaml
  • components/manifests/overlays/mpp-openshift/kustomization.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • components/manifests/overlays/mpp-openshift/kustomization.yaml

📝 Walkthrough

Walkthrough

Updated MCP image references across Kubernetes manifest overlays from quay.io/ambient_code/vteam_ambient_mcp:latest to quay.io/ambient_code/vteam_mcp:latest in both deployment configuration and Kustomize image mappings.

Changes

Cohort / File(s) Summary
MCP Image Reference Updates
components/manifests/overlays/mpp-openshift/ambient-control-plane.yaml, components/manifests/overlays/mpp-openshift/kustomization.yaml
Updated image name from vteam_ambient_mcp to vteam_mcp across deployment container environment variable and Kustomize image override mappings, maintaining latest tag.

Important

Pre-merge checks failed

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

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Kubernetes Resource Safety ⚠️ Warning PostgreSQL container lacks resource limits/requests; ambient-control-plane-token Secret missing OwnerReference. Add resource requests/limits to PostgreSQL container and OwnerReference to Secret for proper K8s resource management.
Performance And Algorithmic Complexity ❓ Inconclusive Shell execution attempted but command output not provided in the query context. Please provide the actual file content or verification output to analyze.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Title follows Conventional Commits format (fix(manifests): ...) and accurately describes the main change: correcting the MCP image name in the mpp-openshift overlay.
Security And Secret Handling ✅ Passed PR corrects MCP image name and adds non-sensitive config variables. All credentials properly use secretKeyRef pattern. No security issues introduced.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/mcp-image-name-mpp-openshift
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch fix/mcp-image-name-mpp-openshift

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

@markturansky markturansky force-pushed the fix/mcp-image-name-mpp-openshift branch from ebdb802 to 6d6d8d8 Compare April 10, 2026 00:02
vteam_ambient_mcp does not exist on Quay; correct name is vteam_mcp.
Fixes ImagePullBackOff on runner pods in mpp-openshift.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
components/manifests/overlays/mpp-openshift/ambient-api-server.yaml (1)

55-77: ⚠️ Potential issue | 🟠 Major

Add resources for the migration initContainer to avoid policy/admission failures.

At Line 55, the initContainer has no resources.requests/resources.limits. In OpenShift/Kubernetes environments with enforced policies, this can block pod creation.

Proposed patch
       initContainers:
         - name: migration
           image: quay.io/ambient_code/vteam_api_server:latest
           imagePullPolicy: Always
+          resources:
+            requests:
+              cpu: 50m
+              memory: 128Mi
+            limits:
+              cpu: 200m
+              memory: 256Mi
           command:
             - /usr/local/bin/ambient-api-server

As per coding guidelines, "components/manifests/**/*.yaml: ... Resource limits/requests required on containers."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@components/manifests/overlays/mpp-openshift/ambient-api-server.yaml` around
lines 55 - 77, The initContainer named "migration" is missing resources which
will fail enforced admission policies; add a resources block to that
initContainer (under the initContainers entry for the container named migration)
including resources.requests (cpu and memory) and resources.limits (cpu and
memory) with reasonable values for the job (e.g., small request and slightly
higher limit) so the pod will pass OpenShift/Kubernetes policy checks; ensure
the resources stanza is present alongside volumeMounts/securityContext for the
"migration" initContainer.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@components/manifests/overlays/mpp-openshift/ambient-api-server.yaml`:
- Around line 55-77: The initContainer named "migration" is missing resources
which will fail enforced admission policies; add a resources block to that
initContainer (under the initContainers entry for the container named migration)
including resources.requests (cpu and memory) and resources.limits (cpu and
memory) with reasonable values for the job (e.g., small request and slightly
higher limit) so the pod will pass OpenShift/Kubernetes policy checks; ensure
the resources stanza is present alongside volumeMounts/securityContext for the
"migration" initContainer.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b818e709-349e-4547-bb16-82ca56b1ddec

📥 Commits

Reviewing files that changed from the base of the PR and between e937d0b and 6d6d8d8.

📒 Files selected for processing (4)
  • components/manifests/overlays/mpp-openshift/ambient-api-server.yaml
  • components/manifests/overlays/mpp-openshift/ambient-control-plane.yaml
  • components/manifests/overlays/mpp-openshift/kustomization.yaml
  • components/runners/ambient-runner/ambient_runner/endpoints/events.py

@markturansky markturansky force-pushed the fix/mcp-image-name-mpp-openshift branch from 6d6d8d8 to afc741d Compare April 10, 2026 00:07
@markturansky markturansky merged commit 6c8f09c into alpha Apr 10, 2026
38 checks passed
@markturansky markturansky deleted the fix/mcp-image-name-mpp-openshift branch April 10, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant