diff --git a/scheme/index.properties b/scheme/index.properties index c9c32ce6..e24f45b7 100644 --- a/scheme/index.properties +++ b/scheme/index.properties @@ -14,3 +14,7 @@ triggers.tekton.dev/v1alpha1_EventListener.json triggers.tekton.dev/v1alpha1_TriggerTemplate.json triggers.tekton.dev/v1alpha1_TriggerBinding.json triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json +triggers.tekton.dev/v1beta1_EventListener.json +triggers.tekton.dev/v1beta1_TriggerTemplate.json +triggers.tekton.dev/v1beta1_TriggerBinding.json +triggers.tekton.dev/v1beta1_ClusterTriggerBinding.json diff --git a/scheme/tekton.dev/v1alpha1_ClusterTask.json b/scheme/tekton.dev/v1alpha1_ClusterTask.json index 6cbbeca6..5047ccb9 100644 --- a/scheme/tekton.dev/v1alpha1_ClusterTask.json +++ b/scheme/tekton.dev/v1alpha1_ClusterTask.json @@ -496,6 +496,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -535,11 +548,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -819,6 +827,49 @@ "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": { @@ -860,8 +911,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1058,6 +1110,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1328,6 +1428,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1432,6 +1547,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1549,6 +1668,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -1661,6 +1786,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -1849,6 +1984,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -1968,6 +2123,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2098,6 +2257,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index a388bf55..334f81b5 100644 --- a/scheme/tekton.dev/v1alpha1_Condition.json +++ b/scheme/tekton.dev/v1alpha1_Condition.json @@ -195,11 +195,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "HTTPGetAction": { "required": [ "port" @@ -312,8 +307,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -594,6 +590,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -658,6 +669,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -770,6 +785,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -848,6 +873,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "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 index c159e5e3..c98a58c2 100644 --- a/scheme/tekton.dev/v1alpha1_Pipeline.json +++ b/scheme/tekton.dev/v1alpha1_Pipeline.json @@ -476,6 +476,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -515,11 +528,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -799,6 +807,49 @@ "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": { @@ -840,8 +891,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1064,6 +1116,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1603,6 +1703,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1707,6 +1822,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1824,6 +1943,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -1936,6 +2061,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -2142,6 +2277,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -2261,6 +2416,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2410,6 +2569,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "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 index b272dde3..cc968faf 100644 --- a/scheme/tekton.dev/v1alpha1_PipelineResource.json +++ b/scheme/tekton.dev/v1alpha1_PipelineResource.json @@ -2,11 +2,6 @@ "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PipelineResource", "definitions": { - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "ManagedFieldsEntry": { "properties": { "manager": { @@ -26,8 +21,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, diff --git a/scheme/tekton.dev/v1alpha1_PipelineRun.json b/scheme/tekton.dev/v1alpha1_PipelineRun.json index f5ba2839..7ac7c1e7 100644 --- a/scheme/tekton.dev/v1alpha1_PipelineRun.json +++ b/scheme/tekton.dev/v1alpha1_PipelineRun.json @@ -669,6 +669,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -708,11 +721,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -872,6 +880,21 @@ "additionalProperties": false, "type": "object" }, + "HostAlias": { + "properties": { + "ip": { + "type": "string" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "HostPathVolumeSource": { "required": [ "path" @@ -1076,8 +1099,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1386,7 +1410,6 @@ "$ref": "#/definitions/ObjectMeta" }, "spec": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PersistentVolumeClaimSpec" }, "status": { @@ -1436,6 +1459,7 @@ "type": "array" }, "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "resources": { @@ -1488,6 +1512,22 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1709,6 +1749,45 @@ "additionalProperties": false, "type": "object" }, + "PipelineRunRunStatus": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RunStatus" + }, + "whenExpressions": { + "items": { + "required": [ + "input", + "operator", + "values" + ], + "properties": { + "input": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "PipelineRunSpec": { "properties": { "pipelineRef": { @@ -1820,6 +1899,15 @@ }, "type": "object" }, + "runs": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunRunStatus" + } + }, + "type": "object" + }, "pipelineResults": { "items": { "$schema": "http://json-schema.org/draft-04/schema#", @@ -2128,7 +2216,6 @@ ], "properties": { "labelSelector": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "namespaces": { @@ -2234,6 +2321,9 @@ }, "fsGroupChangePolicy": { "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2452,6 +2542,65 @@ "additionalProperties": false, "type": "object" }, + "RunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RunStatus": { + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "startTime": { + "type": "string", + "format": "data-time" + }, + "completionTime": { + "type": "string", + "format": "data-time" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RunResult" + }, + "type": "array" + }, + "extraFields": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, "SELinuxOptions": { "properties": { "user": { @@ -2511,6 +2660,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -2635,6 +2799,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2752,6 +2920,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -2926,6 +3100,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -3311,6 +3495,13 @@ }, "type": "array" }, + "hostAliases": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostAlias" + }, + "type": "array" + }, "hostNetwork": { "type": "boolean" } @@ -3498,6 +3689,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -3694,6 +3889,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "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 index 97593bdd..f1e7c90e 100644 --- a/scheme/tekton.dev/v1alpha1_Task.json +++ b/scheme/tekton.dev/v1alpha1_Task.json @@ -476,6 +476,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -515,11 +528,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -799,6 +807,49 @@ "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": { @@ -840,8 +891,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1038,6 +1090,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1308,6 +1408,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1412,6 +1527,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1529,6 +1648,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -1641,6 +1766,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -1853,6 +1988,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -1972,6 +2127,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2102,6 +2261,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index 98696404..8c29aa7d 100644 --- a/scheme/tekton.dev/v1alpha1_TaskRun.json +++ b/scheme/tekton.dev/v1alpha1_TaskRun.json @@ -613,6 +613,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -652,11 +665,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -816,6 +824,21 @@ "additionalProperties": false, "type": "object" }, + "HostAlias": { + "properties": { + "ip": { + "type": "string" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "HostPathVolumeSource": { "required": [ "path" @@ -1020,8 +1043,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1330,7 +1354,6 @@ "$ref": "#/definitions/ObjectMeta" }, "spec": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PersistentVolumeClaimSpec" }, "status": { @@ -1380,6 +1403,7 @@ "type": "array" }, "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "resources": { @@ -1432,6 +1456,22 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1555,7 +1595,6 @@ ], "properties": { "labelSelector": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "namespaces": { @@ -1661,6 +1700,9 @@ }, "fsGroupChangePolicy": { "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1938,6 +1980,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -2062,6 +2119,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2179,6 +2240,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -2315,6 +2382,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -2854,6 +2931,13 @@ }, "type": "array" }, + "hostAliases": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostAlias" + }, + "type": "array" + }, "hostNetwork": { "type": "boolean" } @@ -3041,6 +3125,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -3218,6 +3306,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index ab731d05..9d663945 100644 --- a/scheme/tekton.dev/v1beta1_ClusterTask.json +++ b/scheme/tekton.dev/v1beta1_ClusterTask.json @@ -496,6 +496,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -535,11 +548,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -801,6 +809,49 @@ "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": { @@ -842,8 +893,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1021,6 +1073,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1291,6 +1391,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1395,6 +1510,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1512,6 +1631,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -1624,6 +1749,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -1784,6 +1919,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -1903,6 +2058,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2033,6 +2192,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index 5406239e..c4ba22ab 100644 --- a/scheme/tekton.dev/v1beta1_Pipeline.json +++ b/scheme/tekton.dev/v1beta1_Pipeline.json @@ -408,6 +408,17 @@ }, "EmbeddedTask": { "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "spec": { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, "metadata": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PipelineTaskMetadata" @@ -539,6 +550,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -578,11 +602,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -844,6 +863,49 @@ "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": { @@ -885,8 +947,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1090,6 +1153,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1674,6 +1785,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1778,6 +1904,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1895,6 +2025,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -2007,6 +2143,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -2126,6 +2272,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -2245,6 +2411,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2394,6 +2564,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "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 index dfa4484f..77b36483 100644 --- a/scheme/tekton.dev/v1beta1_PipelineRun.json +++ b/scheme/tekton.dev/v1beta1_PipelineRun.json @@ -601,6 +601,17 @@ }, "EmbeddedTask": { "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "spec": { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, "metadata": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PipelineTaskMetadata" @@ -732,6 +743,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -771,11 +795,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -935,6 +954,21 @@ "additionalProperties": false, "type": "object" }, + "HostAlias": { + "properties": { + "ip": { + "type": "string" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "HostPathVolumeSource": { "required": [ "path" @@ -1121,8 +1155,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1412,7 +1447,6 @@ "$ref": "#/definitions/ObjectMeta" }, "spec": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PersistentVolumeClaimSpec" }, "status": { @@ -1462,6 +1496,7 @@ "type": "array" }, "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "resources": { @@ -1514,6 +1549,22 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1735,6 +1786,45 @@ "additionalProperties": false, "type": "object" }, + "PipelineRunRunStatus": { + "properties": { + "pipelineTaskName": { + "type": "string" + }, + "status": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RunStatus" + }, + "whenExpressions": { + "items": { + "required": [ + "input", + "operator", + "values" + ], + "properties": { + "input": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "PipelineRunSpec": { "properties": { "pipelineRef": { @@ -1771,6 +1861,10 @@ "status": { "type": "string" }, + "timeouts": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TimeoutFields" + }, "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" @@ -1846,6 +1940,15 @@ }, "type": "object" }, + "runs": { + "patternProperties": { + ".*": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PipelineRunRunStatus" + } + }, + "type": "object" + }, "pipelineResults": { "items": { "$schema": "http://json-schema.org/draft-04/schema#", @@ -2208,7 +2311,6 @@ ], "properties": { "labelSelector": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "namespaces": { @@ -2314,6 +2416,9 @@ }, "fsGroupChangePolicy": { "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2532,6 +2637,65 @@ "additionalProperties": false, "type": "object" }, + "RunResult": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "RunStatus": { + "properties": { + "observedGeneration": { + "type": "integer" + }, + "conditions": { + "items": { + "$ref": "#/definitions/Condition" + }, + "type": "array" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "startTime": { + "type": "string", + "format": "data-time" + }, + "completionTime": { + "type": "string", + "format": "data-time" + }, + "results": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/RunResult" + }, + "type": "array" + }, + "extraFields": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, "SELinuxOptions": { "properties": { "user": { @@ -2591,6 +2755,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -2715,6 +2894,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2832,6 +3015,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -3006,6 +3195,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -3376,6 +3575,13 @@ }, "type": "array" }, + "hostAliases": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostAlias" + }, + "type": "array" + }, "hostNetwork": { "type": "boolean" } @@ -3383,6 +3589,24 @@ "additionalProperties": false, "type": "object" }, + "TimeoutFields": { + "properties": { + "pipeline": { + "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", + "type": "string" + }, + "tasks": { + "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", + "type": "string" + }, + "finally": { + "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Toleration": { "properties": { "key": { @@ -3543,6 +3767,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -3739,6 +3967,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "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 index 90ea2ec0..9378c9f2 100644 --- a/scheme/tekton.dev/v1beta1_Task.json +++ b/scheme/tekton.dev/v1beta1_Task.json @@ -476,6 +476,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -515,11 +528,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -781,6 +789,49 @@ "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": { @@ -822,8 +873,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1001,6 +1053,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1271,6 +1371,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -1375,6 +1490,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1492,6 +1611,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -1604,6 +1729,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -1788,6 +1923,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "Volume": { "required": [ "name" @@ -1907,6 +2062,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -2037,6 +2196,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index 90583492..2e1a202c 100644 --- a/scheme/tekton.dev/v1beta1_TaskRun.json +++ b/scheme/tekton.dev/v1beta1_TaskRun.json @@ -613,6 +613,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "ExecAction": { "properties": { "command": { @@ -652,11 +665,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -816,6 +824,21 @@ "additionalProperties": false, "type": "object" }, + "HostAlias": { + "properties": { + "ip": { + "type": "string" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "HostPathVolumeSource": { "required": [ "path" @@ -1002,8 +1025,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1293,7 +1317,6 @@ "$ref": "#/definitions/ObjectMeta" }, "spec": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/PersistentVolumeClaimSpec" }, "status": { @@ -1343,6 +1366,7 @@ "type": "array" }, "selector": { + "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "resources": { @@ -1395,6 +1419,22 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1518,7 +1558,6 @@ ], "properties": { "labelSelector": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/LabelSelector" }, "namespaces": { @@ -1624,6 +1663,9 @@ }, "fsGroupChangePolicy": { "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1901,6 +1943,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -2025,6 +2082,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2142,6 +2203,12 @@ }, "script": { "type": "string" + }, + "workspaces": { + "items": { + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" } }, "additionalProperties": false, @@ -2278,6 +2345,16 @@ "timeout": { "pattern": "^[-+]?([0-9]*(\\.[0-9]*)?(ns|us|µs|μs|ms|s|m|h))+$", "type": "string" + }, + "workspaces": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WorkspaceUsage" + }, + "type": "array" + }, + "onError": { + "type": "string" } }, "additionalProperties": false, @@ -2487,6 +2564,18 @@ "additionalProperties": false, "type": "object" }, + "TaskRunDebug": { + "properties": { + "breakpoint": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, "TaskRunResources": { "properties": { "inputs": { @@ -2527,6 +2616,10 @@ "serviceAccountName" ], "properties": { + "debug": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TaskRunDebug" + }, "params": { "items": { "$schema": "http://json-schema.org/draft-04/schema#", @@ -2771,6 +2864,13 @@ }, "type": "array" }, + "hostAliases": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostAlias" + }, + "type": "array" + }, "hostNetwork": { "type": "boolean" } @@ -2938,6 +3038,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, @@ -3115,6 +3219,22 @@ }, "additionalProperties": false, "type": "object" + }, + "WorkspaceUsage": { + "required": [ + "name", + "mountPath" + ], + "properties": { + "name": { + "type": "string" + }, + "mountPath": { + "type": "string" + } + }, + "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 index b63b5370..87e55269 100644 --- a/scheme/triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json +++ b/scheme/triggers.tekton.dev/v1alpha1_ClusterTriggerBinding.json @@ -26,11 +26,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "ManagedFieldsEntry": { "properties": { "manager": { @@ -50,8 +45,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, diff --git a/scheme/triggers.tekton.dev/v1alpha1_EventListener.json b/scheme/triggers.tekton.dev/v1alpha1_EventListener.json index ee6faa76..15714fb0 100644 --- a/scheme/triggers.tekton.dev/v1alpha1_EventListener.json +++ b/scheme/triggers.tekton.dev/v1alpha1_EventListener.json @@ -387,7 +387,6 @@ "type": "array" }, "resources": { - "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/ResourceRequirements" }, "volumeMounts": { @@ -692,6 +691,19 @@ "additionalProperties": false, "type": "object" }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, "EventListener": { "required": [ "spec" @@ -733,7 +745,6 @@ }, "EventListenerSpec": { "required": [ - "serviceAccountName", "triggers" ], "properties": { @@ -747,9 +758,6 @@ }, "type": "array" }, - "replicas": { - "type": "integer" - }, "namespaceSelector": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/NamespaceSelector" @@ -873,11 +881,6 @@ "additionalProperties": false, "type": "object" }, - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "FlexVolumeSource": { "required": [ "driver" @@ -1176,8 +1179,43 @@ "type": "string" }, "value": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/JSON" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "type": "string" + }, + { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + ] + }, + "type": "array" + }, + { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } + ] } }, "additionalProperties": false, @@ -1198,21 +1236,6 @@ "additionalProperties": false, "type": "object" }, - "JSON": { - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "media": { - "binaryEncoding": "base64" - } - } - }, - "additionalProperties": false, - "type": "object" - }, "KeyToPath": { "required": [ "key", @@ -1332,8 +1355,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, @@ -1637,6 +1661,54 @@ "additionalProperties": false, "type": "object" }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, "PersistentVolumeClaimVolumeSource": { "required": [ "claimName" @@ -1810,6 +1882,9 @@ }, "fsGroupChangePolicy": { "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -1968,6 +2043,9 @@ "$ref": "#/definitions/TopologySpreadConstraint" }, "type": "array" + }, + "setHostnameAsFQDN": { + "type": "boolean" } }, "additionalProperties": false, @@ -2255,6 +2333,21 @@ "additionalProperties": false, "type": "object" }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "SecretEnvSource": { "properties": { "name": { @@ -2371,6 +2464,10 @@ }, "procMount": { "type": "string" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" } }, "additionalProperties": false, @@ -2591,6 +2688,26 @@ "additionalProperties": false, "type": "object" }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, "URL": { "required": [ "Scheme", @@ -2601,7 +2718,8 @@ "RawPath", "ForceQuery", "RawQuery", - "Fragment" + "Fragment", + "RawFragment" ], "properties": { "Scheme": { @@ -2631,6 +2749,9 @@ }, "Fragment": { "type": "string" + }, + "RawFragment": { + "type": "string" } }, "additionalProperties": false, @@ -2760,6 +2881,10 @@ "csi": { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/CSIVolumeSource" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" } }, "additionalProperties": false, diff --git a/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json b/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json index 28c6cc05..49e5b00e 100644 --- a/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json +++ b/scheme/triggers.tekton.dev/v1alpha1_TriggerBinding.json @@ -2,11 +2,6 @@ "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/TriggerBinding", "definitions": { - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "ManagedFieldsEntry": { "properties": { "manager": { @@ -26,8 +21,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, diff --git a/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json b/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json index c8115354..413b0fb8 100644 --- a/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json +++ b/scheme/triggers.tekton.dev/v1alpha1_TriggerTemplate.json @@ -2,11 +2,6 @@ "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/TriggerTemplate", "definitions": { - "FieldsV1": { - "properties": {}, - "additionalProperties": false, - "type": "object" - }, "ManagedFieldsEntry": { "properties": { "manager": { @@ -26,8 +21,9 @@ "type": "string" }, "fieldsV1": { - "$schema": "http://json-schema.org/draft-04/schema#", - "$ref": "#/definitions/FieldsV1" + "properties": {}, + "additionalProperties": true, + "type": "object" } }, "additionalProperties": false, diff --git a/scheme/triggers.tekton.dev/v1beta1_ClusterTriggerBinding.json b/scheme/triggers.tekton.dev/v1beta1_ClusterTriggerBinding.json new file mode 100644 index 00000000..9713b230 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1beta1_ClusterTriggerBinding.json @@ -0,0 +1,198 @@ +{ + "$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" + }, + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "type": "string", + "format": "data-time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "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": { + "type": "string", + "format": "data-time" + }, + "deletionTimestamp": { + "type": "string", + "format": "data-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" + }, + "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/v1beta1_EventListener.json b/scheme/triggers.tekton.dev/v1beta1_EventListener.json new file mode 100644 index 00000000..d5940b92 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1beta1_EventListener.json @@ -0,0 +1,2938 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListener", + "definitions": { + "AWSElasticBlockStoreVolumeSource": { + "required": [ + "volumeID" + ], + "properties": { + "volumeID": { + "type": "string" + }, + "fsType": { + "type": "string" + }, + "partition": { + "type": "integer" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Addressable": { + "properties": { + "url": { + "$ref": "#/definitions/URL" + } + }, + "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" + }, + "Condition": { + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "lastTransitionTime": { + "type": "string", + "format": "data-time" + }, + "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": { + "$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": { + "$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" + } + }, + "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" + }, + "CustomResource": { + "properties": {}, + "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": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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": { + "$ref": "#/definitions/ObjectFieldSelector" + }, + "resourceFieldRef": { + "$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" + }, + "EphemeralContainer": { + "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" + }, + "targetContainerName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EphemeralVolumeSource": { + "properties": { + "volumeClaimTemplate": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimTemplate" + }, + "readOnly": { + "type": "boolean" + } + }, + "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" + }, + "EventListenerConfig": { + "required": [ + "generatedName" + ], + "properties": { + "generatedName": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "EventListenerSpec": { + "required": [ + "triggers" + ], + "properties": { + "serviceAccountName": { + "type": "string" + }, + "triggers": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EventListenerTrigger" + }, + "type": "array" + }, + "namespaceSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/NamespaceSelector" + }, + "labelSelector": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Resources" + } + }, + "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" + }, + "annotations": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "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" + }, + "EventListenerTrigger": { + "properties": { + "bindings": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerSpecBinding" + }, + "type": "array" + }, + "template": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerSpecTemplate" + }, + "triggerRef": { + "type": "string" + }, + "name": { + "type": "string" + }, + "interceptors": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerInterceptor" + }, + "type": "array" + }, + "serviceAccountName": { + "type": "string" + } + }, + "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" + }, + "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" + }, + "HostAlias": { + "properties": { + "ip": { + "type": "string" + }, + "hostnames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "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" + }, + "InterceptorParams": { + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "integer" + }, + { + "type": "number" + }, + { + "type": "string" + }, + { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + ] + }, + "type": "array" + }, + { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "InterceptorRef": { + "properties": { + "name": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiVersion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KeyToPath": { + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mode": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "KubernetesResource": { + "properties": { + "replicas": { + "type": "integer" + }, + "serviceType": { + "type": "string" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WithPodSpec" + } + }, + "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": { + "type": "string", + "format": "data-time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NFSVolumeSource": { + "required": [ + "server", + "path" + ], + "properties": { + "server": { + "type": "string" + }, + "path": { + "type": "string" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "NamespaceSelector": { + "properties": { + "matchNames": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "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": { + "type": "string", + "format": "data-time" + }, + "deletionTimestamp": { + "type": "string", + "format": "data-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": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ] + } + }, + "additionalProperties": false, + "type": "object" + }, + "ParamSpec": { + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "default": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PersistentVolumeClaimSpec": { + "properties": { + "accessModes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/LabelSelector" + }, + "resources": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$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" + }, + "PersistentVolumeClaimTemplate": { + "required": [ + "spec" + ], + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PersistentVolumeClaimSpec" + } + }, + "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" + }, + "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": { + "$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" + }, + "PodReadinessGate": { + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "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" + }, + "fsGroupChangePolicy": { + "type": "string" + }, + "seccompProfile": { + "$ref": "#/definitions/SeccompProfile" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSpec": { + "required": [ + "containers" + ], + "properties": { + "volumes": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Volume" + }, + "type": "array" + }, + "initContainers": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Container" + }, + "type": "array" + }, + "containers": { + "items": { + "$ref": "#/definitions/Container" + }, + "type": "array" + }, + "ephemeralContainers": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralContainer" + }, + "type": "array" + }, + "restartPolicy": { + "type": "string" + }, + "terminationGracePeriodSeconds": { + "type": "integer" + }, + "activeDeadlineSeconds": { + "type": "integer" + }, + "dnsPolicy": { + "type": "string" + }, + "nodeSelector": { + "patternProperties": { + ".*": { + "type": "string" + } + }, + "type": "object" + }, + "serviceAccountName": { + "type": "string" + }, + "serviceAccount": { + "type": "string" + }, + "automountServiceAccountToken": { + "type": "boolean" + }, + "nodeName": { + "type": "string" + }, + "hostNetwork": { + "type": "boolean" + }, + "hostPID": { + "type": "boolean" + }, + "hostIPC": { + "type": "boolean" + }, + "shareProcessNamespace": { + "type": "boolean" + }, + "securityContext": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSecurityContext" + }, + "imagePullSecrets": { + "items": { + "$ref": "#/definitions/LocalObjectReference" + }, + "type": "array" + }, + "hostname": { + "type": "string" + }, + "subdomain": { + "type": "string" + }, + "affinity": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Affinity" + }, + "schedulerName": { + "type": "string" + }, + "tolerations": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Toleration" + }, + "type": "array" + }, + "hostAliases": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/HostAlias" + }, + "type": "array" + }, + "priorityClassName": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "dnsConfig": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodDNSConfig" + }, + "readinessGates": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodReadinessGate" + }, + "type": "array" + }, + "runtimeClassName": { + "type": "string" + }, + "enableServiceLinks": { + "type": "boolean" + }, + "preemptionPolicy": { + "type": "string" + }, + "overhead": { + "patternProperties": { + ".*": { + "$ref": "#/definitions/Quantity" + } + }, + "type": "object" + }, + "topologySpreadConstraints": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TopologySpreadConstraint" + }, + "type": "array" + }, + "setHostnameAsFQDN": { + "type": "boolean" + } + }, + "additionalProperties": false, + "type": "object" + }, + "PodSpecable": { + "properties": { + "metadata": { + "$ref": "#/definitions/ObjectMeta" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSpec" + } + }, + "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": { + "$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" + }, + "Resources": { + "properties": { + "kubernetesResource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/KubernetesResource" + }, + "customResource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/CustomResource" + } + }, + "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" + }, + "SeccompProfile": { + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "localhostProfile": { + "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" + }, + "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" + }, + "seccompProfile": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/SeccompProfile" + } + }, + "additionalProperties": false, + "type": "object" + }, + "ServiceAccountTokenProjection": { + "required": [ + "path" + ], + "properties": { + "audience": { + "type": "string" + }, + "expirationSeconds": { + "type": "integer" + }, + "path": { + "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" + }, + "Toleration": { + "properties": { + "key": { + "type": "string" + }, + "operator": { + "type": "string" + }, + "value": { + "type": "string" + }, + "effect": { + "type": "string" + }, + "tolerationSeconds": { + "type": "integer" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TopologySpreadConstraint": { + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "properties": { + "maxSkew": { + "type": "integer" + }, + "topologyKey": { + "type": "string" + }, + "whenUnsatisfiable": { + "type": "string" + }, + "labelSelector": { + "$ref": "#/definitions/LabelSelector" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerInterceptor": { + "required": [ + "ref" + ], + "properties": { + "name": { + "type": "string" + }, + "ref": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/InterceptorRef" + }, + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/InterceptorParams" + }, + "type": "array" + }, + "webhook": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/WebhookInterceptor" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerSpecBinding": { + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "apiversion": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerSpecTemplate": { + "properties": { + "ref": { + "type": "string" + }, + "apiversion": { + "type": "string" + }, + "spec": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerTemplateSpec" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerTemplateSpec": { + "properties": { + "params": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ParamSpec" + }, + "type": "array" + }, + "resourcetemplates": { + "items": { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TypedLocalObjectReference": { + "required": [ + "apiGroup", + "kind", + "name" + ], + "properties": { + "apiGroup": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "URL": { + "required": [ + "Scheme", + "Opaque", + "User", + "Host", + "Path", + "RawPath", + "ForceQuery", + "RawQuery", + "Fragment", + "RawFragment" + ], + "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" + }, + "RawFragment": { + "type": "string" + } + }, + "additionalProperties": false, + "type": "object" + }, + "Userinfo": { + "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" + }, + "ephemeral": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/EphemeralVolumeSource" + } + }, + "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" + }, + "WebhookInterceptor": { + "properties": { + "objectRef": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/ObjectReference" + }, + "url": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/URL" + }, + "header": { + "items": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/Param" + }, + "type": "array" + } + }, + "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" + }, + "WithPodSpec": { + "properties": { + "template": { + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/PodSpecable" + } + }, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file diff --git a/scheme/triggers.tekton.dev/v1beta1_TriggerBinding.json b/scheme/triggers.tekton.dev/v1beta1_TriggerBinding.json new file mode 100644 index 00000000..ffe7bfd5 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1beta1_TriggerBinding.json @@ -0,0 +1,201 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerBinding", + "definitions": { + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "type": "string", + "format": "data-time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "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": { + "type": "string", + "format": "data-time" + }, + "deletionTimestamp": { + "type": "string", + "format": "data-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" + }, + "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/v1beta1_TriggerTemplate.json b/scheme/triggers.tekton.dev/v1beta1_TriggerTemplate.json new file mode 100644 index 00000000..cd7c7ec3 --- /dev/null +++ b/scheme/triggers.tekton.dev/v1beta1_TriggerTemplate.json @@ -0,0 +1,211 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "$ref": "#/definitions/TriggerTemplate", + "definitions": { + "ManagedFieldsEntry": { + "properties": { + "manager": { + "type": "string" + }, + "operation": { + "type": "string" + }, + "apiVersion": { + "type": "string" + }, + "time": { + "type": "string", + "format": "data-time" + }, + "fieldsType": { + "type": "string" + }, + "fieldsV1": { + "properties": {}, + "additionalProperties": true, + "type": "object" + } + }, + "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": { + "type": "string", + "format": "data-time" + }, + "deletionTimestamp": { + "type": "string", + "format": "data-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" + }, + "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": { + "properties": {}, + "additionalProperties": true, + "type": "object" + }, + "type": "array" + } + }, + "additionalProperties": false, + "type": "object" + }, + "TriggerTemplateStatus": { + "properties": {}, + "additionalProperties": false, + "type": "object" + } + } +} \ No newline at end of file