diff --git a/scheme/index.properties b/scheme/index.properties new file mode 100644 index 00000000..c9c32ce6 --- /dev/null +++ b/scheme/index.properties @@ -0,0 +1,16 @@ +tekton.dev/v1alpha1_Pipeline.json +tekton.dev/v1alpha1_PipelineRun.json +tekton.dev/v1alpha1_Task.json +tekton.dev/v1alpha1_TaskRun.json +tekton.dev/v1alpha1_ClusterTask.json +tekton.dev/v1alpha1_Condition.json +tekton.dev/v1alpha1_PipelineResource.json +tekton.dev/v1beta1_Pipeline.json +tekton.dev/v1beta1_PipelineRun.json +tekton.dev/v1beta1_Task.json +tekton.dev/v1beta1_TaskRun.json +tekton.dev/v1beta1_ClusterTask.json +triggers.tekton.dev/v1alpha1_EventListener.json +triggers.tekton.dev/v1alpha1_TriggerTemplate.json +triggers.tekton.dev/v1alpha1_TriggerBinding.json +triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json diff --git a/scheme/pipeline.json b/scheme/pipeline.json deleted file mode 100644 index 1e766792..00000000 --- a/scheme/pipeline.json +++ /dev/null @@ -1,333 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": true, - "type": "object", - "required": [ - "apiVersion", - "kind", - "spec", - "metadata" - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "tekton.dev/v1alpha1", - "tekton.dev/v1beta1" - ], - "default": "tekton.dev/v1alpha1" - }, - "kind": { - "type": "string", - "enum": [ - "Pipeline" - ] - }, - "metadata": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/ObjectMeta" - }, - "spec": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineSpec" - } - }, - "definitions": { - "ArrayOrString": { - "type": [ - "string", - "array" - ], - "items": { - "type": "string" - } - }, - "ObjectMeta": { - "properties": { - "name": { - "type": "string" - } - }, - "additionalProperties": true, - "required": [ - "name" - ], - "type": "object" - }, - "Param": { - "required": [ - "name", - "value" - ], - "properties": { - "name": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/ArrayOrString" - } - }, - "additionalProperties": false, - "type": "object" - }, - "ParamSpec": { - "required": [ - "name" - ], - "properties": { - "default": { - "$ref": "#/definitions/ArrayOrString" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineDeclaredResource": { - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineSpec": { - "properties": { - "params": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/ParamSpec" - }, - "type": "array" - }, - "resources": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineDeclaredResource" - }, - "type": "array" - }, - "tasks": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTask" - }, - "type": "array" - }, - "workspaces": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/WorkspaceDeclaration" - }, - "type": "array" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineTask": { - "required": [ - "taskRef" - ], - "properties": { - "conditions": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTaskCondition" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "params": { - "items": { - "$ref": "#/definitions/Param" - }, - "type": "array" - }, - "resources": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTaskResources" - }, - "retries": { - "type": "integer" - }, - "runAfter": { - "items": { - "type": "string" - }, - "type": "array" - }, - "taskRef": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/TaskRef" - }, - "workspaces": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/WorkspacePipelineTaskBinding" - }, - "type": "array" - }, - "timeout": { - "type": "string", - "description": "Time after which the TaskRun times out. Defaults to 1 hour. Specified TaskRun timeout should be less than 24h. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineTaskCondition": { - "required": [ - "conditionRef" - ], - "properties": { - "conditionRef": { - "type": "string" - }, - "params": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/Param" - }, - "type": "array" - }, - "resources": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTaskInputResource" - }, - "type": "array" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineTaskInputResource": { - "required": [ - "name", - "resource" - ], - "properties": { - "from": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "resource": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineTaskOutputResource": { - "required": [ - "name", - "resource" - ], - "properties": { - "name": { - "type": "string" - }, - "resource": { - "type": "string" - } - }, - "additionalProperties": false, - "type": "object" - }, - "PipelineTaskResources": { - "properties": { - "inputs": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTaskInputResource" - }, - "type": "array" - }, - "outputs": { - "items": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/PipelineTaskOutputResource" - }, - "type": "array" - } - }, - "additionalProperties": false, - "type": "object" - }, - "TaskRef": { - "properties": { - "name": { - "type": "string" - }, - "kind": { - "type": "string", - "enum": [ - "Task", - "ClusterTask" - ] - } - }, - "additionalProperties": false, - "type": "object", - "required": [ - "name" - ] - }, - "WorkspacePipelineTaskBinding": { - "properties": { - "name": { - "type": "string", - "description": "Name is the name of the workspace as declared by the task" - }, - "workspace": { - "type": "string", - "description": "Workspace is the name of the workspace declared by the pipeline" - } - }, - "type": "object", - "required": [ - "name" - ] - }, - "WorkspaceDeclaration": { - "properties": { - "name": { - "type": "string", - "description": "Name is the name by which you can bind the volume at runtime." - }, - "description": { - "type": "string", - "description": "Description is an optional human readable description of this volume." - } - }, - "type": "object", - "required": [ - "name" - ] - } - } -} diff --git a/scheme/tekton.dev/v1alpha1_ClusterTask.json b/scheme/tekton.dev/v1alpha1_ClusterTask.json new file mode 100644 index 00000000..e677983b --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_ClusterTask.json @@ -0,0 +1,1999 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ClusterTask", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ClusterTask": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Inputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Outputs": { + "properties": { + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TestResult" + }, + "type": "array" + }, + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Inputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Outputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TestResult": { + "required": [ + "name", + "format", + "path" + ], + "properties": { + "name": { + "type": "string" + }, + "format": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_Condition.json b/scheme/tekton.dev/v1alpha1_Condition.json new file mode 100644 index 00000000..9b4999d2 --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_Condition.json @@ -0,0 +1,852 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition", + "definitions": { + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "metadata", + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConditionSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConditionSpec": { + "properties": { + "check": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "description": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceDeclaration" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ResourceDeclaration": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_Pipeline.json b/scheme/tekton.dev/v1alpha1_Pipeline.json new file mode 100644 index 00000000..f52f6f1f --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_Pipeline.json @@ -0,0 +1,2310 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Pipeline", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Inputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Outputs": { + "properties": { + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TestResult" + }, + "type": "array" + }, + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Pipeline": { + "required": [ + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineDeclaredResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResult": { + "required": [ + "name", + "description", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineSpec": { + "properties": { + "description": { + "type": "string" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineDeclaredResource" + }, + "type": "array" + }, + "tasks": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTask" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineWorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "PipelineTask": { + "properties": { + "name": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskCondition" + }, + "type": "array" + }, + "retries": { + "type": "integer" + }, + "runAfter": { + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskResources" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspacePipelineTaskBinding" + }, + "type": "array" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskCondition": { + "required": [ + "conditionRef" + ], + "properties": { + "conditionRef": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskInputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskOutputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskResources": { + "properties": { + "inputs": { + "items": { + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskOutputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineWorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Inputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Outputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TestResult": { + "required": [ + "name", + "format", + "path" + ], + "properties": { + "name": { + "type": "string" + }, + "format": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspacePipelineTaskBinding": { + "required": [ + "name", + "workspace" + ], + "properties": { + "name": { + "type": "string" + }, + "workspace": { + "type": "string" + }, + "subPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_PipelineResource.json b/scheme/tekton.dev/v1alpha1_PipelineResource.json new file mode 100644 index 00000000..8d0ba5e2 --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_PipelineResource.json @@ -0,0 +1,242 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResource", + "definitions": { + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResource": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceSpec": { + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceParam" + }, + "type": "array" + }, + "secrets": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretParam" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ResourceParam": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretParam": { + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_PipelineRun.json b/scheme/tekton.dev/v1alpha1_PipelineRun.json new file mode 100644 index 00000000..91ebedf0 --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_PipelineRun.json @@ -0,0 +1,3494 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRun", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Affinity": { + "properties": { + "nodeAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeAffinity" + }, + "podAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinity" + }, + "podAntiAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAntiAffinity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDelivery": { + "properties": { + "target": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDeliveryState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDeliveryState": { + "required": [ + "message", + "retryCount" + ], + "properties": { + "condition": { + "type": "string" + }, + "sentAt": { + "$ref": "#/definitions/Time" + }, + "message": { + "type": "string" + }, + "retryCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolatileTime" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConditionCheckStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "check": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateRunning": { + "properties": { + "startedAt": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateTerminated": { + "required": [ + "exitCode" + ], + "properties": { + "exitCode": { + "type": "integer" + }, + "signal": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + }, + "startedAt": { + "$ref": "#/definitions/Time" + }, + "finishedAt": { + "$ref": "#/definitions/Time" + }, + "containerID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateWaiting": { + "properties": { + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Inputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelector": { + "properties": { + "matchLabels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelector" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PreferredSchedulingTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelector": { + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorTerm": { + "properties": { + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + }, + "matchFields": { + "items": { + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Outputs": { + "properties": { + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TestResult" + }, + "type": "array" + }, + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaim": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "lastProbeTime": { + "$ref": "#/definitions/Time" + }, + "lastTransitionTime": { + "$ref": "#/definitions/Time" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeName": { + "type": "string" + }, + "storageClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "dataSource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TypedLocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimStatus": { + "properties": { + "phase": { + "type": "string" + }, + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "capacity": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimCondition" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineDeclaredResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceBinding": { + "properties": { + "name": { + "type": "string" + }, + "resourceRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceRef" + }, + "resourceSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceResult": { + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "resourceRef": { + "$ref": "#/definitions/PipelineResourceRef" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceSpec": { + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceParam" + }, + "type": "array" + }, + "secrets": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretParam" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResult": { + "required": [ + "name", + "description", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRun": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunConditionCheckStatus": { + "properties": { + "conditionName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConditionCheckStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunSpec": { + "properties": { + "pipelineRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRef" + }, + "pipelineSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineSpec" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceBinding" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "serviceAccountNames": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunSpecServiceAccountName" + }, + "type": "array" + }, + "status": { + "type": "string" + }, + "timeout": { + "$ref": "#/definitions/Duration" + }, + "podTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Template" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceBinding" + }, + "type": "array" + }, + "taskRunSpecs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskRunSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunSpecServiceAccountName": { + "properties": { + "taskName": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunStatus": { + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "taskRuns": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunTaskRunStatus" + } + }, + "type": "object" + }, + "pipelineResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunResult" + }, + "type": "array" + }, + "pipelineSpec": { + "$ref": "#/definitions/PipelineSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunTaskRunStatus": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunStatus" + }, + "conditionChecks": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunConditionCheckStatus" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineSpec": { + "properties": { + "description": { + "type": "string" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineDeclaredResource" + }, + "type": "array" + }, + "tasks": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTask" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineWorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTask": { + "properties": { + "name": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskCondition" + }, + "type": "array" + }, + "retries": { + "type": "integer" + }, + "runAfter": { + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskResources" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspacePipelineTaskBinding" + }, + "type": "array" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskCondition": { + "required": [ + "conditionRef" + ], + "properties": { + "conditionRef": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskInputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskOutputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskResources": { + "properties": { + "inputs": { + "items": { + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskOutputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskRunSpec": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "taskServiceAccountName": { + "type": "string" + }, + "taskPodTemplate": { + "$ref": "#/definitions/Template" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineWorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinityTerm": { + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelector" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAntiAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfigOption" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfigOption": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSecurityContext": { + "properties": { + "seLinuxOptions": { + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "fsGroup": { + "type": "integer" + }, + "sysctls": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Sysctl" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PreferredSchedulingTerm": { + "required": [ + "weight", + "preference" + ], + "properties": { + "weight": { + "type": "integer" + }, + "preference": { + "$ref": "#/definitions/NodeSelectorTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceParam": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretParam": { + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SidecarState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StepState": { + "properties": { + "waiting": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Sysctl": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StepState" + }, + "type": "array" + }, + "cloudEvents": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDelivery" + }, + "type": "array" + }, + "retriesStatus": { + "items": { + "$ref": "#/definitions/TaskRunStatus" + }, + "type": "array" + }, + "resourcesResult": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceResult" + }, + "type": "array" + }, + "taskResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResult" + }, + "type": "array" + }, + "sidecars": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SidecarState" + }, + "type": "array" + }, + "taskSpec": { + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Inputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Outputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Template": { + "required": [ + "schedulerName", + "ImagePullSecrets", + "hostNetwork" + ], + "properties": { + "nodeSelector": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "tolerations": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Toleration" + }, + "type": "array" + }, + "affinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Affinity" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSecurityContext" + }, + "volumes": { + "items": { + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "runtimeClassName": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "dnsPolicy": { + "type": "string" + }, + "dnsConfig": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfig" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "priorityClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/LocalObjectReference" + }, + "type": "array" + }, + "hostNetwork": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TestResult": { + "required": [ + "name", + "format", + "path" + ], + "properties": { + "name": { + "type": "string" + }, + "format": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Toleration": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "value": { + "type": "string" + }, + "effect": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolatileTime": { + "required": [ + "Inner" + ], + "properties": { + "Inner": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WeightedPodAffinityTerm": { + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "weight": { + "type": "integer" + }, + "podAffinityTerm": { + "$ref": "#/definitions/PodAffinityTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceBinding": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaim" + }, + "persistentVolumeClaim": { + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "emptyDir": { + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "configMap": { + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "secret": { + "$ref": "#/definitions/SecretVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspacePipelineTaskBinding": { + "required": [ + "name", + "workspace" + ], + "properties": { + "name": { + "type": "string" + }, + "workspace": { + "type": "string" + }, + "subPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_Task.json b/scheme/tekton.dev/v1alpha1_Task.json new file mode 100644 index 00000000..c4a608d9 --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_Task.json @@ -0,0 +1,2003 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Task", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Inputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Outputs": { + "properties": { + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TestResult" + }, + "type": "array" + }, + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Task": { + "required": [ + "metadata", + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Inputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Outputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TestResult": { + "required": [ + "name", + "format", + "path" + ], + "properties": { + "name": { + "type": "string" + }, + "format": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1alpha1_TaskRun.json b/scheme/tekton.dev/v1alpha1_TaskRun.json new file mode 100644 index 00000000..e40d6afe --- /dev/null +++ b/scheme/tekton.dev/v1alpha1_TaskRun.json @@ -0,0 +1,3116 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRun", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Affinity": { + "properties": { + "nodeAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeAffinity" + }, + "podAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinity" + }, + "podAntiAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAntiAffinity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDelivery": { + "properties": { + "target": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDeliveryState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDeliveryState": { + "required": [ + "message", + "retryCount" + ], + "properties": { + "condition": { + "type": "string" + }, + "sentAt": { + "$ref": "#/definitions/Time" + }, + "message": { + "type": "string" + }, + "retryCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolatileTime" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateRunning": { + "properties": { + "startedAt": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateTerminated": { + "required": [ + "exitCode" + ], + "properties": { + "exitCode": { + "type": "integer" + }, + "signal": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + }, + "startedAt": { + "$ref": "#/definitions/Time" + }, + "finishedAt": { + "$ref": "#/definitions/Time" + }, + "containerID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateWaiting": { + "properties": { + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Inputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelector": { + "properties": { + "matchLabels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelector" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PreferredSchedulingTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelector": { + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorTerm": { + "properties": { + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + }, + "matchFields": { + "items": { + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Outputs": { + "properties": { + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TestResult" + }, + "type": "array" + }, + "resources": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaim": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "lastProbeTime": { + "$ref": "#/definitions/Time" + }, + "lastTransitionTime": { + "$ref": "#/definitions/Time" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeName": { + "type": "string" + }, + "storageClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "dataSource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TypedLocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimStatus": { + "properties": { + "phase": { + "type": "string" + }, + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "capacity": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimCondition" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceResult": { + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "resourceRef": { + "$ref": "#/definitions/PipelineResourceRef" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceSpec": { + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceParam" + }, + "type": "array" + }, + "secrets": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretParam" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinityTerm": { + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelector" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAntiAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfigOption" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfigOption": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSecurityContext": { + "properties": { + "seLinuxOptions": { + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "fsGroup": { + "type": "integer" + }, + "sysctls": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Sysctl" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PreferredSchedulingTerm": { + "required": [ + "weight", + "preference" + ], + "properties": { + "weight": { + "type": "integer" + }, + "preference": { + "$ref": "#/definitions/NodeSelectorTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceParam": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretParam": { + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SidecarState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StepState": { + "properties": { + "waiting": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Sysctl": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResourceBinding": { + "properties": { + "name": { + "type": "string" + }, + "resourceRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceRef" + }, + "resourceSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceSpec" + }, + "paths": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRun": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunInputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunOutputs": { + "properties": { + "resources": { + "items": { + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunSpec": { + "required": [ + "serviceAccountName" + ], + "properties": { + "serviceAccountName": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "status": { + "type": "string" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + }, + "podTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Template" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceBinding" + }, + "type": "array" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResources" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunInputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunOutputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StepState" + }, + "type": "array" + }, + "cloudEvents": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDelivery" + }, + "type": "array" + }, + "retriesStatus": { + "items": { + "$ref": "#/definitions/TaskRunStatus" + }, + "type": "array" + }, + "resourcesResult": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceResult" + }, + "type": "array" + }, + "taskResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResult" + }, + "type": "array" + }, + "sidecars": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SidecarState" + }, + "type": "array" + }, + "taskSpec": { + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + }, + "inputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Inputs" + }, + "outputs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Outputs" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Template": { + "required": [ + "schedulerName", + "ImagePullSecrets", + "hostNetwork" + ], + "properties": { + "nodeSelector": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "tolerations": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Toleration" + }, + "type": "array" + }, + "affinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Affinity" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSecurityContext" + }, + "volumes": { + "items": { + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "runtimeClassName": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "dnsPolicy": { + "type": "string" + }, + "dnsConfig": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfig" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "priorityClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/LocalObjectReference" + }, + "type": "array" + }, + "hostNetwork": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TestResult": { + "required": [ + "name", + "format", + "path" + ], + "properties": { + "name": { + "type": "string" + }, + "format": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Toleration": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "value": { + "type": "string" + }, + "effect": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolatileTime": { + "required": [ + "Inner" + ], + "properties": { + "Inner": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WeightedPodAffinityTerm": { + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "weight": { + "type": "integer" + }, + "podAffinityTerm": { + "$ref": "#/definitions/PodAffinityTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceBinding": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaim" + }, + "persistentVolumeClaim": { + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "emptyDir": { + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "configMap": { + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "secret": { + "$ref": "#/definitions/SecretVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1beta1_ClusterTask.json b/scheme/tekton.dev/v1beta1_ClusterTask.json new file mode 100644 index 00000000..72c35bc7 --- /dev/null +++ b/scheme/tekton.dev/v1beta1_ClusterTask.json @@ -0,0 +1,1934 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ClusterTask", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ClusterTask": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1beta1_Pipeline.json b/scheme/tekton.dev/v1beta1_Pipeline.json new file mode 100644 index 00000000..65239264 --- /dev/null +++ b/scheme/tekton.dev/v1beta1_Pipeline.json @@ -0,0 +1,2236 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Pipeline", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Pipeline": { + "required": [ + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineDeclaredResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResult": { + "required": [ + "name", + "description", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineSpec": { + "properties": { + "description": { + "type": "string" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineDeclaredResource" + }, + "type": "array" + }, + "tasks": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTask" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineWorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTask": { + "properties": { + "name": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskCondition" + }, + "type": "array" + }, + "retries": { + "type": "integer" + }, + "runAfter": { + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskResources" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspacePipelineTaskBinding" + }, + "type": "array" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskCondition": { + "required": [ + "conditionRef" + ], + "properties": { + "conditionRef": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskInputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskOutputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskResources": { + "properties": { + "inputs": { + "items": { + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskOutputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineWorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspacePipelineTaskBinding": { + "required": [ + "name", + "workspace" + ], + "properties": { + "name": { + "type": "string" + }, + "workspace": { + "type": "string" + }, + "subPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1beta1_PipelineRun.json b/scheme/tekton.dev/v1beta1_PipelineRun.json new file mode 100644 index 00000000..8e6e2ef1 --- /dev/null +++ b/scheme/tekton.dev/v1beta1_PipelineRun.json @@ -0,0 +1,3429 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRun", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Affinity": { + "properties": { + "nodeAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeAffinity" + }, + "podAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinity" + }, + "podAntiAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAntiAffinity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDelivery": { + "properties": { + "target": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDeliveryState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDeliveryState": { + "required": [ + "message", + "retryCount" + ], + "properties": { + "condition": { + "type": "string" + }, + "sentAt": { + "$ref": "#/definitions/Time" + }, + "message": { + "type": "string" + }, + "retryCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolatileTime" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConditionCheckStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "check": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateRunning": { + "properties": { + "startedAt": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateTerminated": { + "required": [ + "exitCode" + ], + "properties": { + "exitCode": { + "type": "integer" + }, + "signal": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + }, + "startedAt": { + "$ref": "#/definitions/Time" + }, + "finishedAt": { + "$ref": "#/definitions/Time" + }, + "containerID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateWaiting": { + "properties": { + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelector": { + "properties": { + "matchLabels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelector" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PreferredSchedulingTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelector": { + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorTerm": { + "properties": { + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + }, + "matchFields": { + "items": { + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaim": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "lastProbeTime": { + "$ref": "#/definitions/Time" + }, + "lastTransitionTime": { + "$ref": "#/definitions/Time" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeName": { + "type": "string" + }, + "storageClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "dataSource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TypedLocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimStatus": { + "properties": { + "phase": { + "type": "string" + }, + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "capacity": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimCondition" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineDeclaredResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceBinding": { + "properties": { + "name": { + "type": "string" + }, + "resourceRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceRef" + }, + "resourceSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceResult": { + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "resourceRef": { + "$ref": "#/definitions/PipelineResourceRef" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceSpec": { + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceParam" + }, + "type": "array" + }, + "secrets": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretParam" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResult": { + "required": [ + "name", + "description", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRun": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunConditionCheckStatus": { + "properties": { + "conditionName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConditionCheckStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunSpec": { + "properties": { + "pipelineRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRef" + }, + "pipelineSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineSpec" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceBinding" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + }, + "serviceAccountNames": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunSpecServiceAccountName" + }, + "type": "array" + }, + "status": { + "type": "string" + }, + "timeout": { + "$ref": "#/definitions/Duration" + }, + "podTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Template" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceBinding" + }, + "type": "array" + }, + "taskRunSpecs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskRunSpec" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunSpecServiceAccountName": { + "properties": { + "taskName": { + "type": "string" + }, + "serviceAccountName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunStatus": { + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "taskRuns": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunTaskRunStatus" + } + }, + "type": "object" + }, + "pipelineResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunResult" + }, + "type": "array" + }, + "pipelineSpec": { + "$ref": "#/definitions/PipelineSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineRunTaskRunStatus": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunStatus" + }, + "conditionChecks": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunConditionCheckStatus" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineSpec": { + "properties": { + "description": { + "type": "string" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineDeclaredResource" + }, + "type": "array" + }, + "tasks": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTask" + }, + "type": "array" + }, + "params": { + "items": { + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineWorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTask": { + "properties": { + "name": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskCondition" + }, + "type": "array" + }, + "retries": { + "type": "integer" + }, + "runAfter": { + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskResources" + }, + "params": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspacePipelineTaskBinding" + }, + "type": "array" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskCondition": { + "required": [ + "conditionRef" + ], + "properties": { + "conditionRef": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskInputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "from": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskOutputResource": { + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "type": "string" + }, + "resource": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskResources": { + "properties": { + "inputs": { + "items": { + "$ref": "#/definitions/PipelineTaskInputResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineTaskOutputResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineTaskRunSpec": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "taskServiceAccountName": { + "type": "string" + }, + "taskPodTemplate": { + "$ref": "#/definitions/Template" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineWorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinityTerm": { + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelector" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAntiAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfigOption" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfigOption": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSecurityContext": { + "properties": { + "seLinuxOptions": { + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "fsGroup": { + "type": "integer" + }, + "sysctls": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Sysctl" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PreferredSchedulingTerm": { + "required": [ + "weight", + "preference" + ], + "properties": { + "weight": { + "type": "integer" + }, + "preference": { + "$ref": "#/definitions/NodeSelectorTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceParam": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretParam": { + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SidecarState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StepState": { + "properties": { + "waiting": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Sysctl": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StepState" + }, + "type": "array" + }, + "cloudEvents": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDelivery" + }, + "type": "array" + }, + "retriesStatus": { + "items": { + "$ref": "#/definitions/TaskRunStatus" + }, + "type": "array" + }, + "resourcesResult": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceResult" + }, + "type": "array" + }, + "taskResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResult" + }, + "type": "array" + }, + "sidecars": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SidecarState" + }, + "type": "array" + }, + "taskSpec": { + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Template": { + "required": [ + "schedulerName", + "ImagePullSecrets", + "hostNetwork" + ], + "properties": { + "nodeSelector": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "tolerations": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Toleration" + }, + "type": "array" + }, + "affinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Affinity" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSecurityContext" + }, + "volumes": { + "items": { + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "runtimeClassName": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "dnsPolicy": { + "type": "string" + }, + "dnsConfig": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfig" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "priorityClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/LocalObjectReference" + }, + "type": "array" + }, + "hostNetwork": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Toleration": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "value": { + "type": "string" + }, + "effect": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolatileTime": { + "required": [ + "Inner" + ], + "properties": { + "Inner": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WeightedPodAffinityTerm": { + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "weight": { + "type": "integer" + }, + "podAffinityTerm": { + "$ref": "#/definitions/PodAffinityTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceBinding": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaim" + }, + "persistentVolumeClaim": { + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "emptyDir": { + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "configMap": { + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "secret": { + "$ref": "#/definitions/SecretVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspacePipelineTaskBinding": { + "required": [ + "name", + "workspace" + ], + "properties": { + "name": { + "type": "string" + }, + "workspace": { + "type": "string" + }, + "subPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1beta1_Task.json b/scheme/tekton.dev/v1beta1_Task.json new file mode 100644 index 00000000..6eb9d631 --- /dev/null +++ b/scheme/tekton.dev/v1beta1_Task.json @@ -0,0 +1,1938 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Task", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Task": { + "required": [ + "metadata", + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/tekton.dev/v1beta1_TaskRun.json b/scheme/tekton.dev/v1beta1_TaskRun.json new file mode 100644 index 00000000..054cea4d --- /dev/null +++ b/scheme/tekton.dev/v1beta1_TaskRun.json @@ -0,0 +1,3013 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRun", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Affinity": { + "properties": { + "nodeAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeAffinity" + }, + "podAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinity" + }, + "podAntiAffinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAntiAffinity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureDiskVolumeSource": { + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "diskName": { + "type": "string" + }, + "diskURI": { + "type": "string" + }, + "cachingMode": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "kind": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "AzureFileVolumeSource": { + "required": [ + "secretName", + "shareName" + ], + "properties": { + "secretName": { + "type": "string" + }, + "shareName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CSIVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "fsType": { + "type": "string" + }, + "volumeAttributes": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "nodePublishSecretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Capabilities": { + "properties": { + "add": { + "items": { + "type": "string" + }, + "type": "array" + }, + "drop": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CephFSVolumeSource": { + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "user": { + "type": "string" + }, + "secretFile": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CinderVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDelivery": { + "properties": { + "target": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDeliveryState" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CloudEventDeliveryState": { + "required": [ + "message", + "retryCount" + ], + "properties": { + "condition": { + "type": "string" + }, + "sentAt": { + "$ref": "#/definitions/Time" + }, + "message": { + "type": "string" + }, + "retryCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolatileTime" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ConfigMapVolumeSource": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Container": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerPort": { + "required": [ + "containerPort" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPort": { + "type": "integer" + }, + "containerPort": { + "type": "integer" + }, + "protocol": { + "type": "string" + }, + "hostIP": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateRunning": { + "properties": { + "startedAt": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateTerminated": { + "required": [ + "exitCode" + ], + "properties": { + "exitCode": { + "type": "integer" + }, + "signal": { + "type": "integer" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + }, + "startedAt": { + "$ref": "#/definitions/Time" + }, + "finishedAt": { + "$ref": "#/definitions/Time" + }, + "containerID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ContainerStateWaiting": { + "properties": { + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIProjection": { + "properties": { + "items": { + "items": { + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeFile": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "fieldRef": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$ref": "#/definitions/ResourceFieldSelector" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "DownwardAPIVolumeSource": { + "properties": { + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeFile" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Duration": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "EmptyDirVolumeSource": { + "properties": { + "medium": { + "type": "string" + }, + "sizeLimit": { + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvFromSource": { + "properties": { + "prefix": { + "type": "string" + }, + "configMapRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapEnvSource" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretEnvSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVar": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "valueFrom": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVarSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EnvVarSource": { + "properties": { + "fieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceFieldSelector" + }, + "configMapKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapKeySelector" + }, + "secretKeyRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretKeySelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ExecAction": { + "properties": { + "command": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FCVolumeSource": { + "properties": { + "targetWWNs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "lun": { + "type": "integer" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "wwids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "FlexVolumeSource": { + "required": [ + "driver" + ], + "properties": { + "driver": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + }, + "options": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FlockerVolumeSource": { + "properties": { + "datasetName": { + "type": "string" + }, + "datasetUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GCEPersistentDiskVolumeSource": { + "required": [ + "pdName" + ], + "properties": { + "pdName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitRepoVolumeSource": { + "required": [ + "repository" + ], + "properties": { + "repository": { + "type": "string" + }, + "revision": { + "type": "string" + }, + "directory": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GlusterfsVolumeSource": { + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPGetAction": { + "required": [ + "port" + ], + "properties": { + "path": { + "type": "string" + }, + "port": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + }, + "scheme": { + "type": "string" + }, + "httpHeaders": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPHeader" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HTTPHeader": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Handler": { + "properties": { + "exec": { + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$ref": "#/definitions/TCPSocketAction" + } + }, + "additionalProperties": false, + "type": "object" + }, + "HostPathVolumeSource": { + "required": [ + "path" + ], + "properties": { + "path": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ISCSIVolumeSource": { + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "targetPortal": { + "type": "string" + }, + "iqn": { + "type": "string" + }, + "lun": { + "type": "integer" + }, + "iscsiInterface": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "portals": { + "items": { + "type": "string" + }, + "type": "array" + }, + "chapAuthDiscovery": { + "type": "boolean" + }, + "chapAuthSession": { + "type": "boolean" + }, + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LocalObjectReference" + }, + "initiatorName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "IntOrString": { + "required": [ + "Type", + "IntVal", + "StrVal" + ], + "properties": { + "Type": { + "type": "integer" + }, + "IntVal": { + "type": "integer" + }, + "StrVal": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelector": { + "properties": { + "matchLabels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LabelSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Lifecycle": { + "properties": { + "postStart": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Handler" + }, + "preStop": { + "$ref": "#/definitions/Handler" + } + }, + "additionalProperties": false, + "type": "object" + }, + "LocalObjectReference": { + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelector" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PreferredSchedulingTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelector": { + "required": [ + "nodeSelectorTerms" + ], + "properties": { + "nodeSelectorTerms": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorRequirement": { + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NodeSelectorTerm": { + "properties": { + "matchExpressions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + }, + "matchFields": { + "items": { + "$ref": "#/definitions/NodeSelectorRequirement" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectFieldSelector": { + "required": [ + "fieldPath" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaim": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "lastProbeTime": { + "$ref": "#/definitions/Time" + }, + "lastTransitionTime": { + "$ref": "#/definitions/Time" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeName": { + "type": "string" + }, + "storageClassName": { + "type": "string" + }, + "volumeMode": { + "type": "string" + }, + "dataSource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TypedLocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimStatus": { + "properties": { + "phase": { + "type": "string" + }, + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "capacity": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimCondition" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimVolumeSource": { + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PhotonPersistentDiskVolumeSource": { + "required": [ + "pdID" + ], + "properties": { + "pdID": { + "type": "string" + }, + "fsType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceRef": { + "properties": { + "name": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceResult": { + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "resourceRef": { + "$ref": "#/definitions/PipelineResourceRef" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PipelineResourceSpec": { + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceParam" + }, + "type": "array" + }, + "secrets": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretParam" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAffinityTerm": { + "required": [ + "topologyKey" + ], + "properties": { + "labelSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelector" + }, + "namespaces": { + "items": { + "type": "string" + }, + "type": "array" + }, + "topologyKey": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodAntiAffinity": { + "properties": { + "requiredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/PodAffinityTerm" + }, + "type": "array" + }, + "preferredDuringSchedulingIgnoredDuringExecution": { + "items": { + "$ref": "#/definitions/WeightedPodAffinityTerm" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfig": { + "properties": { + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "searches": { + "items": { + "type": "string" + }, + "type": "array" + }, + "options": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfigOption" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodDNSConfigOption": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSecurityContext": { + "properties": { + "seLinuxOptions": { + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "supplementalGroups": { + "items": { + "type": "integer" + }, + "type": "array" + }, + "fsGroup": { + "type": "integer" + }, + "sysctls": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Sysctl" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PortworxVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PreferredSchedulingTerm": { + "required": [ + "weight", + "preference" + ], + "properties": { + "weight": { + "type": "integer" + }, + "preference": { + "$ref": "#/definitions/NodeSelectorTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Probe": { + "properties": { + "exec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ExecAction" + }, + "httpGet": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HTTPGetAction" + }, + "tcpSocket": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TCPSocketAction" + }, + "initialDelaySeconds": { + "type": "integer" + }, + "timeoutSeconds": { + "type": "integer" + }, + "periodSeconds": { + "type": "integer" + }, + "successThreshold": { + "type": "integer" + }, + "failureThreshold": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ProjectedVolumeSource": { + "required": [ + "sources" + ], + "properties": { + "sources": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeProjection" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Quantity": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "QuobyteVolumeSource": { + "required": [ + "registry", + "volume" + ], + "properties": { + "registry": { + "type": "string" + }, + "volume": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "user": { + "type": "string" + }, + "group": { + "type": "string" + }, + "tenant": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RBDVolumeSource": { + "required": [ + "monitors", + "image" + ], + "properties": { + "monitors": { + "items": { + "type": "string" + }, + "type": "array" + }, + "image": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "pool": { + "type": "string" + }, + "user": { + "type": "string" + }, + "keyring": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceFieldSelector": { + "required": [ + "resource" + ], + "properties": { + "containerName": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "divisor": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Quantity" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceParam": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ResourceRequirements": { + "properties": { + "limits": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "requests": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SELinuxOptions": { + "properties": { + "user": { + "type": "string" + }, + "role": { + "type": "string" + }, + "type": { + "type": "string" + }, + "level": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ScaleIOVolumeSource": { + "required": [ + "gateway", + "system", + "secretRef" + ], + "properties": { + "gateway": { + "type": "string" + }, + "system": { + "type": "string" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + }, + "sslEnabled": { + "type": "boolean" + }, + "protectionDomain": { + "type": "string" + }, + "storagePool": { + "type": "string" + }, + "storageMode": { + "type": "string" + }, + "volumeName": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretEnvSource": { + "properties": { + "name": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretKeySelector": { + "required": [ + "key" + ], + "properties": { + "name": { + "type": "string" + }, + "key": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretParam": { + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string" + }, + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretProjection": { + "properties": { + "name": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretVolumeSource": { + "properties": { + "secretName": { + "type": "string" + }, + "items": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KeyToPath" + }, + "type": "array" + }, + "defaultMode": { + "type": "integer" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecurityContext": { + "properties": { + "capabilities": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Capabilities" + }, + "privileged": { + "type": "boolean" + }, + "seLinuxOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SELinuxOptions" + }, + "windowsOptions": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WindowsSecurityContextOptions" + }, + "runAsUser": { + "type": "integer" + }, + "runAsGroup": { + "type": "integer" + }, + "runAsNonRoot": { + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "type": "boolean" + }, + "allowPrivilegeEscalation": { + "type": "boolean" + }, + "procMount": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SidecarState": { + "properties": { + "waiting": { + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Step": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "image": { + "type": "string" + }, + "command": { + "items": { + "type": "string" + }, + "type": "array" + }, + "args": { + "items": { + "type": "string" + }, + "type": "array" + }, + "workingDir": { + "type": "string" + }, + "ports": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerPort" + }, + "type": "array" + }, + "envFrom": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvFromSource" + }, + "type": "array" + }, + "env": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EnvVar" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ResourceRequirements" + }, + "volumeMounts": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeMount" + }, + "type": "array" + }, + "volumeDevices": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolumeDevice" + }, + "type": "array" + }, + "livenessProbe": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Probe" + }, + "readinessProbe": { + "$ref": "#/definitions/Probe" + }, + "startupProbe": { + "$ref": "#/definitions/Probe" + }, + "lifecycle": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Lifecycle" + }, + "terminationMessagePath": { + "type": "string" + }, + "terminationMessagePolicy": { + "type": "string" + }, + "imagePullPolicy": { + "type": "string" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecurityContext" + }, + "stdin": { + "type": "boolean" + }, + "stdinOnce": { + "type": "boolean" + }, + "tty": { + "type": "boolean" + }, + "script": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StepState": { + "properties": { + "waiting": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateWaiting" + }, + "running": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateRunning" + }, + "terminated": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ContainerStateTerminated" + }, + "name": { + "type": "string" + }, + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "StorageOSVolumeSource": { + "properties": { + "volumeName": { + "type": "string" + }, + "volumeNamespace": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/LocalObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Sysctl": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TCPSocketAction": { + "required": [ + "port" + ], + "properties": { + "port": { + "$ref": "#/definitions/IntOrString" + }, + "host": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResource": { + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "targetPath": { + "type": "string" + }, + "optional": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResourceBinding": { + "properties": { + "name": { + "type": "string" + }, + "resourceRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceRef" + }, + "resourceSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceSpec" + }, + "paths": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResource" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskResult": { + "required": [ + "name", + "description" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRun": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResources": { + "properties": { + "inputs": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + }, + "outputs": { + "items": { + "$ref": "#/definitions/TaskResourceBinding" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunSpec": { + "required": [ + "serviceAccountName" + ], + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResources" + }, + "serviceAccountName": { + "type": "string" + }, + "taskRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRef" + }, + "taskSpec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskSpec" + }, + "status": { + "type": "string" + }, + "timeout": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Duration" + }, + "podTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Template" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceBinding" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskRunStatus": { + "required": [ + "podName" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "podName": { + "type": "string" + }, + "startTime": { + "$ref": "#/definitions/Time" + }, + "completionTime": { + "$ref": "#/definitions/Time" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StepState" + }, + "type": "array" + }, + "cloudEvents": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CloudEventDelivery" + }, + "type": "array" + }, + "retriesStatus": { + "items": { + "$ref": "#/definitions/TaskRunStatus" + }, + "type": "array" + }, + "resourcesResult": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineResourceResult" + }, + "type": "array" + }, + "taskResults": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunResult" + }, + "type": "array" + }, + "sidecars": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SidecarState" + }, + "type": "array" + }, + "taskSpec": { + "$ref": "#/definitions/TaskSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TaskSpec": { + "properties": { + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResources" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "steps": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "stepTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "sidecars": { + "items": { + "$ref": "#/definitions/Step" + }, + "type": "array" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceDeclaration" + }, + "type": "array" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskResult" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Template": { + "required": [ + "schedulerName", + "ImagePullSecrets", + "hostNetwork" + ], + "properties": { + "nodeSelector": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "tolerations": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Toleration" + }, + "type": "array" + }, + "affinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Affinity" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSecurityContext" + }, + "volumes": { + "items": { + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "runtimeClassName": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "dnsPolicy": { + "type": "string" + }, + "dnsConfig": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfig" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "priorityClassName": { + "type": "string" + }, + "schedulerName": { + "type": "string" + }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/LocalObjectReference" + }, + "type": "array" + }, + "hostNetwork": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "Toleration": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "value": { + "type": "string" + }, + "effect": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolatileTime": { + "required": [ + "Inner" + ], + "properties": { + "Inner": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Volume": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "hostPath": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostPathVolumeSource" + }, + "emptyDir": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "gcePersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GCEPersistentDiskVolumeSource" + }, + "awsElasticBlockStore": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AWSElasticBlockStoreVolumeSource" + }, + "gitRepo": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitRepoVolumeSource" + }, + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretVolumeSource" + }, + "nfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NFSVolumeSource" + }, + "iscsi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ISCSIVolumeSource" + }, + "glusterfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GlusterfsVolumeSource" + }, + "persistentVolumeClaim": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "rbd": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RBDVolumeSource" + }, + "flexVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlexVolumeSource" + }, + "cinder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CinderVolumeSource" + }, + "cephfs": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CephFSVolumeSource" + }, + "flocker": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FlockerVolumeSource" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIVolumeSource" + }, + "fc": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FCVolumeSource" + }, + "azureFile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureFileVolumeSource" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "vsphereVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VsphereVirtualDiskVolumeSource" + }, + "quobyte": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/QuobyteVolumeSource" + }, + "azureDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/AzureDiskVolumeSource" + }, + "photonPersistentDisk": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PhotonPersistentDiskVolumeSource" + }, + "projected": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ProjectedVolumeSource" + }, + "portworxVolume": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PortworxVolumeSource" + }, + "scaleIO": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ScaleIOVolumeSource" + }, + "storageos": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/StorageOSVolumeSource" + }, + "csi": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CSIVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeDevice": { + "required": [ + "name", + "devicePath" + ], + "properties": { + "name": { + "type": "string" + }, + "devicePath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeMount": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + }, + "mountPath": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "mountPropagation": { + "type": "string" + }, + "subPathExpr": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VolumeProjection": { + "properties": { + "secret": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretProjection" + }, + "downwardAPI": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/DownwardAPIProjection" + }, + "configMap": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ConfigMapProjection" + }, + "serviceAccountToken": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ServiceAccountTokenProjection" + } + }, + "additionalProperties": false, + "type": "object" + }, + "VsphereVirtualDiskVolumeSource": { + "required": [ + "volumePath" + ], + "properties": { + "volumePath": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "storagePolicyName": { + "type": "string" + }, + "storagePolicyID": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WeightedPodAffinityTerm": { + "required": [ + "weight", + "podAffinityTerm" + ], + "properties": { + "weight": { + "type": "integer" + }, + "podAffinityTerm": { + "$ref": "#/definitions/PodAffinityTerm" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WindowsSecurityContextOptions": { + "properties": { + "gmsaCredentialSpecName": { + "type": "string" + }, + "gmsaCredentialSpec": { + "type": "string" + }, + "runAsUserName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceBinding": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "subPath": { + "type": "string" + }, + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaim" + }, + "persistentVolumeClaim": { + "$ref": "#/definitions/PersistentVolumeClaimVolumeSource" + }, + "emptyDir": { + "$ref": "#/definitions/EmptyDirVolumeSource" + }, + "configMap": { + "$ref": "#/definitions/ConfigMapVolumeSource" + }, + "secret": { + "$ref": "#/definitions/SecretVolumeSource" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WorkspaceDeclaration": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "mountPath": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json b/scheme/triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json new file mode 100644 index 00000000..c9c69c0f --- /dev/null +++ b/scheme/triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json @@ -0,0 +1,205 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ClusterTriggerBinding", + "definitions": { + "ClusterTriggerBinding": { + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBindingSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBindingStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "TriggerBindingSpec": { + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerBindingStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/triggers.tekton.dev/v1alpha1_EventListener.json b/scheme/triggers.tekton.dev/v1alpha1_EventListener.json new file mode 100644 index 00000000..e1af28d7 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1alpha1_EventListener.json @@ -0,0 +1,579 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListener", + "definitions": { + "Addressable": { + "properties": { + "url": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/URL" + }, + "hostname": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CELInterceptor": { + "properties": { + "filter": { + "type": "string" + }, + "overlays": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CELOverlay" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "CELOverlay": { + "properties": { + "key": { + "type": "string" + }, + "expression": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/VolatileTime" + }, + "reason": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventInterceptor": { + "properties": { + "webhook": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WebhookInterceptor" + }, + "github": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitHubInterceptor" + }, + "gitlab": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/GitLabInterceptor" + }, + "cel": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CELInterceptor" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListener": { + "required": [ + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerBinding": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBindingSpec" + }, + "apiversion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerConfig": { + "required": [ + "generatedName" + ], + "properties": { + "generatedName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerSpec": { + "required": [ + "serviceAccountName", + "triggers" + ], + "properties": { + "serviceAccountName": { + "type": "string" + }, + "triggers": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerTrigger" + }, + "type": "array" + }, + "serviceType": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerStatus": { + "required": [ + "configuration" + ], + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "address": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Addressable" + }, + "configuration": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerConfig" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerTemplate": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "apiversion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerTrigger": { + "required": [ + "bindings", + "template" + ], + "properties": { + "bindings": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerBinding" + }, + "type": "array" + }, + "template": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerTemplate" + }, + "name": { + "type": "string" + }, + "interceptors": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventInterceptor" + }, + "type": "array" + }, + "serviceAccount": { + "$ref": "#/definitions/ObjectReference" + } + }, + "additionalProperties": false, + "type": "object" + }, + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "GitHubInterceptor": { + "properties": { + "secretRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SecretRef" + }, + "eventTypes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "GitLabInterceptor": { + "properties": { + "secretRef": { + "$ref": "#/definitions/SecretRef" + }, + "eventTypes": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectReference": { + "properties": { + "kind": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "fieldPath": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "SecretRef": { + "properties": { + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + }, + "namespace": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "TriggerBindingSpec": { + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "URL": { + "required": [ + "Scheme", + "Opaque", + "User", + "Host", + "Path", + "RawPath", + "ForceQuery", + "RawQuery", + "Fragment" + ], + "properties": { + "Scheme": { + "type": "string" + }, + "Opaque": { + "type": "string" + }, + "User": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Userinfo" + }, + "Host": { + "type": "string" + }, + "Path": { + "type": "string" + }, + "RawPath": { + "type": "string" + }, + "ForceQuery": { + "type": "boolean" + }, + "RawQuery": { + "type": "string" + }, + "Fragment": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Userinfo": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "VolatileTime": { + "required": [ + "Inner" + ], + "properties": { + "Inner": { + "$ref": "#/definitions/Time" + } + }, + "additionalProperties": false, + "type": "object" + }, + "WebhookInterceptor": { + "properties": { + "objectRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectReference" + }, + "header": { + "items": { + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json b/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json new file mode 100644 index 00000000..16e733ca --- /dev/null +++ b/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json @@ -0,0 +1,208 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBinding", + "definitions": { + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Param": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "TriggerBinding": { + "required": [ + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBindingSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBindingStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerBindingSpec": { + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerBindingStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json b/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json new file mode 100644 index 00000000..4c3bf0e4 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json @@ -0,0 +1,222 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerTemplate", + "definitions": { + "FieldsV1": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "$ref": "#/definitions/Time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/FieldsV1" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ObjectMeta": { + "properties": { + "name": { + "type": "string" + }, + "generateName": { + "type": "string" + }, + "namespace": { + "type": "string" + }, + "selfLink": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "resourceVersion": { + "type": "string" + }, + "generation": { + "type": "integer" + }, + "creationTimestamp": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Time" + }, + "deletionTimestamp": { + "$ref": "#/definitions/Time" + }, + "deletionGracePeriodSeconds": { + "type": "integer" + }, + "labels": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "ownerReferences": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/OwnerReference" + }, + "type": "array" + }, + "finalizers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusterName": { + "type": "string" + }, + "managedFields": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ManagedFieldsEntry" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "OwnerReference": { + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "controller": { + "type": "boolean" + }, + "blockOwnerDeletion": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Time": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "TriggerResourceTemplate": { + "properties": {}, + "additionalProperties": false, + "type": "object" + }, + "TriggerTemplate": { + "required": [ + "spec" + ], + "properties": { + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "metadata": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerTemplateSpec" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerTemplateStatus" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerTemplateSpec": { + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "resourcetemplates": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerResourceTemplate" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerTemplateStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/src/yaml-support/tkn-scheme-storage.ts b/src/yaml-support/tkn-scheme-storage.ts index c218ad7d..8192fe10 100644 --- a/src/yaml-support/tkn-scheme-storage.ts +++ b/src/yaml-support/tkn-scheme-storage.ts @@ -29,9 +29,14 @@ export class TknSchemeStorage { } if (this.cache[key].version !== doc.version) { - const scheme = await generator(doc); - this.cache[key].scheme = scheme; - this.cache[key].version = doc.version; + try { + const scheme = await generator(doc); + this.cache[key].scheme = scheme; + this.cache[key].version = doc.version; + } catch (err) { + console.error(err); + } + } } } diff --git a/src/yaml-support/tkn-yaml-schema.ts b/src/yaml-support/tkn-yaml-schema.ts index 9b4dd82e..ee1871b5 100644 --- a/src/yaml-support/tkn-yaml-schema.ts +++ b/src/yaml-support/tkn-yaml-schema.ts @@ -6,6 +6,8 @@ import * as vscode from 'vscode'; import * as semver from 'semver'; import { tektonYaml, TektonYamlType } from './tkn-yaml'; import { generateScheme } from './tkn-yaml-scheme-generator'; +import * as fs from 'fs-extra'; +import * as path from 'path'; enum MODIFICATION_ACTIONS { 'delete', @@ -29,12 +31,13 @@ interface SchemaDeletions { } interface YamlExtensionAPI { - registerContributor(schema: string, requestSchema: (resource: string) => string, requestSchemaContent: (uri: string) => Promise): boolean; + registerContributor(schema: string, requestSchema: (resource: string) => string, requestSchemaContent: (uri: string) => Promise, label?: string): boolean; modifySchemaContent(schemaModifications: SchemaAdditions | SchemaDeletions): Promise; } const VSCODE_YAML_EXTENSION_ID = 'redhat.vscode-yaml'; let extContext: vscode.ExtensionContext; const tektonUriCache = new Map(); +let schemaPaths: string[]; export async function registerYamlSchemaSupport(context: vscode.ExtensionContext): Promise { extContext = context; @@ -44,30 +47,10 @@ export async function registerYamlSchemaSupport(context: vscode.ExtensionContext return; } - yamlPlugin.registerContributor('tekton', requestYamlSchemaUriCallback, requestYamlSchemaContentCallback); + schemaPaths = (await fs.readFile(context.asAbsolutePath('scheme/index.properties'))).toString().split('\n'); - //TODO: This is temporary, until 'vscode-yaml' not fixed 'modifySchemaContent' for contributed schema - - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const rcs = (yamlPlugin as any).requestCustomSchema.bind(yamlPlugin); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - (yamlPlugin as any).requestCustomSchema = async (resource: string): Promise => { - const result: string[] = await rcs(resource); - if (result.includes('kubernetes://schema/tekton.dev/v1alpha1@pipeline')) { - const index = result.indexOf('kubernetes://schema/tekton.dev/v1alpha1@pipeline'); - if (index > -1) { - result.splice(index, 1); - } - } - if (result.includes('kubernetes://schema/tekton.dev/v1beta1@pipeline')) { - const index = result.indexOf('kubernetes://schema/tekton.dev/v1beta1@pipeline'); - if (index > -1) { - result.splice(index, 1); - } - } - - return result; - } + yamlPlugin.registerContributor('tekton', requestYamlSchemaUriCallback, requestYamlSchemaContentCallback, 'apiVersion:tekton.dev/v1beta1'); + yamlPlugin.registerContributor('triggers-tekton', requestYamlSchemaUriCallback, requestYamlSchemaContentCallback, 'apiVersion:triggers.tekton.dev/v1alpha1'); } async function activateYamlExtension(): Promise { @@ -93,15 +76,25 @@ async function activateYamlExtension(): Promise { return yamlPlugin; } + function requestYamlSchemaUriCallback(resource: string): string | undefined { const textEditor = vscode.window.visibleTextEditors.find((editor) => editor.document.uri.toString() === resource); if (textEditor) { - const tektonYamlType = tektonYaml.isTektonYaml(textEditor.document); - if (tektonYamlType && tektonYamlType === TektonYamlType.Pipeline) { - let resourceUrl = vscode.Uri.parse(resource); - resourceUrl = resourceUrl.with({ scheme: 'tekton' }); - tektonUriCache.set(resourceUrl.toString(), textEditor.document.uri.toString()); - return resourceUrl.toString(); + const schemaPath = tektonYaml.getApiVersionAndTypePath(textEditor.document); + if (schemaPath) { + if (schemaPaths.includes(schemaPath)) { + let resourceUrl = vscode.Uri.parse(resource); + let scheme: string; + if (schemaPath.startsWith('triggers.tekton.dev')) { + scheme = 'triggers-tekton' + } else { + scheme = 'tekton'; + } + resourceUrl = resourceUrl.with({ scheme }); + tektonUriCache.set(resourceUrl.toString(), textEditor.document.uri.toString()); + return resourceUrl.toString(); + } + } } @@ -113,7 +106,14 @@ async function requestYamlSchemaContentCallback(uri: string): Promise { try { const doc = getDocument(uri); if (doc) { - return generateScheme(extContext, doc); + const schemaPath = tektonYaml.getApiVersionAndTypePath(doc); + if (schemaPath) { + const absPath = extContext.asAbsolutePath(path.join('scheme', schemaPath)); + if (await fs.pathExists(absPath)) { + return generateScheme(extContext, doc, absPath); + } + } + } } catch (err) { diff --git a/src/yaml-support/tkn-yaml-scheme-generator.ts b/src/yaml-support/tkn-yaml-scheme-generator.ts index 50bd1d1b..aec9541a 100644 --- a/src/yaml-support/tkn-yaml-scheme-generator.ts +++ b/src/yaml-support/tkn-yaml-scheme-generator.ts @@ -12,10 +12,10 @@ import { Snippet } from './snippet'; import { getTknConditionsSnippets } from './tkn-conditions-provider'; let context: vscode.ExtensionContext; -export function generateScheme(extContext: vscode.ExtensionContext, vsDocument: vscode.TextDocument): Promise { +export function generateScheme(extContext: vscode.ExtensionContext, vsDocument: vscode.TextDocument, schemaPath: string): Promise { context = extContext; - return schemeStorage.getScheme(vsDocument, generate); + return schemeStorage.getScheme(vsDocument, doc => generate(doc, schemaPath)); } @@ -54,19 +54,24 @@ function injectConditionRefs(templateObj: any, conditions: string[]): {} { return templateObj; } -async function generate(doc: vscode.TextDocument): Promise { - const template = await readFile(path.join(context.extensionPath, 'scheme', 'pipeline.json'), 'UTF8'); - const snippets = await getTknTasksSnippets(); - const conditions = await getTknConditionsSnippets(); - const definedTasks = pipelineYaml.getPipelineTasksName(doc); - const declaredResources = pipelineYaml.getDeclaredResources(doc); +async function generate(doc: vscode.TextDocument, schemaPath: string): Promise { - const resNames = declaredResources.map(item => item.name); - const templateObj = JSON.parse(template); - let templateWithSnippets = injectTaskSnippets(templateObj, snippets); - const tasksRef = snippets.map(value => value.body.taskRef.name); - templateWithSnippets = injectTasksName(templateWithSnippets, definedTasks, tasksRef); - templateWithSnippets = injectResourceName(templateWithSnippets, resNames); - templateWithSnippets = injectConditionRefs(templateWithSnippets, conditions); - return JSON.stringify(templateWithSnippets); + const template = await readFile(schemaPath, 'UTF8'); + if (schemaPath.endsWith('tekton.dev/v1beta1_Pipeline.json')) { + const snippets = await getTknTasksSnippets(); + const conditions = await getTknConditionsSnippets(); + const definedTasks = pipelineYaml.getPipelineTasksName(doc); + const declaredResources = pipelineYaml.getDeclaredResources(doc); + + const resNames = declaredResources.map(item => item.name); + const templateObj = JSON.parse(template); + let templateWithSnippets = injectTaskSnippets(templateObj, snippets); + const tasksRef = snippets.map(value => value.body.taskRef.name); + templateWithSnippets = injectTasksName(templateWithSnippets, definedTasks, tasksRef); + templateWithSnippets = injectResourceName(templateWithSnippets, resNames); + templateWithSnippets = injectConditionRefs(templateWithSnippets, conditions); + return JSON.stringify(templateWithSnippets); + } + + return template; } diff --git a/src/yaml-support/tkn-yaml.ts b/src/yaml-support/tkn-yaml.ts index 2f395149..9f133239 100644 --- a/src/yaml-support/tkn-yaml.ts +++ b/src/yaml-support/tkn-yaml.ts @@ -21,7 +21,8 @@ export enum TektonYamlType { EventListener = 'EventListener', TriggerBinding = 'TriggerBinding', TriggerTemplate = 'TriggerTemplate', - PipelineResource = 'PipelineResource' + PipelineResource = 'PipelineResource', + ClusterTriggerBinding = 'ClusterTriggerBinding', } export interface DeclaredResource { @@ -136,6 +137,24 @@ export class TektonYaml { return undefined; } + + getApiVersionAndTypePath(vsDocument: vscode.TextDocument): string | undefined { + const yamlDocuments = yamlLocator.getYamlDocuments(vsDocument); + if (!yamlDocuments) { + return undefined; + } + + for (const doc of yamlDocuments) { + const rootMap = this.getRootMap(doc); + if (rootMap) { + const apiVersion = getYamlMappingValue(rootMap, 'apiVersion'); + const kind = getYamlMappingValue(rootMap, 'kind'); + return `${apiVersion}_${kind}.json`; + } + } + + return undefined; + } } export const tektonYaml = new TektonYaml();