Argo Workflows · Schema

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger schema from Argo Workflows API

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
liveObject boolean
operation string
parameters array Parameters is the list of parameters that is applied to resolved K8s trigger object.
patchStrategy string
source object
View JSON Schema on GitHub

JSON Schema

argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-standard-k8-s-trigger-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-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-standard-k8-s-trigger-schema.json",
  "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger",
  "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger schema from Argo Workflows API",
  "type": "object",
  "properties": {
    "liveObject": {
      "type": "boolean",
      "title": "LiveObject specifies whether the resource should be directly fetched from K8s instead\nof being marshaled from the resource artifact. If set to true, the resource artifact\nmust contain the information required to uniquely identify the resource in the cluster,\nthat is, you must specify \"apiVersion\", \"kind\" as well as \"name\" and \"namespace\" meta\ndata.\nOnly valid for operation type `update`\n+optional"
    },
    "operation": {
      "type": "string",
      "title": "Operation refers to the type of operation performed on the k8s resource.\nDefault value is Create.\n+optional"
    },
    "parameters": {
      "description": "Parameters is the list of parameters that is applied to resolved K8s trigger object.",
      "type": "array",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerParameter"
      }
    },
    "patchStrategy": {
      "type": "string",
      "title": "PatchStrategy controls the K8s object patching strategy when the trigger operation is specified as patch.\npossible values:\n\"application/json-patch+json\"\n\"application/merge-patch+json\"\n\"application/strategic-merge-patch+json\"\n\"application/apply-patch+yaml\".\nDefaults to \"application/merge-patch+json\"\n+optional"
    },
    "source": {
      "title": "Source of the K8s resource file(s)",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ArtifactLocation"
    }
  }
}