Red Hat OpenShift · Capability

Red Hat OpenShift Container Platform API — Deployment Configs

Red Hat OpenShift Container Platform API — Deployment Configs. 2 operations. Lead operation: List Deployment Configs. Self-contained Naftiko capability covering one Red Hat Openshift business surface.

Run with Naftiko Red Hat OpenshiftDeployment Configs

What You Can Do

GET
Listdeploymentconfigs — List Deployment Configs
/v1/apis/apps-openshift-io/v1/namespaces/{namespace}/deploymentconfigs
POST
Createdeploymentconfig — Create Deployment Config
/v1/apis/apps-openshift-io/v1/namespaces/{namespace}/deploymentconfigs

MCP Tools

list-deployment-configs

List Deployment Configs

read-only idempotent
create-deployment-config

Create Deployment Config

Capability Spec

red-hat-openshift-deployment-configs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Red Hat OpenShift Container Platform API — Deployment Configs
  description: 'Red Hat OpenShift Container Platform API — Deployment Configs. 2 operations. Lead operation: List Deployment
    Configs. Self-contained Naftiko capability covering one Red Hat Openshift business surface.'
  tags:
  - Red Hat Openshift
  - Deployment Configs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RED_HAT_OPENSHIFT_API_KEY: RED_HAT_OPENSHIFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: red-hat-openshift-deployment-configs
    baseUri: https://api.{cluster}:6443
    description: Red Hat OpenShift Container Platform API — Deployment Configs business capability. Self-contained, no shared
      references.
    resources:
    - name: apis-apps.openshift.io-v1-namespaces-namespace-deploymentconfigs
      path: /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs
      operations:
      - name: listdeploymentconfigs
        method: GET
        description: List Deployment Configs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdeploymentconfig
        method: POST
        description: Create Deployment Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.RED_HAT_OPENSHIFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: red-hat-openshift-deployment-configs-rest
    port: 8080
    description: REST adapter for Red Hat OpenShift Container Platform API — Deployment Configs. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/apis/apps-openshift-io/v1/namespaces/{namespace}/deploymentconfigs
      name: apis-apps-openshift-io-v1-namespaces-namespace-deploymentconfigs
      description: REST surface for apis-apps.openshift.io-v1-namespaces-namespace-deploymentconfigs.
      operations:
      - method: GET
        name: listdeploymentconfigs
        description: List Deployment Configs
        call: red-hat-openshift-deployment-configs.listdeploymentconfigs
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdeploymentconfig
        description: Create Deployment Config
        call: red-hat-openshift-deployment-configs.createdeploymentconfig
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: red-hat-openshift-deployment-configs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Red Hat OpenShift Container Platform API — Deployment Configs. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-deployment-configs
      description: List Deployment Configs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: red-hat-openshift-deployment-configs.listdeploymentconfigs
      outputParameters:
      - type: object
        mapping: $.
    - name: create-deployment-config
      description: Create Deployment Config
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: red-hat-openshift-deployment-configs.createdeploymentconfig
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.