Argo Workflows · Schema

io.argoproj.workflow.v1alpha1.ResourceTemplate

ResourceTemplate is a template subtype to manipulate kubernetes resources

CNCFContainersData ProcessingKubernetesMachine-LearningOpen-SourceWorkflow Engine

Properties

Name Type Description
action string Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch
failureCondition string FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed
flags array Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [ "--validate=false" # disable resource validation ]
manifest string Manifest contains the kubernetes manifest
manifestFrom object ManifestFrom is the source for a single kubernetes manifest
mergeStrategy string MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" Must be one of: strategic, merge, json
setOwnerReference boolean SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.
successCondition string SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step
View JSON Schema on GitHub

JSON Schema

argo-workflows-io-argoproj-workflow-v1alpha1-resource-template-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-argoproj-workflow-v1alpha1-resource-template-schema.json",
  "title": "io.argoproj.workflow.v1alpha1.ResourceTemplate",
  "description": "ResourceTemplate is a template subtype to manipulate kubernetes resources",
  "type": "object",
  "properties": {
    "action": {
      "description": "Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch",
      "type": "string"
    },
    "failureCondition": {
      "description": "FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed",
      "type": "string"
    },
    "flags": {
      "description": "Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [\n\t\"--validate=false\"  # disable resource validation\n]",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "manifest": {
      "description": "Manifest contains the kubernetes manifest",
      "type": "string"
    },
    "manifestFrom": {
      "description": "ManifestFrom is the source for a single kubernetes manifest",
      "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ManifestFrom"
    },
    "mergeStrategy": {
      "description": "MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json",
      "type": "string"
    },
    "setOwnerReference": {
      "description": "SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource.",
      "type": "boolean"
    },
    "successCondition": {
      "description": "SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step",
      "type": "string"
    }
  },
  "required": [
    "action"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/argo-workflows-io-argoproj-workflow-v1alpha1-resource-template"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.