io.argoproj.workflow.v1alpha1.ResourceTemplate is a JSON Structure definition published by Argo Workflows, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-argoproj-workflow-v1alpha1-resource-template-structure.json",
"name": "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"
]
}
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.