Skip to content

Cannot deploy MCPRegistry from git in OpenShift #2250

@dmartinol

Description

@dmartinol

Fetch of registry data fails in OpenShift when the data source is pulled from git.

Registry spec:

spec:
  displayName: thv-registry
  enforceServers: false
  source:
    format: toolhive
    git:
      branch: main
      path: pkg/registry/data/registry.json
      repository: https://github.com/stacklok/toolhive
    type: git
  syncPolicy:
    interval: 5m

Error in registry status

status:
  apiStatus:
    message: Registry API deployment is not ready yet
    phase: Deploying
  conditions:
  - lastTransitionTime: "2025-10-17T18:28:37Z"
    message: 'Fetch failed: failed to create temporary directory: mkdir /tmp/mcpregistry-git-1447472569:
      read-only file system'
    reason: FetchFailed
    status: "False"
    type: SyncSuccessful

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingkubernetesItems related to Kubernetesregistry

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions