From 1d155200d64dfd3d6a994cf4f7a7b5f5fa9ddd40 Mon Sep 17 00:00:00 2001 From: "william.vanhevelingen" Date: Thu, 27 Jun 2024 11:01:29 -0700 Subject: [PATCH 1/2] chore(deps): update go to 1.22 Signed-off-by: william.vanhevelingen --- .devcontainer/devcontainer.json | 2 +- .github/workflows/ci-build.yaml | 10 +- .github/workflows/docs.yaml | 2 +- .github/workflows/release.yaml | 2 +- Makefile | 2 +- api/jsonschema/schema.json | 134 - api/openapi-spec/swagger.json | 134 - docs/executor_swagger.md | 1682 +-- pkg/plugins/executor/swagger.yml | 9362 ++++++++--------- ...oArgoprojWorkflowV1alpha1ArtifactGCSpec.md | 14 - ...rgoprojWorkflowV1alpha1ArtifactGCStatus.md | 14 - ...rgoprojWorkflowV1alpha1ArtifactNodeSpec.md | 15 - ...oArgoprojWorkflowV1alpha1ArtifactResult.md | 16 - ...orkflowV1alpha1ArtifactResultNodeStatus.md | 14 - .../IoArgoprojWorkflowV1alpha1NodeResult.md | 16 - ...projWorkflowV1alpha1WorkflowTaskSetSpec.md | 13 - ...ojWorkflowV1alpha1WorkflowTaskSetStatus.md | 13 - sdks/java/client/docs/StatusCause.md | 16 - ...proj_workflow_v1alpha1_artifact_gc_spec.py | 261 - ...oj_workflow_v1alpha1_artifact_gc_status.py | 261 - ...oj_workflow_v1alpha1_artifact_node_spec.py | 267 - ...oproj_workflow_v1alpha1_artifact_result.py | 269 - ...ow_v1alpha1_artifact_result_node_status.py | 261 - ..._argoproj_workflow_v1alpha1_node_result.py | 273 - ...orkflow_v1alpha1_workflow_task_set_spec.py | 261 - ...kflow_v1alpha1_workflow_task_set_status.py | 261 - .../argo_workflows/model/status_cause.py | 263 - .../client/argo_workflows/models/__init__.py | 9 - ...oArgoprojWorkflowV1alpha1ArtifactGCSpec.md | 13 - ...rgoprojWorkflowV1alpha1ArtifactGCStatus.md | 13 - ...rgoprojWorkflowV1alpha1ArtifactNodeSpec.md | 14 - ...oArgoprojWorkflowV1alpha1ArtifactResult.md | 15 - ...orkflowV1alpha1ArtifactResultNodeStatus.md | 13 - .../IoArgoprojWorkflowV1alpha1NodeResult.md | 15 - ...projWorkflowV1alpha1WorkflowTaskSetSpec.md | 12 - ...ojWorkflowV1alpha1WorkflowTaskSetStatus.md | 12 - sdks/python/client/docs/StatusCause.md | 15 - 37 files changed, 4975 insertions(+), 8994 deletions(-) delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md delete mode 100644 sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md delete mode 100644 sdks/java/client/docs/StatusCause.md delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py delete mode 100644 sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py delete mode 100644 sdks/python/client/argo_workflows/model/status_cause.py delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md delete mode 100644 sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md delete mode 100644 sdks/python/client/docs/StatusCause.md diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 93881ae16803..65d662c78e12 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "appPort": 8080, "features": { "ghcr.io/devcontainers/features/go:1": { - "version": "1.21" + "version": "1.22" }, "ghcr.io/devcontainers/features/node:1": { "version": "20" diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index dbd2a870cb65..65ee9938d80b 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -114,7 +114,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" cache: true - run: make test STATIC_FILES=false GOTEST='go test -p 20 -covermode=atomic -coverprofile=coverage.out' - name: Upload coverage report @@ -136,7 +136,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" cache: true # windows run does not use makefile target because it does a lot more than just testing and is not cross-platform compatible - run: go test -p 20 -covermode=atomic -coverprofile='coverage.out' $(go list ./... | select-string -Pattern 'github.com/argoproj/argo-workflows/v3/workflow/controller' , 'github.com/argoproj/argo-workflows/v3/server' -NotMatch) @@ -229,7 +229,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" cache: true - name: Install Java for the SDK if: ${{matrix.test == 'test-java-sdk'}} @@ -362,7 +362,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" cache: true - name: Install protoc run: | @@ -399,7 +399,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" cache: true - run: make lint STATIC_FILES=false # if lint makes changes that are not in the PR, fail the build diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f936dac9e4bb..8e46c34f3cac 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -25,7 +25,7 @@ jobs: python-version: 3.9 - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: '1.21' + go-version: '1.22' - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: node-version: "19" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c6a5169f3e54..b7ba4e5d0c97 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -291,7 +291,7 @@ jobs: node-version: "20" # change in all GH Workflows - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: - go-version: "1.21" + go-version: "1.22" - name: Restore node packages cache uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 with: diff --git a/Makefile b/Makefile index 7f043c9ed6e2..816d3e49e3ee 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ endif $(GOPATH)/bin/swagger: # update this in Nix when upgrading it here ifneq ($(USE_NIX), true) - go install github.com/go-swagger/go-swagger/cmd/swagger@v0.28.0 + go install github.com/go-swagger/go-swagger/cmd/swagger@v0.31.0 endif $(GOPATH)/bin/goimports: # update this in Nix when upgrading it here diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json index bdca7ba2507c..54b359072bea 100644 --- a/api/jsonschema/schema.json +++ b/api/jsonschema/schema.json @@ -4030,32 +4030,6 @@ }, "type": "object" }, - "io.argoproj.workflow.v1alpha1.ArtifactGCSpec": { - "description": "ArtifactGCSpec specifies the Artifacts that need to be deleted", - "properties": { - "artifactsByNode": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactNodeSpec" - }, - "description": "ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node", - "type": "object" - } - }, - "type": "object" - }, - "io.argoproj.workflow.v1alpha1.ArtifactGCStatus": { - "description": "ArtifactGCStatus describes the result of the deletion", - "properties": { - "artifactResultsByNode": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus" - }, - "description": "ArtifactResultsByNode maps Node name to result", - "type": "object" - } - }, - "type": "object" - }, "io.argoproj.workflow.v1alpha1.ArtifactLocation": { "description": "ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files.", "properties": { @@ -4102,23 +4076,6 @@ }, "type": "object" }, - "io.argoproj.workflow.v1alpha1.ArtifactNodeSpec": { - "description": "ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node", - "properties": { - "archiveLocation": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation", - "description": "ArchiveLocation is the template-level Artifact location specification" - }, - "artifacts": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" - }, - "description": "Artifacts maps artifact name to Artifact description", - "type": "object" - } - }, - "type": "object" - }, "io.argoproj.workflow.v1alpha1.ArtifactPaths": { "description": "ArtifactPaths expands a step from a collection of artifacts", "properties": { @@ -4288,40 +4245,6 @@ }, "type": "object" }, - "io.argoproj.workflow.v1alpha1.ArtifactResult": { - "description": "ArtifactResult describes the result of attempting to delete a given Artifact", - "properties": { - "error": { - "description": "Error is an optional error message which should be set if Success==false", - "type": "string" - }, - "name": { - "description": "Name is the name of the Artifact", - "type": "string" - }, - "success": { - "description": "Success describes whether the deletion succeeded", - "type": "boolean" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus": { - "description": "ArtifactResultNodeStatus describes the result of the deletion on a given node", - "properties": { - "artifactResults": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResult" - }, - "description": "ArtifactResults maps Artifact name to result of the deletion", - "type": "object" - } - }, - "type": "object" - }, "io.argoproj.workflow.v1alpha1.ArtifactoryArtifact": { "description": "ArtifactoryArtifact is the location of an artifactory artifact", "properties": { @@ -5940,23 +5863,6 @@ }, "type": "object" }, - "io.argoproj.workflow.v1alpha1.NodeResult": { - "properties": { - "message": { - "type": "string" - }, - "outputs": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" - }, - "phase": { - "type": "string" - }, - "progress": { - "type": "string" - } - }, - "type": "object" - }, "io.argoproj.workflow.v1alpha1.NodeStatus": { "description": "NodeStatus contains status information about an individual node in the workflow", "properties": { @@ -8203,28 +8109,6 @@ }, "type": "object" }, - "io.argoproj.workflow.v1alpha1.WorkflowTaskSetSpec": { - "properties": { - "tasks": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" - }, - "type": "object" - } - }, - "type": "object" - }, - "io.argoproj.workflow.v1alpha1.WorkflowTaskSetStatus": { - "properties": { - "nodes": { - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeResult" - }, - "type": "object" - } - }, - "type": "object" - }, "io.argoproj.workflow.v1alpha1.WorkflowTemplate": { "description": "WorkflowTemplate is the definition of a workflow template resource", "properties": { @@ -11226,24 +11110,6 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { - "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", - "properties": { - "field": { - "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", - "type": "string" - }, - "message": { - "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", - "type": "string" - }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", - "type": "string" - } - }, - "type": "object" - }, "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "format": "date-time", diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 6b1695276e02..3dcf26481085 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -7988,32 +7988,6 @@ } } }, - "io.argoproj.workflow.v1alpha1.ArtifactGCSpec": { - "description": "ArtifactGCSpec specifies the Artifacts that need to be deleted", - "type": "object", - "properties": { - "artifactsByNode": { - "description": "ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactNodeSpec" - } - } - } - }, - "io.argoproj.workflow.v1alpha1.ArtifactGCStatus": { - "description": "ArtifactGCStatus describes the result of the deletion", - "type": "object", - "properties": { - "artifactResultsByNode": { - "description": "ArtifactResultsByNode maps Node name to result", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus" - } - } - } - }, "io.argoproj.workflow.v1alpha1.ArtifactLocation": { "description": "ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files.", "type": "object", @@ -8060,23 +8034,6 @@ } } }, - "io.argoproj.workflow.v1alpha1.ArtifactNodeSpec": { - "description": "ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node", - "type": "object", - "properties": { - "archiveLocation": { - "description": "ArchiveLocation is the template-level Artifact location specification", - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactLocation" - }, - "artifacts": { - "description": "Artifacts maps artifact name to Artifact description", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Artifact" - } - } - } - }, "io.argoproj.workflow.v1alpha1.ArtifactPaths": { "description": "ArtifactPaths expands a step from a collection of artifacts", "type": "object", @@ -8246,40 +8203,6 @@ } } }, - "io.argoproj.workflow.v1alpha1.ArtifactResult": { - "description": "ArtifactResult describes the result of attempting to delete a given Artifact", - "type": "object", - "required": [ - "name" - ], - "properties": { - "error": { - "description": "Error is an optional error message which should be set if Success==false", - "type": "string" - }, - "name": { - "description": "Name is the name of the Artifact", - "type": "string" - }, - "success": { - "description": "Success describes whether the deletion succeeded", - "type": "boolean" - } - } - }, - "io.argoproj.workflow.v1alpha1.ArtifactResultNodeStatus": { - "description": "ArtifactResultNodeStatus describes the result of the deletion on a given node", - "type": "object", - "properties": { - "artifactResults": { - "description": "ArtifactResults maps Artifact name to result of the deletion", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactResult" - } - } - } - }, "io.argoproj.workflow.v1alpha1.ArtifactoryArtifact": { "description": "ArtifactoryArtifact is the location of an artifactory artifact", "type": "object", @@ -9880,23 +9803,6 @@ } } }, - "io.argoproj.workflow.v1alpha1.NodeResult": { - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "outputs": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Outputs" - }, - "phase": { - "type": "string" - }, - "progress": { - "type": "string" - } - } - }, "io.argoproj.workflow.v1alpha1.NodeStatus": { "description": "NodeStatus contains status information about an individual node in the workflow", "type": "object", @@ -12125,28 +12031,6 @@ } } }, - "io.argoproj.workflow.v1alpha1.WorkflowTaskSetSpec": { - "type": "object", - "properties": { - "tasks": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Template" - } - } - } - }, - "io.argoproj.workflow.v1alpha1.WorkflowTaskSetStatus": { - "type": "object", - "properties": { - "nodes": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.NodeResult" - } - } - } - }, "io.argoproj.workflow.v1alpha1.WorkflowTemplate": { "description": "WorkflowTemplate is the definition of a workflow template resource", "type": "object", @@ -15139,24 +15023,6 @@ }, "x-kubernetes-map-type": "atomic" }, - "io.k8s.apimachinery.pkg.apis.meta.v1.StatusCause": { - "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", - "type": "object", - "properties": { - "field": { - "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", - "type": "string" - }, - "message": { - "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", - "type": "string" - }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", - "type": "string" - } - } - }, "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", diff --git a/docs/executor_swagger.md b/docs/executor_swagger.md index 760d704d8c88..2e35fbabe2db 100644 --- a/docs/executor_swagger.md +++ b/docs/executor_swagger.md @@ -81,22 +81,10 @@ ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount. -Tip: Ensure that the filesystem type is supported by the host operating system. -Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -TODO: how do we prevent errors in the filesystem from compromising the machine -+optional | | -| partition | int32 (formatted integer)| `int32` | | | partition is the partition in the volume that you want to mount. -If omitted, the default is to mount by volume name. -Examples: For volume /dev/sda1, you specify the partition as "1". -Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). -+optional | | -| readOnly | boolean| `bool` | | | readOnly value true will force the readOnly setting in VolumeMounts. -More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore -+optional | | -| volumeID | string| `string` | | | volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). -More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | | +| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
TODO: how do we prevent errors in the filesystem from compromising the machine
+optional | | +| partition | int32 (formatted integer)| `int32` | | | partition is the partition in the volume that you want to mount.
If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
+optional | | +| readOnly | boolean| `bool` | | | readOnly value true will force the readOnly setting in VolumeMounts.
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
+optional | | +| volumeID | string| `string` | | | volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).
More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore | | @@ -138,8 +126,7 @@ It will marshall back to string - marshalling is not symmetric. | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| AnyString | string| string | | It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. -It will marshall back to string - marshalling is not symmetric. | | +| AnyString | string| string | | It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string.
It will marshall back to string - marshalling is not symmetric. | | @@ -178,9 +165,7 @@ It will marshall back to string - marshalling is not symmetric. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | artifacts | [Artifacts](#artifacts)| `Artifacts` | | | | | -| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters is the list of parameters to pass to the template or workflow -+patchStrategy=merge -+patchMergeKey=name | | +| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters is the list of parameters to pass to the template or workflow
+patchStrategy=merge
+patchMergeKey=name | | @@ -208,12 +193,10 @@ It will marshall back to string - marshalling is not symmetric. | | | fromExpression | string| `string` | | | FromExpression, if defined, is evaluated to specify the value for the artifact | | | gcs | [GCSArtifact](#g-c-s-artifact)| `GCSArtifact` | | | | | | git | [GitArtifact](#git-artifact)| `GitArtifact` | | | | | -| globalName | string| `string` | | | GlobalName exports an output artifact to the global scope, making it available as -'{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts | | +| globalName | string| `string` | | | GlobalName exports an output artifact to the global scope, making it available as
'{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts | | | hdfs | [HDFSArtifact](#h-d-f-s-artifact)| `HDFSArtifact` | | | | | | http | [HTTPArtifact](#http-artifact)| `HTTPArtifact` | | | | | -| mode | int32 (formatted integer)| `int32` | | | mode bits to use on this file, must be a value between 0 and 0777 -set when loading input artifacts. | | +| mode | int32 (formatted integer)| `int32` | | | mode bits to use on this file, must be a value between 0 and 0777
set when loading input artifacts. | | | name | string| `string` | | | name of the artifact. must be unique within a template's inputs/outputs. | | | optional | boolean| `bool` | | | Make Artifacts optional, if Artifacts doesn't generate or exist | | | oss | [OSSArtifact](#o-s-s-artifact)| `OSSArtifact` | | | | | @@ -309,12 +292,10 @@ of a single workflow step, which the executor will use as a default location to | fromExpression | string| `string` | | | FromExpression, if defined, is evaluated to specify the value for the artifact | | | gcs | [GCSArtifact](#g-c-s-artifact)| `GCSArtifact` | | | | | | git | [GitArtifact](#git-artifact)| `GitArtifact` | | | | | -| globalName | string| `string` | | | GlobalName exports an output artifact to the global scope, making it available as -'{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts | | +| globalName | string| `string` | | | GlobalName exports an output artifact to the global scope, making it available as
'{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts | | | hdfs | [HDFSArtifact](#h-d-f-s-artifact)| `HDFSArtifact` | | | | | | http | [HTTPArtifact](#http-artifact)| `HTTPArtifact` | | | | | -| mode | int32 (formatted integer)| `int32` | | | mode bits to use on this file, must be a value between 0 and 0777 -set when loading input artifacts. | | +| mode | int32 (formatted integer)| `int32` | | | mode bits to use on this file, must be a value between 0 and 0777
set when loading input artifacts. | | | name | string| `string` | | | name of the artifact. must be unique within a template's inputs/outputs. | | | optional | boolean| `bool` | | | Make Artifacts optional, if Artifacts doesn't generate or exist | | | oss | [OSSArtifact](#o-s-s-artifact)| `OSSArtifact` | | | | | @@ -417,14 +398,9 @@ set when loading input artifacts. | | | cachingMode | [AzureDataDiskCachingMode](#azure-data-disk-caching-mode)| `AzureDataDiskCachingMode` | | | | | | diskName | string| `string` | | | diskName is the Name of the data disk in the blob storage | | | diskURI | string| `string` | | | diskURI is the URI of data disk in the blob storage | | -| fsType | string| `string` | | | fsType is Filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -+optional | | +| fsType | string| `string` | | | fsType is Filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
+optional | | | kind | [AzureDataDiskKind](#azure-data-disk-kind)| `AzureDataDiskKind` | | | | | -| readOnly | boolean| `bool` | | | readOnly Defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| readOnly | boolean| `bool` | | | readOnly Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | @@ -439,9 +415,7 @@ the ReadOnly setting in VolumeMounts. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | | secretName | string| `string` | | | secretName is the name of secret that contains Azure Storage Account Name and Key | | | shareName | string| `string` | | | shareName is the azure share Name | | @@ -463,10 +437,7 @@ the ReadOnly setting in VolumeMounts. |------|------|---------|:--------:| ------- |-------------|---------| | duration | string| `string` | | | Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") | | | factor | [IntOrString](#int-or-string)| `IntOrString` | | | | | -| maxDuration | string| `string` | | | MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. -It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. -However, when the workflow fails, the pod's deadline is then overridden by maxDuration. -This ensures that the workflow does not exceed the specified maximum duration when retries are involved. | | +| maxDuration | string| `string` | | | MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy.
It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds.
However, when the workflow fails, the pod's deadline is then overridden by maxDuration.
This ensures that the workflow does not exceed the specified maximum duration when retries are involved. | | @@ -503,19 +474,11 @@ This ensures that the workflow does not exceed the specified maximum duration wh | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| driver | string| `string` | | | driver is the name of the CSI driver that handles this volume. -Consult with your admin for the correct name as registered in the cluster. | | -| fsType | string| `string` | | | fsType to mount. Ex. "ext4", "xfs", "ntfs". -If not provided, the empty value is passed to the associated CSI driver -which will determine the default filesystem to apply. -+optional | | +| driver | string| `string` | | | driver is the name of the CSI driver that handles this volume.
Consult with your admin for the correct name as registered in the cluster. | | +| fsType | string| `string` | | | fsType to mount. Ex. "ext4", "xfs", "ntfs".
If not provided, the empty value is passed to the associated CSI driver
which will determine the default filesystem to apply.
+optional | | | nodePublishSecretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| readOnly | boolean| `bool` | | | readOnly specifies a read-only configuration for the volume. -Defaults to false (read/write). -+optional | | -| volumeAttributes | map of string| `map[string]string` | | | volumeAttributes stores driver-specific properties that are passed to the CSI -driver. Consult your driver's documentation for supported values. -+optional | | +| readOnly | boolean| `bool` | | | readOnly specifies a read-only configuration for the volume.
Defaults to false (read/write).
+optional | | +| volumeAttributes | map of string| `map[string]string` | | | volumeAttributes stores driver-specific properties that are passed to the CSI
driver. Consult your driver's documentation for supported values.
+optional | | @@ -548,10 +511,8 @@ driver. Consult your driver's documentation for supported values. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| add | [][Capability](#capability)| `[]Capability` | | | Added capabilities -+optional | | -| drop | [][Capability](#capability)| `[]Capability` | | | Removed capabilities -+optional | | +| add | [][Capability](#capability)| `[]Capability` | | | Added capabilities
+optional | | +| drop | [][Capability](#capability)| `[]Capability` | | | Removed capabilities
+optional | | @@ -584,21 +545,12 @@ Cephfs volumes do not support ownership management or SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| monitors | []string| `[]string` | | | monitors is Required: Monitors is a collection of Ceph monitors -More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it | | -| path | string| `string` | | | path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / -+optional | | -| readOnly | boolean| `bool` | | | readOnly is Optional: Defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -+optional | | -| secretFile | string| `string` | | | secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret -More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -+optional | | +| monitors | []string| `[]string` | | | monitors is Required: Monitors is a collection of Ceph monitors
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it | | +| path | string| `string` | | | path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
+optional | | +| readOnly | boolean| `bool` | | | readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+optional | | +| secretFile | string| `string` | | | secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| user | string| `string` | | | user is optional: User is the rados user name, default is admin -More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it -+optional | | +| user | string| `string` | | | user is optional: User is the rados user name, default is admin
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+optional | | @@ -618,18 +570,10 @@ Cinder volumes support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -More info: https://examples.k8s.io/mysql-cinder-pd/README.md -+optional | | -| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -More info: https://examples.k8s.io/mysql-cinder-pd/README.md -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
+optional | | +| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| volumeID | string| `string` | | | volumeID used to identify the volume in cinder. -More info: https://examples.k8s.io/mysql-cinder-pd/README.md | | +| volumeID | string| `string` | | | volumeID used to identify the volume in cinder.
More info: https://examples.k8s.io/mysql-cinder-pd/README.md | | @@ -667,12 +611,8 @@ key-value pairs as environment variables. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | Specify whether the ConfigMap must be defined -+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | Specify whether the ConfigMap must be defined
+optional | | @@ -691,12 +631,8 @@ TODO: Add other useful fields. apiVersion, kind, uid? | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | key | string| `string` | | | The key to select. | | -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | Specify whether the ConfigMap or its key must be defined -+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | Specify whether the ConfigMap or its key must be defined
+optional | | @@ -718,20 +654,9 @@ mode. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced -ConfigMap will be projected into the volume as a file whose name is the -key and content is the value. If specified, the listed keys will be -projected into the specified paths, and unlisted keys will not be -present. If a key is specified which is not present in the ConfigMap, -the volume setup will error unless it is marked optional. Paths must be -relative and may not contain the '..' path or start with '..'. -+optional | | -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | optional specify whether the ConfigMap or its keys must be defined -+optional | | +| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced
ConfigMap will be projected into the volume as a file whose name is the
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the ConfigMap,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | optional specify whether the ConfigMap or its keys must be defined
+optional | | @@ -752,28 +677,10 @@ ConfigMap volumes support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode is optional: mode bits used to set permissions on created files by default. -Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. -Defaults to 0644. -Directories within the path are not affected by this setting. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | -| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced -ConfigMap will be projected into the volume as a file whose name is the -key and content is the value. If specified, the listed keys will be -projected into the specified paths, and unlisted keys will not be -present. If a key is specified which is not present in the ConfigMap, -the volume setup will error unless it is marked optional. Paths must be -relative and may not contain the '..' path or start with '..'. -+optional | | -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | optional specify whether the ConfigMap or its keys must be defined -+optional | | +| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode is optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | +| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced
ConfigMap will be projected into the volume as a file whose name is the
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the ConfigMap,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | optional specify whether the ConfigMap or its keys must be defined
+optional | | @@ -788,102 +695,28 @@ TODO: Add other useful fields. apiVersion, kind, uid? | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| args | []string| `[]string` | | | Arguments to the entrypoint. -The container image's CMD is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell. -The container image's ENTRYPOINT is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container. -Cannot be updated. -+optional -+patchMergeKey=name -+patchStrategy=merge | | -| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container. -The keys defined within a source must be a C_IDENTIFIER. All invalid keys -will be reported as an event when the container is starting. When a key exists in multiple -sources, the value associated with the last source will take precedence. -Values defined by an Env with a duplicate key will take precedence. -Cannot be updated. -+optional | | -| image | string| `string` | | | Container image name. -More info: https://kubernetes.io/docs/concepts/containers/images -This field is optional to allow higher level config management to default or override -container images in workload controllers like Deployments and StatefulSets. -+optional | | +| args | []string| `[]string` | | | Arguments to the entrypoint.
The container image's CMD is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell.
The container image's ENTRYPOINT is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container.
Cannot be updated.
+optional
+patchMergeKey=name
+patchStrategy=merge | | +| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container.
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key exists in multiple
sources, the value associated with the last source will take precedence.
Values defined by an Env with a duplicate key will take precedence.
Cannot be updated.
+optional | | +| image | string| `string` | | | Container image name.
More info: https://kubernetes.io/docs/concepts/containers/images
This field is optional to allow higher level config management to default or override
container images in workload controllers like Deployments and StatefulSets.
+optional | | | imagePullPolicy | [PullPolicy](#pull-policy)| `PullPolicy` | | | | | | lifecycle | [Lifecycle](#lifecycle)| `Lifecycle` | | | | | | livenessProbe | [Probe](#probe)| `Probe` | | | | | -| name | string| `string` | | | Name of the container specified as a DNS_LABEL. -Each container in a pod must have a unique name (DNS_LABEL). -Cannot be updated. | | -| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here -DOES NOT prevent that port from being exposed. Any port which is -listening on the default "0.0.0.0" address inside a container will be -accessible from the network. -Modifying this array with strategic merge patch may corrupt the data. -For more information See https://github.com/kubernetes/kubernetes/issues/108255. -Cannot be updated. -+optional -+patchMergeKey=containerPort -+patchStrategy=merge -+listType=map -+listMapKey=containerPort -+listMapKey=protocol | | +| name | string| `string` | | | Name of the container specified as a DNS_LABEL.
Each container in a pod must have a unique name (DNS_LABEL).
Cannot be updated. | | +| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here
DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network.
Modifying this array with strategic merge patch may corrupt the data.
For more information See https://github.com/kubernetes/kubernetes/issues/108255.
Cannot be updated.
+optional
+patchMergeKey=containerPort
+patchStrategy=merge
+listType=map
+listMapKey=containerPort
+listMapKey=protocol | | | readinessProbe | [Probe](#probe)| `Probe` | | | | | | resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | | | securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | | | startupProbe | [Probe](#probe)| `Probe` | | | | | -| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this -is not set, reads from stdin in the container will always result in EOF. -Default is false. -+optional | | -| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by -a single attach. When stdin is true the stdin stream will remain open across multiple attach -sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the -first client attaches to stdin, and then remains open and accepts data until the client disconnects, -at which time stdin is closed and remains closed until the container is restarted. If this -flag is false, a container processes that reads from stdin will never receive an EOF. -Default is false -+optional | | -| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message -will be written is mounted into the container's filesystem. -Message written is intended to be brief final status, such as an assertion failure message. -Will be truncated by the node if greater than 4096 bytes. The total message length across -all containers will be limited to 12kb. -Defaults to /dev/termination-log. -Cannot be updated. -+optional | | +| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this
is not set, reads from stdin in the container will always result in EOF.
Default is false.
+optional | | +| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by
a single attach. When stdin is true the stdin stream will remain open across multiple attach
sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
first client attaches to stdin, and then remains open and accepts data until the client disconnects,
at which time stdin is closed and remains closed until the container is restarted. If this
flag is false, a container processes that reads from stdin will never receive an EOF.
Default is false
+optional | | +| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an assertion failure message.
Will be truncated by the node if greater than 4096 bytes. The total message length across
all containers will be limited to 12kb.
Defaults to /dev/termination-log.
Cannot be updated.
+optional | | | terminationMessagePolicy | [TerminationMessagePolicy](#termination-message-policy)| `TerminationMessagePolicy` | | | | | -| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. -Default is false. -+optional | | -| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container. -+patchMergeKey=devicePath -+patchStrategy=merge -+optional | | -| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem. -Cannot be updated. -+optional -+patchMergeKey=mountPath -+patchStrategy=merge | | -| workingDir | string| `string` | | | Container's working directory. -If not specified, the container runtime's default will be used, which -might be configured in the container image. -Cannot be updated. -+optional | | +| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
Default is false.
+optional | | +| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container.
+patchMergeKey=devicePath
+patchStrategy=merge
+optional | | +| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem.
Cannot be updated.
+optional
+patchMergeKey=mountPath
+patchStrategy=merge | | +| workingDir | string| `string` | | | Container's working directory.
If not specified, the container runtime's default will be used, which
might be configured in the container image.
Cannot be updated.
+optional | | @@ -898,103 +731,29 @@ Cannot be updated. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| args | []string| `[]string` | | | Arguments to the entrypoint. -The container image's CMD is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell. -The container image's ENTRYPOINT is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | +| args | []string| `[]string` | | | Arguments to the entrypoint.
The container image's CMD is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell.
The container image's ENTRYPOINT is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | | dependencies | []string| `[]string` | | | | | -| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container. -Cannot be updated. -+optional -+patchMergeKey=name -+patchStrategy=merge | | -| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container. -The keys defined within a source must be a C_IDENTIFIER. All invalid keys -will be reported as an event when the container is starting. When a key exists in multiple -sources, the value associated with the last source will take precedence. -Values defined by an Env with a duplicate key will take precedence. -Cannot be updated. -+optional | | -| image | string| `string` | | | Container image name. -More info: https://kubernetes.io/docs/concepts/containers/images -This field is optional to allow higher level config management to default or override -container images in workload controllers like Deployments and StatefulSets. -+optional | | +| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container.
Cannot be updated.
+optional
+patchMergeKey=name
+patchStrategy=merge | | +| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container.
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key exists in multiple
sources, the value associated with the last source will take precedence.
Values defined by an Env with a duplicate key will take precedence.
Cannot be updated.
+optional | | +| image | string| `string` | | | Container image name.
More info: https://kubernetes.io/docs/concepts/containers/images
This field is optional to allow higher level config management to default or override
container images in workload controllers like Deployments and StatefulSets.
+optional | | | imagePullPolicy | [PullPolicy](#pull-policy)| `PullPolicy` | | | | | | lifecycle | [Lifecycle](#lifecycle)| `Lifecycle` | | | | | | livenessProbe | [Probe](#probe)| `Probe` | | | | | -| name | string| `string` | | | Name of the container specified as a DNS_LABEL. -Each container in a pod must have a unique name (DNS_LABEL). -Cannot be updated. | | -| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here -DOES NOT prevent that port from being exposed. Any port which is -listening on the default "0.0.0.0" address inside a container will be -accessible from the network. -Modifying this array with strategic merge patch may corrupt the data. -For more information See https://github.com/kubernetes/kubernetes/issues/108255. -Cannot be updated. -+optional -+patchMergeKey=containerPort -+patchStrategy=merge -+listType=map -+listMapKey=containerPort -+listMapKey=protocol | | +| name | string| `string` | | | Name of the container specified as a DNS_LABEL.
Each container in a pod must have a unique name (DNS_LABEL).
Cannot be updated. | | +| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here
DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network.
Modifying this array with strategic merge patch may corrupt the data.
For more information See https://github.com/kubernetes/kubernetes/issues/108255.
Cannot be updated.
+optional
+patchMergeKey=containerPort
+patchStrategy=merge
+listType=map
+listMapKey=containerPort
+listMapKey=protocol | | | readinessProbe | [Probe](#probe)| `Probe` | | | | | | resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | | | securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | | | startupProbe | [Probe](#probe)| `Probe` | | | | | -| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this -is not set, reads from stdin in the container will always result in EOF. -Default is false. -+optional | | -| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by -a single attach. When stdin is true the stdin stream will remain open across multiple attach -sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the -first client attaches to stdin, and then remains open and accepts data until the client disconnects, -at which time stdin is closed and remains closed until the container is restarted. If this -flag is false, a container processes that reads from stdin will never receive an EOF. -Default is false -+optional | | -| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message -will be written is mounted into the container's filesystem. -Message written is intended to be brief final status, such as an assertion failure message. -Will be truncated by the node if greater than 4096 bytes. The total message length across -all containers will be limited to 12kb. -Defaults to /dev/termination-log. -Cannot be updated. -+optional | | +| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this
is not set, reads from stdin in the container will always result in EOF.
Default is false.
+optional | | +| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by
a single attach. When stdin is true the stdin stream will remain open across multiple attach
sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
first client attaches to stdin, and then remains open and accepts data until the client disconnects,
at which time stdin is closed and remains closed until the container is restarted. If this
flag is false, a container processes that reads from stdin will never receive an EOF.
Default is false
+optional | | +| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an assertion failure message.
Will be truncated by the node if greater than 4096 bytes. The total message length across
all containers will be limited to 12kb.
Defaults to /dev/termination-log.
Cannot be updated.
+optional | | | terminationMessagePolicy | [TerminationMessagePolicy](#termination-message-policy)| `TerminationMessagePolicy` | | | | | -| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. -Default is false. -+optional | | -| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container. -+patchMergeKey=devicePath -+patchStrategy=merge -+optional | | -| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem. -Cannot be updated. -+optional -+patchMergeKey=mountPath -+patchStrategy=merge | | -| workingDir | string| `string` | | | Container's working directory. -If not specified, the container runtime's default will be used, which -might be configured in the container image. -Cannot be updated. -+optional | | +| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
Default is false.
+optional | | +| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container.
+patchMergeKey=devicePath
+patchStrategy=merge
+optional | | +| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem.
Cannot be updated.
+optional
+patchMergeKey=mountPath
+patchStrategy=merge | | +| workingDir | string| `string` | | | Container's working directory.
If not specified, the container runtime's default will be used, which
might be configured in the container image.
Cannot be updated.
+optional | | @@ -1009,19 +768,10 @@ Cannot be updated. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| containerPort | int32 (formatted integer)| `int32` | | | Number of port to expose on the pod's IP address. -This must be a valid port number, 0 < x < 65536. | | -| hostIP | string| `string` | | | What host IP to bind the external port to. -+optional | | -| hostPort | int32 (formatted integer)| `int32` | | | Number of port to expose on the host. -If specified, this must be a valid port number, 0 < x < 65536. -If HostNetwork is specified, this must match ContainerPort. -Most containers do not need this. -+optional | | -| name | string| `string` | | | If specified, this must be an IANA_SVC_NAME and unique within the pod. Each -named port in a pod must have a unique name. Name for the port that can be -referred to by services. -+optional | | +| containerPort | int32 (formatted integer)| `int32` | | | Number of port to expose on the pod's IP address.
This must be a valid port number, 0 < x < 65536. | | +| hostIP | string| `string` | | | What host IP to bind the external port to.
+optional | | +| hostPort | int32 (formatted integer)| `int32` | | | Number of port to expose on the host.
If specified, this must be a valid port number, 0 < x < 65536.
If HostNetwork is specified, this must match ContainerPort.
Most containers do not need this.
+optional | | +| name | string| `string` | | | If specified, this must be an IANA_SVC_NAME and unique within the pod. Each
named port in a pod must have a unique name. Name for the port that can be
referred to by services.
+optional | | | protocol | [Protocol](#protocol)| `Protocol` | | | | | @@ -1040,8 +790,7 @@ referred to by services. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| duration | string| `string` | | | Duration is the time between each retry, examples values are "300ms", "1s" or "5m". -Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". | | +| duration | string| `string` | | | Duration is the time between each retry, examples values are "300ms", "1s" or "5m".
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". | | | retries | [IntOrString](#int-or-string)| `IntOrString` | | | | | @@ -1139,16 +888,12 @@ Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". | | | hooks | [LifecycleHooks](#lifecycle-hooks)| `LifecycleHooks` | | | | | | inline | [Template](#template)| `Template` | | | | | | name | string| `string` | | | Name is the name of the target | | -| onExit | string| `string` | | | OnExit is a template reference which is invoked at the end of the -template, irrespective of the success, failure, or error of the -primary template. -DEPRECATED: Use Hooks[exit].Template instead. | | +| onExit | string| `string` | | | OnExit is a template reference which is invoked at the end of the
template, irrespective of the success, failure, or error of the
primary template.
DEPRECATED: Use Hooks[exit].Template instead. | | | template | string| `string` | | | Name of template to execute | | | templateRef | [TemplateRef](#template-ref)| `TemplateRef` | | | | | | when | string| `string` | | | When is an expression in which the task should conditionally execute | | | withItems | [][Item](#item)| `[]Item` | | | WithItems expands a task into multiple parallel tasks from the items in the list | | -| withParam | string| `string` | | | WithParam expands a task into multiple parallel tasks from the value in the parameter, -which is expected to be a JSON list. | | +| withParam | string| `string` | | | WithParam expands a task into multiple parallel tasks from the value in the parameter,
which is expected to be a JSON list. | | | withSequence | [Sequence](#sequence)| `Sequence` | | | | | @@ -1167,16 +912,9 @@ which is expected to be a JSON list. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| failFast | boolean| `bool` | | | This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, -as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed -before failing the DAG itself. -The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to -completion (either success or failure), regardless of the failed outcomes of branches in the DAG. -More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 | | +| failFast | boolean| `bool` | | | This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps,
as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed
before failing the DAG itself.
The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to
completion (either success or failure), regardless of the failed outcomes of branches in the DAG.
More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 | | | target | string| `string` | | | Target are one or more names of targets to execute in a DAG | | -| tasks | [][DAGTask](#d-a-g-task)| `[]*DAGTask` | | | Tasks are a list of DAG tasks -+patchStrategy=merge -+patchMergeKey=name | | +| tasks | [][DAGTask](#d-a-g-task)| `[]*DAGTask` | | | Tasks are a list of DAG tasks
+patchStrategy=merge
+patchMergeKey=name | | @@ -1232,8 +970,7 @@ mode. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| items | [][DownwardAPIVolumeFile](#downward-api-volume-file)| `[]*DownwardAPIVolumeFile` | | | Items is a list of DownwardAPIVolume file -+optional | | +| items | [][DownwardAPIVolumeFile](#downward-api-volume-file)| `[]*DownwardAPIVolumeFile` | | | Items is a list of DownwardAPIVolume file
+optional | | @@ -1252,13 +989,7 @@ mode. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | fieldRef | [ObjectFieldSelector](#object-field-selector)| `ObjectFieldSelector` | | | | | -| mode | int32 (formatted integer)| `int32` | | | Optional: mode bits used to set permissions on this file, must be an octal value -between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. -If not specified, the volume defaultMode will be used. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | +| mode | int32 (formatted integer)| `int32` | | | Optional: mode bits used to set permissions on this file, must be an octal value
between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
If not specified, the volume defaultMode will be used.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | | path | string| `string` | | | Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' | | | resourceFieldRef | [ResourceFieldSelector](#resource-field-selector)| `ResourceFieldSelector` | | | | | @@ -1278,17 +1009,8 @@ mode, like fsGroup, and the result can be other mode bits set. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| defaultMode | int32 (formatted integer)| `int32` | | | Optional: mode bits to use on created files by default. Must be a -Optional: mode bits used to set permissions on created files by default. -Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. -Defaults to 0644. -Directories within the path are not affected by this setting. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | -| items | [][DownwardAPIVolumeFile](#downward-api-volume-file)| `[]*DownwardAPIVolumeFile` | | | Items is a list of downward API volume file -+optional | | +| defaultMode | int32 (formatted integer)| `int32` | | | Optional: mode bits to use on created files by default. Must be a
Optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | +| items | [][DownwardAPIVolumeFile](#downward-api-volume-file)| `[]*DownwardAPIVolumeFile` | | | Items is a list of downward API volume file
+optional | | @@ -1338,8 +1060,7 @@ can be used as map keys in json. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | configMapRef | [ConfigMapEnvSource](#config-map-env-source)| `ConfigMapEnvSource` | | | | | -| prefix | string| `string` | | | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. -+optional | | +| prefix | string| `string` | | | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.
+optional | | | secretRef | [SecretEnvSource](#secret-env-source)| `SecretEnvSource` | | | | | @@ -1356,16 +1077,7 @@ can be used as map keys in json. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | name | string| `string` | | | Name of the environment variable. Must be a C_IDENTIFIER. | | -| value | string| `string` | | | Variable references $(VAR_NAME) are expanded -using the previously defined environment variables in the container and -any service environment variables. If a variable cannot be resolved, -the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. -"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". -Escaped references will never be expanded, regardless of whether the variable -exists or not. -Defaults to "". -+optional | | +| value | string| `string` | | | Variable references $(VAR_NAME) are expanded
using the previously defined environment variables in the container and
any service environment variables. If a variable cannot be resolved,
the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
Escaped references will never be expanded, regardless of whether the variable
exists or not.
Defaults to "".
+optional | | | valueFrom | [EnvVarSource](#env-var-source)| `EnvVarSource` | | | | | @@ -1414,12 +1126,7 @@ Defaults to "". | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| command | []string| `[]string` | | | Command is the command line to execute inside the container, the working directory for the -command is root ('/') in the container's filesystem. The command is simply exec'd, it is -not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use -a shell, you need to explicitly call out to that shell. -Exit status of 0 is treated as live/healthy and non-zero is unhealthy. -+optional | | +| command | []string| `[]string` | | | Command is the command line to execute inside the container, the working directory for the
command is root ('/') in the container's filesystem. The command is simply exec'd, it is
not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use
a shell, you need to explicitly call out to that shell.
Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
+optional | | @@ -1485,21 +1192,11 @@ Fibre Channel volumes support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -TODO: how do we prevent errors in the filesystem from compromising the machine -+optional | | -| lun | int32 (formatted integer)| `int32` | | | lun is Optional: FC target lun number -+optional | | -| readOnly | boolean| `bool` | | | readOnly is Optional: Defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | -| targetWWNs | []string| `[]string` | | | targetWWNs is Optional: FC target worldwide names (WWNs) -+optional | | -| wwids | []string| `[]string` | | | wwids Optional: FC volume world wide identifiers (wwids) -Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
TODO: how do we prevent errors in the filesystem from compromising the machine
+optional | | +| lun | int32 (formatted integer)| `int32` | | | lun is Optional: FC target lun number
+optional | | +| readOnly | boolean| `bool` | | | readOnly is Optional: Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | +| targetWWNs | []string| `[]string` | | | targetWWNs is Optional: FC target worldwide names (WWNs)
+optional | | +| wwids | []string| `[]string` | | | wwids Optional: FC volume world wide identifiers (wwids)
Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
+optional | | @@ -1538,15 +1235,9 @@ provisioned/attached using an exec based plugin. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | driver | string| `string` | | | driver is the name of the driver to use for this volume. | | -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. -+optional | | -| options | map of string| `map[string]string` | | | options is Optional: this field holds extra command options if any. -+optional | | -| readOnly | boolean| `bool` | | | readOnly is Optional: defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
+optional | | +| options | map of string| `map[string]string` | | | options is Optional: this field holds extra command options if any.
+optional | | +| readOnly | boolean| `bool` | | | readOnly is Optional: defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | @@ -1566,11 +1257,8 @@ Flocker volumes do not support ownership management or SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| datasetName | string| `string` | | | datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker -should be considered as deprecated -+optional | | -| datasetUUID | string| `string` | | | datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset -+optional | | +| datasetName | string| `string` | | | datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker
should be considered as deprecated
+optional | | +| datasetUUID | string| `string` | | | datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
+optional | | @@ -1591,24 +1279,10 @@ PDs support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is filesystem type of the volume that you want to mount. -Tip: Ensure that the filesystem type is supported by the host operating system. -Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -TODO: how do we prevent errors in the filesystem from compromising the machine -+optional | | -| partition | int32 (formatted integer)| `int32` | | | partition is the partition in the volume that you want to mount. -If omitted, the default is to mount by volume name. -Examples: For volume /dev/sda1, you specify the partition as "1". -Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). -More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -+optional | | -| pdName | string| `string` | | | pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. -More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | | -| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts. -Defaults to false. -More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk -+optional | | +| fsType | string| `string` | | | fsType is filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
TODO: how do we prevent errors in the filesystem from compromising the machine
+optional | | +| partition | int32 (formatted integer)| `int32` | | | partition is the partition in the volume that you want to mount.
If omitted, the default is to mount by volume name.
Examples: For volume /dev/sda1, you specify the partition as "1".
Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
+optional | | +| pdName | string| `string` | | | pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | | +| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk
+optional | | @@ -1644,12 +1318,7 @@ More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | port | int32 (formatted integer)| `int32` | | | Port number of the gRPC service. Number must be in the range 1 to 65535. | | -| service | string| `string` | | | Service is the name of the service to place in the gRPC HealthCheckRequest -(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). - -If this is not specified, the default behavior is defined by gRPC. -+optional -+default="" | | +| service | string| `string` | | | Service is the name of the service to place in the gRPC HealthCheckRequest
(see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).

If this is not specified, the default behavior is defined by gRPC.
+optional
+default="" | | @@ -1669,8 +1338,7 @@ If this is not specified, the default behavior is defined by gRPC. |------|------|---------|:--------:| ------- |-------------|---------| | operation | [GaugeOperation](#gauge-operation)| `GaugeOperation` | | | | | | realtime | boolean| `bool` | | | Realtime emits this metric in real time if applicable | | -| value | string| `string` | | | Value is the value to be used in the operation with the metric's current value. If no operation is set, -value is the value of the metric | | +| value | string| `string` | | | Value is the value to be used in the operation with the metric's current value. If no operation is set,
value is the value of the metric | | @@ -1700,8 +1368,7 @@ value is the value of the metric | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | branch | string| `string` | | | Branch is the branch to fetch when `SingleBranch` is enabled | | -| depth | uint64 (formatted integer)| `uint64` | | | Depth specifies clones/fetches should be shallow and include the given -number of commits from the branch tip | | +| depth | uint64 (formatted integer)| `uint64` | | | Depth specifies clones/fetches should be shallow and include the given
number of commits from the branch tip | | | disableSubmodules | boolean| `bool` | | | DisableSubmodules disables submodules during git clone | | | fetch | []string| `[]string` | | | Fetch specifies a number of refs that should be fetched before checkout | | | insecureIgnoreHostKey | boolean| `bool` | | | InsecureIgnoreHostKey disables SSH strict host key checking during git clone | | @@ -1730,14 +1397,9 @@ into the Pod's container. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| directory | string| `string` | | | directory is the target directory name. -Must not contain or start with '..'. If '.' is supplied, the volume directory will be the -git repository. Otherwise, if specified, the volume will contain the git repository in -the subdirectory with the given name. -+optional | | +| directory | string| `string` | | | directory is the target directory name.
Must not contain or start with '..'. If '.' is supplied, the volume directory will be the
git repository. Otherwise, if specified, the volume will contain the git repository in
the subdirectory with the given name.
+optional | | | repository | string| `string` | | | repository is the URL | | -| revision | string| `string` | | | revision is the commit hash for the specified revision. -+optional | | +| revision | string| `string` | | | revision is the commit hash for the specified revision.
+optional | | @@ -1755,14 +1417,9 @@ the subdirectory with the given name. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| endpoints | string| `string` | | | endpoints is the endpoint name that details Glusterfs topology. -More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | -| path | string| `string` | | | path is the Glusterfs volume path. -More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | -| readOnly | boolean| `bool` | | | readOnly here will force the Glusterfs volume to be mounted with read-only permissions. -Defaults to false. -More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod -+optional | | +| endpoints | string| `string` | | | endpoints is the endpoint name that details Glusterfs topology.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | +| path | string| `string` | | | path is the Glusterfs volume path.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod | | +| readOnly | boolean| `bool` | | | readOnly here will force the Glusterfs volume to be mounted with read-only permissions.
Defaults to false.
More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
+optional | | @@ -1782,17 +1439,13 @@ More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod |------|------|---------|:--------:| ------- |-------------|---------| | addresses | []string| `[]string` | | | Addresses is accessible addresses of HDFS name nodes | | | force | boolean| `bool` | | | Force copies a file forcibly even if it exists | | -| hdfsUser | string| `string` | | | HDFSUser is the user to access HDFS file system. -It is ignored if either ccache or keytab is used. | | +| hdfsUser | string| `string` | | | HDFSUser is the user to access HDFS file system.
It is ignored if either ccache or keytab is used. | | | krbCCacheSecret | [SecretKeySelector](#secret-key-selector)| `SecretKeySelector` | | | | | | krbConfigConfigMap | [ConfigMapKeySelector](#config-map-key-selector)| `ConfigMapKeySelector` | | | | | | krbKeytabSecret | [SecretKeySelector](#secret-key-selector)| `SecretKeySelector` | | | | | -| krbRealm | string| `string` | | | KrbRealm is the Kerberos realm used with Kerberos keytab -It must be set if keytab is used. | | -| krbServicePrincipalName | string| `string` | | | KrbServicePrincipalName is the principal name of Kerberos service -It must be set if either ccache or keytab is used. | | -| krbUsername | string| `string` | | | KrbUsername is the Kerberos username used with Kerberos keytab -It must be set if keytab is used. | | +| krbRealm | string| `string` | | | KrbRealm is the Kerberos realm used with Kerberos keytab
It must be set if keytab is used. | | +| krbServicePrincipalName | string| `string` | | | KrbServicePrincipalName is the principal name of Kerberos service
It must be set if either ccache or keytab is used. | | +| krbUsername | string| `string` | | | KrbUsername is the Kerberos username used with Kerberos keytab
It must be set if keytab is used. | | | path | string| `string` | | | Path is a file path in HDFS | | @@ -1882,13 +1535,9 @@ It must be set if keytab is used. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| host | string| `string` | | | Host name to connect to, defaults to the pod IP. You probably want to set -"Host" in httpHeaders instead. -+optional | | -| httpHeaders | [][HTTPHeader](#http-header)| `[]*HTTPHeader` | | | Custom headers to set in the request. HTTP allows repeated headers. -+optional | | -| path | string| `string` | | | Path to access on the HTTP server. -+optional | | +| host | string| `string` | | | Host name to connect to, defaults to the pod IP. You probably want to set
"Host" in httpHeaders instead.
+optional | | +| httpHeaders | [][HTTPHeader](#http-header)| `[]*HTTPHeader` | | | Custom headers to set in the request. HTTP allows repeated headers.
+optional | | +| path | string| `string` | | | Path to access on the HTTP server.
+optional | | | port | [IntOrString](#int-or-string)| `IntOrString` | | | | | | scheme | [URIScheme](#uri-scheme)| `URIScheme` | | | | | @@ -2019,9 +1668,7 @@ pod's hosts file. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| path | string| `string` | | | path of the directory on the host. -If the path is a symlink, it will follow the link to the real path. -More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | | +| path | string| `string` | | | path of the directory on the host.
If the path is a symlink, it will follow the link to the real path.
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | | | type | [HostPathType](#host-path-type)| `HostPathType` | | | | | @@ -2041,34 +1688,17 @@ ISCSI volumes support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| chapAuthDiscovery | boolean| `bool` | | | chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication -+optional | | -| chapAuthSession | boolean| `bool` | | | chapAuthSession defines whether support iSCSI Session CHAP authentication -+optional | | -| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount. -Tip: Ensure that the filesystem type is supported by the host operating system. -Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi -TODO: how do we prevent errors in the filesystem from compromising the machine -+optional | | -| initiatorName | string| `string` | | | initiatorName is the custom iSCSI Initiator Name. -If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface -: will be created for the connection. -+optional | | +| chapAuthDiscovery | boolean| `bool` | | | chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
+optional | | +| chapAuthSession | boolean| `bool` | | | chapAuthSession defines whether support iSCSI Session CHAP authentication
+optional | | +| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
TODO: how do we prevent errors in the filesystem from compromising the machine
+optional | | +| initiatorName | string| `string` | | | initiatorName is the custom iSCSI Initiator Name.
If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface
: will be created for the connection.
+optional | | | iqn | string| `string` | | | iqn is the target iSCSI Qualified Name. | | -| iscsiInterface | string| `string` | | | iscsiInterface is the interface Name that uses an iSCSI transport. -Defaults to 'default' (tcp). -+optional | | +| iscsiInterface | string| `string` | | | iscsiInterface is the interface Name that uses an iSCSI transport.
Defaults to 'default' (tcp).
+optional | | | lun | int32 (formatted integer)| `int32` | | | lun represents iSCSI Target Lun number. | | -| portals | []string| `[]string` | | | portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port -is other than default (typically TCP ports 860 and 3260). -+optional | | -| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts. -Defaults to false. -+optional | | +| portals | []string| `[]string` | | | portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260).
+optional | | +| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| targetPortal | string| `string` | | | targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port -is other than default (typically TCP ports 860 and 3260). | | +| targetPortal | string| `string` | | | targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port
is other than default (typically TCP ports 860 and 3260). | | @@ -2087,9 +1717,7 @@ is other than default (typically TCP ports 860 and 3260). | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | artifacts | [Artifacts](#artifacts)| `Artifacts` | | | | | -| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters are a list of parameters passed as inputs -+patchStrategy=merge -+patchMergeKey=name | | +| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters are a list of parameters passed as inputs
+patchStrategy=merge
+patchMergeKey=name | | @@ -2138,17 +1766,8 @@ is other than default (typically TCP ports 860 and 3260). | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | key | string| `string` | | | key is the key to project. | | -| mode | int32 (formatted integer)| `int32` | | | mode is Optional: mode bits used to set permissions on this file. -Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. -If not specified, the volume defaultMode will be used. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | -| path | string| `string` | | | path is the relative path of the file to map the key to. -May not be an absolute path. -May not contain the path element '..'. -May not start with the string '..'. | | +| mode | int32 (formatted integer)| `int32` | | | mode is Optional: mode bits used to set permissions on this file.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
If not specified, the volume defaultMode will be used.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | +| path | string| `string` | | | path is the relative path of the file to map the key to.
May not be an absolute path.
May not contain the path element '..'.
May not start with the string '..'. | | @@ -2169,12 +1788,8 @@ label selector matches no objects. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| matchExpressions | [][LabelSelectorRequirement](#label-selector-requirement)| `[]*LabelSelectorRequirement` | | | matchExpressions is a list of label selector requirements. The requirements are ANDed. -+optional | | -| matchLabels | map of string| `map[string]string` | | | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels -map is equivalent to an element of matchExpressions, whose key field is "key", the -operator is "In", and the values array contains only "value". The requirements are ANDed. -+optional | | +| matchExpressions | [][LabelSelectorRequirement](#label-selector-requirement)| `[]*LabelSelectorRequirement` | | | matchExpressions is a list of label selector requirements. The requirements are ANDed.
+optional | | +| matchLabels | map of string| `map[string]string` | | | matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
+optional | | @@ -2204,15 +1819,9 @@ relates the key and values. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| key | string| `string` | | | key is the label key that the selector applies to. -+patchMergeKey=key -+patchStrategy=merge | | +| key | string| `string` | | | key is the label key that the selector applies to.
+patchMergeKey=key
+patchStrategy=merge | | | operator | [LabelSelectorOperator](#label-selector-operator)| `LabelSelectorOperator` | | | | | -| values | []string| `[]string` | | | values is an array of string values. If the operator is In or NotIn, -the values array must be non-empty. If the operator is Exists or DoesNotExist, -the values array must be empty. This array is replaced during a strategic -merge patch. -+optional | | +| values | []string| `[]string` | | | values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
+optional | | @@ -2270,8 +1879,7 @@ hook. One and only one of the fields, except TCPSocket must be specified. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | arguments | [Arguments](#arguments)| `Arguments` | | | | | -| expression | string| `string` | | | Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not -be retried and the retry strategy will be ignored | | +| expression | string| `string` | | | Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not
be retried and the retry strategy will be ignored | | | template | string| `string` | | | Template is the name of the template to execute by the hook | | | templateRef | [TemplateRef](#template-ref)| `TemplateRef` | | | | | @@ -2300,10 +1908,7 @@ referenced object inside the same namespace. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | @@ -2322,23 +1927,13 @@ that the fieldset applies to. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| apiVersion | string| `string` | | | APIVersion defines the version of this resource that this field set -applies to. The format is "group/version" just like the top-level -APIVersion field. It is necessary to track the version of a field -set because it cannot be automatically converted. | | -| fieldsType | string| `string` | | | FieldsType is the discriminator for the different fields format and version. -There is currently only one possible value: "FieldsV1" | | +| apiVersion | string| `string` | | | APIVersion defines the version of this resource that this field set
applies to. The format is "group/version" just like the top-level
APIVersion field. It is necessary to track the version of a field
set because it cannot be automatically converted. | | +| fieldsType | string| `string` | | | FieldsType is the discriminator for the different fields format and version.
There is currently only one possible value: "FieldsV1" | | | fieldsV1 | [FieldsV1](#fields-v1)| `FieldsV1` | | | | | | manager | string| `string` | | | Manager is an identifier of the workflow managing these fields. | | | operation | [ManagedFieldsOperationType](#managed-fields-operation-type)| `ManagedFieldsOperationType` | | | | | -| subresource | string| `string` | | | Subresource is the name of the subresource used to update that object, or -empty string if the object was updated through the main resource. The -value of this field is used to distinguish between managers, even if they -share the same name. For example, a status update will be distinct from a -regular update using the same manager name. -Note that the APIVersion field is not related to the Subresource field and -it always corresponds to the version of the main resource. | | -| time | [Time](#time)| `Time` | | | | | +| subresource | string| `string` | | | Subresource is the name of the subresource used to update that object, or
empty string if the object was updated through the main resource. The
value of this field is used to distinguish between managers, even if they
share the same name. For example, a status update will be distinct from a
regular update using the same manager name.
Note that the APIVersion field is not related to the Subresource field and
it always corresponds to the version of the main resource. | | +| time | string| `string` | | | Time is the timestamp of when the ManagedFields entry was added. The
timestamp will also be updated if a field is added, the manager
changes any of the owned fields value or removes a field. The
timestamp does not update when a field is removed from the entry
because another manager took it over.
+optional | | @@ -2384,8 +1979,7 @@ it always corresponds to the version of the main resource. | | |------|------|---------|:--------:| ------- |-------------|---------| | cache | [Cache](#cache)| `Cache` | | | | | | key | string| `string` | | | Key is the key to use as the caching key | | -| maxAge | string| `string` | | | MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older -than the MaxAge, it will be ignored. | | +| maxAge | string| `string` | | | MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older
than the MaxAge, it will be ignored. | | @@ -2492,14 +2086,9 @@ than the MaxAge, it will be ignored. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| path | string| `string` | | | path that is exported by the NFS server. -More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | -| readOnly | boolean| `bool` | | | readOnly here will force the NFS export to be mounted with read-only permissions. -Defaults to false. -More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs -+optional | | -| server | string| `string` | | | server is the hostname or IP address of the NFS server. -More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | +| path | string| `string` | | | path that is exported by the NFS server.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | +| readOnly | boolean| `bool` | | | readOnly here will force the NFS export to be mounted with read-only permissions.
Defaults to false.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
+optional | | +| server | string| `string` | | | server is the hostname or IP address of the NFS server.
More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | @@ -2514,16 +2103,7 @@ More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| preferredDuringSchedulingIgnoredDuringExecution | [][PreferredSchedulingTerm](#preferred-scheduling-term)| `[]*PreferredSchedulingTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy -the affinity expressions specified by this field, but it may choose -a node that violates one or more of the expressions. The node that is -most preferred is the one with the greatest sum of weights, i.e. -for each node that meets all of the scheduling requirements (resource -request, requiredDuringScheduling affinity expressions, etc.), -compute a sum by iterating through the elements of this field and adding -"weight" to the sum if the node matches the corresponding matchExpressions; the -node(s) with the highest sum are the most preferred. -+optional | | +| preferredDuringSchedulingIgnoredDuringExecution | [][PreferredSchedulingTerm](#preferred-scheduling-term)| `[]*PreferredSchedulingTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node matches the corresponding matchExpressions; the
node(s) with the highest sum are the most preferred.
+optional | | | requiredDuringSchedulingIgnoredDuringExecution | [NodeSelector](#node-selector)| `NodeSelector` | | | | | @@ -2590,9 +2170,7 @@ a node selector requirement. | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| NodeSelectorOperator | string| string | | A node selector operator is the set of operators that can be used in -a node selector requirement. -+enum | | +| NodeSelectorOperator | string| string | | A node selector operator is the set of operators that can be used in
a node selector requirement.
+enum | | @@ -2613,12 +2191,7 @@ that relates the key and values. |------|------|---------|:--------:| ------- |-------------|---------| | key | string| `string` | | | The label key that the selector applies to. | | | operator | [NodeSelectorOperator](#node-selector-operator)| `NodeSelectorOperator` | | | | | -| values | []string| `[]string` | | | An array of string values. If the operator is In or NotIn, -the values array must be non-empty. If the operator is Exists or DoesNotExist, -the values array must be empty. If the operator is Gt or Lt, the values -array must have a single element, which will be interpreted as an integer. -This array is replaced during a strategic merge patch. -+optional | | +| values | []string| `[]string` | | | An array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. If the operator is Gt or Lt, the values
array must have a single element, which will be interpreted as an integer.
This array is replaced during a strategic merge patch.
+optional | | @@ -2639,10 +2212,8 @@ The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| matchExpressions | [][NodeSelectorRequirement](#node-selector-requirement)| `[]*NodeSelectorRequirement` | | | A list of node selector requirements by node's labels. -+optional | | -| matchFields | [][NodeSelectorRequirement](#node-selector-requirement)| `[]*NodeSelectorRequirement` | | | A list of node selector requirements by node's fields. -+optional | | +| matchExpressions | [][NodeSelectorRequirement](#node-selector-requirement)| `[]*NodeSelectorRequirement` | | | A list of node selector requirements by node's labels.
+optional | | +| matchFields | [][NodeSelectorRequirement](#node-selector-requirement)| `[]*NodeSelectorRequirement` | | | A list of node selector requirements by node's fields.
+optional | | @@ -2758,8 +2329,7 @@ save/load the directory appropriately. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| apiVersion | string| `string` | | | Version of the schema the FieldPath is written in terms of, defaults to "v1". -+optional | | +| apiVersion | string| `string` | | | Version of the schema the FieldPath is written in terms of, defaults to "v1".
+optional | | | fieldPath | string| `string` | | | Path of the field to select in the specified API version. | | @@ -2797,9 +2367,7 @@ save/load the directory appropriately. |------|------|---------|:--------:| ------- |-------------|---------| | artifacts | [Artifacts](#artifacts)| `Artifacts` | | | | | | exitCode | string| `string` | | | ExitCode holds the exit code of a script template | | -| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters holds the list of output parameters produced by a step -+patchStrategy=merge -+patchMergeKey=name | | +| parameters | [][Parameter](#parameter)| `[]*Parameter` | | | Parameters holds the list of output parameters produced by a step
+patchStrategy=merge
+patchMergeKey=name | | | result | string| `string` | | | Result holds the result (stdout) of a script template | | @@ -2822,21 +2390,10 @@ be cluster-scoped, so there is no namespace field. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | apiVersion | string| `string` | | | API version of the referent. | | -| blockOwnerDeletion | boolean| `bool` | | | If true, AND if the owner has the "foregroundDeletion" finalizer, then -the owner cannot be deleted from the key-value store until this -reference is removed. -See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion -for how the garbage collector interacts with this field and enforces the foreground deletion. -Defaults to false. -To set this field, a user needs "delete" permission of the owner, -otherwise 422 (Unprocessable Entity) will be returned. -+optional | | -| controller | boolean| `bool` | | | If true, this reference points to the managing controller. -+optional | | -| kind | string| `string` | | | Kind of the referent. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | -| name | string| `string` | | | Name of the referent. -More info: http://kubernetes.io/docs/user-guide/identifiers#names | | +| blockOwnerDeletion | boolean| `bool` | | | If true, AND if the owner has the "foregroundDeletion" finalizer, then
the owner cannot be deleted from the key-value store until this
reference is removed.
See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion
for how the garbage collector interacts with this field and enforces the foreground deletion.
Defaults to false.
To set this field, a user needs "delete" permission of the owner,
otherwise 422 (Unprocessable Entity) will be returned.
+optional | | +| controller | boolean| `bool` | | | If true, this reference points to the managing controller.
+optional | | +| kind | string| `string` | | | Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | | +| name | string| `string` | | | Name of the referent.
More info: http://kubernetes.io/docs/user-guide/identifiers#names | | | uid | [UID](#uid)| `UID` | | | | | @@ -2868,8 +2425,7 @@ More info: http://kubernetes.io/docs/user-guide/identifiers#names | | | default | [AnyString](#any-string)| `AnyString` | | | | | | description | [AnyString](#any-string)| `AnyString` | | | | | | enum | [][AnyString](#any-string)| `[]AnyString` | | | Enum holds a list of string values to choose from, for the actual value of the parameter | | -| globalName | string| `string` | | | GlobalName exports an output parameter to the global scope, making it available as -'{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters | | +| globalName | string| `string` | | | GlobalName exports an output parameter to the global scope, making it available as
'{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters | | | name | string| `string` | | | Name is the parameter name | | | value | [AnyString](#any-string)| `AnyString` | | | | | | valueFrom | [ValueFrom](#value-from)| `ValueFrom` | | | | | @@ -2905,19 +2461,14 @@ and allows a Source for provider-specific attributes | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| accessModes | [][PersistentVolumeAccessMode](#persistent-volume-access-mode)| `[]PersistentVolumeAccessMode` | | | accessModes contains the desired access modes the volume should have. -More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 -+optional | | +| accessModes | [][PersistentVolumeAccessMode](#persistent-volume-access-mode)| `[]PersistentVolumeAccessMode` | | | accessModes contains the desired access modes the volume should have.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
+optional | | | dataSource | [TypedLocalObjectReference](#typed-local-object-reference)| `TypedLocalObjectReference` | | | | | | dataSourceRef | [TypedObjectReference](#typed-object-reference)| `TypedObjectReference` | | | | | | resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | | | selector | [LabelSelector](#label-selector)| `LabelSelector` | | | | | -| storageClassName | string| `string` | | | storageClassName is the name of the StorageClass required by the claim. -More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 -+optional | | +| storageClassName | string| `string` | | | storageClassName is the name of the StorageClass required by the claim.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
+optional | | | volumeMode | [PersistentVolumeMode](#persistent-volume-mode)| `PersistentVolumeMode` | | | | | -| volumeName | string| `string` | | | volumeName is the binding reference to the PersistentVolume backing this claim. -+optional | | +| volumeName | string| `string` | | | volumeName is the binding reference to the PersistentVolume backing this claim.
+optional | | @@ -2936,99 +2487,20 @@ PersistentVolumeClaim objects as part of an EphemeralVolumeSource. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| annotations | map of string| `map[string]string` | | | Annotations is an unstructured key value map stored with a resource that may be -set by external tools to store and retrieve arbitrary metadata. They are not -queryable and should be preserved when modifying objects. -More info: http://kubernetes.io/docs/user-guide/annotations -+optional | | -| creationTimestamp | [Time](#time)| `Time` | | | | | -| deletionGracePeriodSeconds | int64 (formatted integer)| `int64` | | | Number of seconds allowed for this object to gracefully terminate before -it will be removed from the system. Only set when deletionTimestamp is also set. -May only be shortened. -Read-only. -+optional | | -| deletionTimestamp | [Time](#time)| `Time` | | | | | -| finalizers | []string| `[]string` | | | Must be empty before the object is deleted from the registry. Each entry -is an identifier for the responsible component that will remove the entry -from the list. If the deletionTimestamp of the object is non-nil, entries -in this list can only be removed. -Finalizers may be processed and removed in any order. Order is NOT enforced -because it introduces significant risk of stuck finalizers. -finalizers is a shared field, any actor with permission can reorder it. -If the finalizer list is processed in order, then this can lead to a situation -in which the component responsible for the first finalizer in the list is -waiting for a signal (field value, external system, or other) produced by a -component responsible for a finalizer later in the list, resulting in a deadlock. -Without enforced ordering finalizers are free to order amongst themselves and -are not vulnerable to ordering changes in the list. -+optional -+patchStrategy=merge | | -| generateName | string| `string` | | | GenerateName is an optional prefix, used by the server, to generate a unique -name ONLY IF the Name field has not been provided. -If this field is used, the name returned to the client will be different -than the name passed. This value will also be combined with a unique suffix. -The provided value has the same validation rules as the Name field, -and may be truncated by the length of the suffix required to make the value -unique on the server. - -If this field is specified and the generated name exists, the server will return a 409. - -Applied only if Name is not specified. -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency -+optional | | -| generation | int64 (formatted integer)| `int64` | | | A sequence number representing a specific generation of the desired state. -Populated by the system. Read-only. -+optional | | -| labels | map of string| `map[string]string` | | | Map of string keys and values that can be used to organize and categorize -(scope and select) objects. May match selectors of replication controllers -and services. -More info: http://kubernetes.io/docs/user-guide/labels -+optional | | -| managedFields | [][ManagedFieldsEntry](#managed-fields-entry)| `[]*ManagedFieldsEntry` | | | ManagedFields maps workflow-id and version to the set of fields -that are managed by that workflow. This is mostly for internal -housekeeping, and users typically shouldn't need to set or -understand this field. A workflow can be the user's name, a -controller's name, or the name of a specific apply path like -"ci-cd". The set of fields is always in the version that the -workflow used when modifying the object. - -+optional | | -| name | string| `string` | | | Name must be unique within a namespace. Is required when creating resources, although -some resources may allow a client to request the generation of an appropriate name -automatically. Name is primarily intended for creation idempotence and configuration -definition. -Cannot be updated. -More info: http://kubernetes.io/docs/user-guide/identifiers#names -+optional | | -| namespace | string| `string` | | | Namespace defines the space within which each name must be unique. An empty namespace is -equivalent to the "default" namespace, but "default" is the canonical representation. -Not all objects are required to be scoped to a namespace - the value of this field for -those objects will be empty. - -Must be a DNS_LABEL. -Cannot be updated. -More info: http://kubernetes.io/docs/user-guide/namespaces -+optional | | -| ownerReferences | [][OwnerReference](#owner-reference)| `[]*OwnerReference` | | | List of objects depended by this object. If ALL objects in the list have -been deleted, this object will be garbage collected. If this object is managed by a controller, -then an entry in this list will point to this controller, with the controller field set to true. -There cannot be more than one managing controller. -+optional -+patchMergeKey=uid -+patchStrategy=merge | | -| resourceVersion | string| `string` | | | An opaque value that represents the internal version of this object that can -be used by clients to determine when objects have changed. May be used for optimistic -concurrency, change detection, and the watch operation on a resource or set of resources. -Clients must treat these values as opaque and passed unmodified back to the server. -They may only be valid for a particular resource or set of resources. - -Populated by the system. -Read-only. -Value must be treated as opaque by clients and . -More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency -+optional | | -| selfLink | string| `string` | | | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. -+optional | | +| annotations | map of string| `map[string]string` | | | Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.
More info: http://kubernetes.io/docs/user-guide/annotations
+optional | | +| creationTimestamp | string| `string` | | | CreationTimestamp is a timestamp representing the server time when this object was
created. It is not guaranteed to be set in happens-before order across separate operations.
Clients may not set this value. It is represented in RFC3339 form and is in UTC.

Populated by the system.
Read-only.
Null for lists.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional | | +| deletionGracePeriodSeconds | int64 (formatted integer)| `int64` | | | Number of seconds allowed for this object to gracefully terminate before
it will be removed from the system. Only set when deletionTimestamp is also set.
May only be shortened.
Read-only.
+optional | | +| deletionTimestamp | string| `string` | | | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
field is set by the server when a graceful deletion is requested by the user, and is not
directly settable by a client. The resource is expected to be deleted (no longer visible
from resource lists, and not reachable by name) after the time in this field, once the
finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
Once the deletionTimestamp is set, this value may not be unset or be set further into the
future, although it may be shortened or the resource may be deleted prior to this time.
For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
remove the pod from the API. In the presence of network partitions, this object may still
exist after this timestamp, until an administrator or automated process can determine the
resource is fully terminated.
If not set, graceful deletion of the object has not been requested.

Populated by the system when a graceful deletion is requested.
Read-only.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+optional | | +| finalizers | []string| `[]string` | | | Must be empty before the object is deleted from the registry. Each entry
is an identifier for the responsible component that will remove the entry
from the list. If the deletionTimestamp of the object is non-nil, entries
in this list can only be removed.
Finalizers may be processed and removed in any order. Order is NOT enforced
because it introduces significant risk of stuck finalizers.
finalizers is a shared field, any actor with permission can reorder it.
If the finalizer list is processed in order, then this can lead to a situation
in which the component responsible for the first finalizer in the list is
waiting for a signal (field value, external system, or other) produced by a
component responsible for a finalizer later in the list, resulting in a deadlock.
Without enforced ordering finalizers are free to order amongst themselves and
are not vulnerable to ordering changes in the list.
+optional
+patchStrategy=merge | | +| generateName | string| `string` | | | GenerateName is an optional prefix, used by the server, to generate a unique
name ONLY IF the Name field has not been provided.
If this field is used, the name returned to the client will be different
than the name passed. This value will also be combined with a unique suffix.
The provided value has the same validation rules as the Name field,
and may be truncated by the length of the suffix required to make the value
unique on the server.

If this field is specified and the generated name exists, the server will return a 409.

Applied only if Name is not specified.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
+optional | | +| generation | int64 (formatted integer)| `int64` | | | A sequence number representing a specific generation of the desired state.
Populated by the system. Read-only.
+optional | | +| labels | map of string| `map[string]string` | | | Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.
More info: http://kubernetes.io/docs/user-guide/labels
+optional | | +| managedFields | [][ManagedFieldsEntry](#managed-fields-entry)| `[]*ManagedFieldsEntry` | | | ManagedFields maps workflow-id and version to the set of fields
that are managed by that workflow. This is mostly for internal
housekeeping, and users typically shouldn't need to set or
understand this field. A workflow can be the user's name, a
controller's name, or the name of a specific apply path like
"ci-cd". The set of fields is always in the version that the
workflow used when modifying the object.

+optional | | +| name | string| `string` | | | Name must be unique within a namespace. Is required when creating resources, although
some resources may allow a client to request the generation of an appropriate name
automatically. Name is primarily intended for creation idempotence and configuration
definition.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/identifiers#names
+optional | | +| namespace | string| `string` | | | Namespace defines the space within which each name must be unique. An empty namespace is
equivalent to the "default" namespace, but "default" is the canonical representation.
Not all objects are required to be scoped to a namespace - the value of this field for
those objects will be empty.

Must be a DNS_LABEL.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces
+optional | | +| ownerReferences | [][OwnerReference](#owner-reference)| `[]*OwnerReference` | | | List of objects depended by this object. If ALL objects in the list have
been deleted, this object will be garbage collected. If this object is managed by a controller,
then an entry in this list will point to this controller, with the controller field set to true.
There cannot be more than one managing controller.
+optional
+patchMergeKey=uid
+patchStrategy=merge | | +| resourceVersion | string| `string` | | | An opaque value that represents the internal version of this object that can
be used by clients to determine when objects have changed. May be used for optimistic
concurrency, change detection, and the watch operation on a resource or set of resources.
Clients must treat these values as opaque and passed unmodified back to the server.
They may only be valid for a particular resource or set of resources.

Populated by the system.
Read-only.
Value must be treated as opaque by clients and .
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
+optional | | +| selfLink | string| `string` | | | Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
+optional | | | spec | [PersistentVolumeClaimSpec](#persistent-volume-claim-spec)| `PersistentVolumeClaimSpec` | | | | | | uid | [UID](#uid)| `UID` | | | | | @@ -3050,11 +2522,8 @@ type of volume that is owned by someone else (the system). | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| claimName | string| `string` | | | claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. -More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | | -| readOnly | boolean| `bool` | | | readOnly Will force the ReadOnly setting in VolumeMounts. -Default false. -+optional | | +| claimName | string| `string` | | | claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.
More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims | | +| readOnly | boolean| `bool` | | | readOnly Will force the ReadOnly setting in VolumeMounts.
Default false.
+optional | | @@ -3083,9 +2552,7 @@ Default false. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. | | | pdID | string| `string` | | | pdID is the ID that identifies Photon Controller persistent disk | | @@ -3111,24 +2578,8 @@ Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| preferredDuringSchedulingIgnoredDuringExecution | [][WeightedPodAffinityTerm](#weighted-pod-affinity-term)| `[]*WeightedPodAffinityTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy -the affinity expressions specified by this field, but it may choose -a node that violates one or more of the expressions. The node that is -most preferred is the one with the greatest sum of weights, i.e. -for each node that meets all of the scheduling requirements (resource -request, requiredDuringScheduling affinity expressions, etc.), -compute a sum by iterating through the elements of this field and adding -"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the -node(s) with the highest sum are the most preferred. -+optional | | -| requiredDuringSchedulingIgnoredDuringExecution | [][PodAffinityTerm](#pod-affinity-term)| `[]*PodAffinityTerm` | | | If the affinity requirements specified by this field are not met at -scheduling time, the pod will not be scheduled onto the node. -If the affinity requirements specified by this field cease to be met -at some point during pod execution (e.g. due to a pod label update), the -system may or may not try to eventually evict the pod from its node. -When there are multiple elements, the lists of nodes corresponding to each -podAffinityTerm are intersected, i.e. all terms must be satisfied. -+optional | | +| preferredDuringSchedulingIgnoredDuringExecution | [][WeightedPodAffinityTerm](#weighted-pod-affinity-term)| `[]*WeightedPodAffinityTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
+optional | | +| requiredDuringSchedulingIgnoredDuringExecution | [][PodAffinityTerm](#pod-affinity-term)| `[]*PodAffinityTerm` | | | If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
If the affinity requirements specified by this field cease to be met
at some point during pod execution (e.g. due to a pod label update), the
system may or may not try to eventually evict the pod from its node.
When there are multiple elements, the lists of nodes corresponding to each
podAffinityTerm are intersected, i.e. all terms must be satisfied.
+optional | | @@ -3153,16 +2604,8 @@ a pod of the set of pods is running |------|------|---------|:--------:| ------- |-------------|---------| | labelSelector | [LabelSelector](#label-selector)| `LabelSelector` | | | | | | namespaceSelector | [LabelSelector](#label-selector)| `LabelSelector` | | | | | -| namespaces | []string| `[]string` | | | namespaces specifies a static list of namespace names that the term applies to. -The term is applied to the union of the namespaces listed in this field -and the ones selected by namespaceSelector. -null or empty namespaces list and null namespaceSelector means "this pod's namespace". -+optional | | -| topologyKey | string| `string` | | | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching -the labelSelector in the specified namespaces, where co-located is defined as running on a node -whose value of the label with key topologyKey matches that of any node on which any of the -selected pods is running. -Empty topologyKey is not allowed. | | +| namespaces | []string| `[]string` | | | namespaces specifies a static list of namespace names that the term applies to.
The term is applied to the union of the namespaces listed in this field
and the ones selected by namespaceSelector.
null or empty namespaces list and null namespaceSelector means "this pod's namespace".
+optional | | +| topologyKey | string| `string` | | | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where co-located is defined as running on a node
whose value of the label with key topologyKey matches that of any node on which any of the
selected pods is running.
Empty topologyKey is not allowed. | | @@ -3177,24 +2620,8 @@ Empty topologyKey is not allowed. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| preferredDuringSchedulingIgnoredDuringExecution | [][WeightedPodAffinityTerm](#weighted-pod-affinity-term)| `[]*WeightedPodAffinityTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy -the anti-affinity expressions specified by this field, but it may choose -a node that violates one or more of the expressions. The node that is -most preferred is the one with the greatest sum of weights, i.e. -for each node that meets all of the scheduling requirements (resource -request, requiredDuringScheduling anti-affinity expressions, etc.), -compute a sum by iterating through the elements of this field and adding -"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the -node(s) with the highest sum are the most preferred. -+optional | | -| requiredDuringSchedulingIgnoredDuringExecution | [][PodAffinityTerm](#pod-affinity-term)| `[]*PodAffinityTerm` | | | If the anti-affinity requirements specified by this field are not met at -scheduling time, the pod will not be scheduled onto the node. -If the anti-affinity requirements specified by this field cease to be met -at some point during pod execution (e.g. due to a pod label update), the -system may or may not try to eventually evict the pod from its node. -When there are multiple elements, the lists of nodes corresponding to each -podAffinityTerm are intersected, i.e. all terms must be satisfied. -+optional | | +| preferredDuringSchedulingIgnoredDuringExecution | [][WeightedPodAffinityTerm](#weighted-pod-affinity-term)| `[]*WeightedPodAffinityTerm` | | | The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions. The node that is
most preferred is the one with the greatest sum of weights, i.e.
for each node that meets all of the scheduling requirements (resource
request, requiredDuringScheduling anti-affinity expressions, etc.),
compute a sum by iterating through the elements of this field and adding
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
node(s) with the highest sum are the most preferred.
+optional | | +| requiredDuringSchedulingIgnoredDuringExecution | [][PodAffinityTerm](#pod-affinity-term)| `[]*PodAffinityTerm` | | | If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
If the anti-affinity requirements specified by this field cease to be met
at some point during pod execution (e.g. due to a pod label update), the
system may or may not try to eventually evict the pod from its node.
When there are multiple elements, the lists of nodes corresponding to each
podAffinityTerm are intersected, i.e. all terms must be satisfied.
+optional | | @@ -3210,9 +2637,7 @@ when volume is mounted. | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| PodFSGroupChangePolicy | string| string | | PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume -when volume is mounted. -+enum | | +| PodFSGroupChangePolicy | string| string | | PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume
when volume is mounted.
+enum | | @@ -3231,53 +2656,15 @@ container.securityContext take precedence over field values of PodSecurityContex | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsGroup | int64 (formatted integer)| `int64` | | | A special supplemental group that applies to all containers in a pod. -Some volume types allow the Kubelet to change the ownership of that volume -to be owned by the pod: - -1. The owning GID will be the FSGroup -2. The setgid bit is set (new files created in the volume will be owned by FSGroup) -3. The permission bits are OR'd with rw-rw---- - -If unset, the Kubelet will not modify the ownership and permissions of any volume. -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| fsGroup | int64 (formatted integer)| `int64` | | | A special supplemental group that applies to all containers in a pod.
Some volume types allow the Kubelet to change the ownership of that volume
to be owned by the pod:

1. The owning GID will be the FSGroup
2. The setgid bit is set (new files created in the volume will be owned by FSGroup)
3. The permission bits are OR'd with rw-rw----

If unset, the Kubelet will not modify the ownership and permissions of any volume.
Note that this field cannot be set when spec.os.name is windows.
+optional | | | fsGroupChangePolicy | [PodFSGroupChangePolicy](#pod-f-s-group-change-policy)| `PodFSGroupChangePolicy` | | | | | -| runAsGroup | int64 (formatted integer)| `int64` | | | The GID to run the entrypoint of the container process. -Uses runtime default if unset. -May also be set in SecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence -for that container. -Note that this field cannot be set when spec.os.name is windows. -+optional | | -| runAsNonRoot | boolean| `bool` | | | Indicates that the container must run as a non-root user. -If true, the Kubelet will validate the image at runtime to ensure that it -does not run as UID 0 (root) and fail to start the container if it does. -If unset or false, no such validation will be performed. -May also be set in SecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence. -+optional | | -| runAsUser | int64 (formatted integer)| `int64` | | | The UID to run the entrypoint of the container process. -Defaults to user specified in image metadata if unspecified. -May also be set in SecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence -for that container. -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| runAsGroup | int64 (formatted integer)| `int64` | | | The GID to run the entrypoint of the container process.
Uses runtime default if unset.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence
for that container.
Note that this field cannot be set when spec.os.name is windows.
+optional | | +| runAsNonRoot | boolean| `bool` | | | Indicates that the container must run as a non-root user.
If true, the Kubelet will validate the image at runtime to ensure that it
does not run as UID 0 (root) and fail to start the container if it does.
If unset or false, no such validation will be performed.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
+optional | | +| runAsUser | int64 (formatted integer)| `int64` | | | The UID to run the entrypoint of the container process.
Defaults to user specified in image metadata if unspecified.
May also be set in SecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence
for that container.
Note that this field cannot be set when spec.os.name is windows.
+optional | | | seLinuxOptions | [SELinuxOptions](#s-e-linux-options)| `SELinuxOptions` | | | | | | seccompProfile | [SeccompProfile](#seccomp-profile)| `SeccompProfile` | | | | | -| supplementalGroups | []int64 (formatted integer)| `[]int64` | | | A list of groups applied to the first process run in each container, in addition -to the container's primary GID, the fsGroup (if specified), and group memberships -defined in the container image for the uid of the container process. If unspecified, -no additional groups are added to any container. Note that group memberships -defined in the container image for the uid of the container process are still effective, -even if they are not included in this list. -Note that this field cannot be set when spec.os.name is windows. -+optional | | -| sysctls | [][Sysctl](#sysctl)| `[]*Sysctl` | | | Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported -sysctls (by the container runtime) might fail to launch. -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| supplementalGroups | []int64 (formatted integer)| `[]int64` | | | A list of groups applied to the first process run in each container, in addition
to the container's primary GID, the fsGroup (if specified), and group memberships
defined in the container image for the uid of the container process. If unspecified,
no additional groups are added to any container. Note that group memberships
defined in the container image for the uid of the container process are still effective,
even if they are not included in this list.
Note that this field cannot be set when spec.os.name is windows.
+optional | | +| sysctls | [][Sysctl](#sysctl)| `[]*Sysctl` | | | Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported
sysctls (by the container runtime) might fail to launch.
Note that this field cannot be set when spec.os.name is windows.
+optional | | | windowsOptions | [WindowsSecurityContextOptions](#windows-security-context-options)| `WindowsSecurityContextOptions` | | | | | @@ -3293,12 +2680,8 @@ Note that this field cannot be set when spec.os.name is windows. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fSType represents the filesystem type to mount -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. | | -| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| fsType | string| `string` | | | fSType represents the filesystem type to mount
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. | | +| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | | volumeID | string| `string` | | | volumeID uniquely identifies a Portworx volume | | @@ -3339,36 +2722,15 @@ alive or ready to receive traffic. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | exec | [ExecAction](#exec-action)| `ExecAction` | | | | | -| failureThreshold | int32 (formatted integer)| `int32` | | | Minimum consecutive failures for the probe to be considered failed after having succeeded. -Defaults to 3. Minimum value is 1. -+optional | | +| failureThreshold | int32 (formatted integer)| `int32` | | | Minimum consecutive failures for the probe to be considered failed after having succeeded.
Defaults to 3. Minimum value is 1.
+optional | | | grpc | [GRPCAction](#g-rpc-action)| `GRPCAction` | | | | | | httpGet | [HTTPGetAction](#http-get-action)| `HTTPGetAction` | | | | | -| initialDelaySeconds | int32 (formatted integer)| `int32` | | | Number of seconds after the container has started before liveness probes are initiated. -More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -+optional | | -| periodSeconds | int32 (formatted integer)| `int32` | | | How often (in seconds) to perform the probe. -Default to 10 seconds. Minimum value is 1. -+optional | | -| successThreshold | int32 (formatted integer)| `int32` | | | Minimum consecutive successes for the probe to be considered successful after having failed. -Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. -+optional | | +| initialDelaySeconds | int32 (formatted integer)| `int32` | | | Number of seconds after the container has started before liveness probes are initiated.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
+optional | | +| periodSeconds | int32 (formatted integer)| `int32` | | | How often (in seconds) to perform the probe.
Default to 10 seconds. Minimum value is 1.
+optional | | +| successThreshold | int32 (formatted integer)| `int32` | | | Minimum consecutive successes for the probe to be considered successful after having failed.
Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
+optional | | | tcpSocket | [TCPSocketAction](#tcp-socket-action)| `TCPSocketAction` | | | | | -| terminationGracePeriodSeconds | int64 (formatted integer)| `int64` | | | Optional duration in seconds the pod needs to terminate gracefully upon probe failure. -The grace period is the duration in seconds after the processes running in the pod are sent -a termination signal and the time when the processes are forcibly halted with a kill signal. -Set this value longer than the expected cleanup time for your process. -If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this -value overrides the value provided by the pod spec. -Value must be non-negative integer. The value zero indicates stop immediately via -the kill signal (no opportunity to shut down). -This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. -Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. -+optional | | -| timeoutSeconds | int32 (formatted integer)| `int32` | | | Number of seconds after which the probe times out. -Defaults to 1 second. Minimum value is 1. -More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes -+optional | | +| terminationGracePeriodSeconds | int64 (formatted integer)| `int64` | | | Optional duration in seconds the pod needs to terminate gracefully upon probe failure.
The grace period is the duration in seconds after the processes running in the pod are sent
a termination signal and the time when the processes are forcibly halted with a kill signal.
Set this value longer than the expected cleanup time for your process.
If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this
value overrides the value provided by the pod spec.
Value must be non-negative integer. The value zero indicates stop immediately via
the kill signal (no opportunity to shut down).
This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate.
Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.
+optional | | +| timeoutSeconds | int32 (formatted integer)| `int32` | | | Number of seconds after which the probe times out.
Defaults to 1 second. Minimum value is 1.
More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
+optional | | @@ -3411,15 +2773,8 @@ More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#cont | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode are the mode bits used to set permissions on created files by default. -Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. -Directories within the path are not affected by this setting. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | -| sources | [][VolumeProjection](#volume-projection)| `[]*VolumeProjection` | | | sources is the list of volume projections -+optional | | +| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode are the mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values for mode bits.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | +| sources | [][VolumeProjection](#volume-projection)| `[]*VolumeProjection` | | | sources is the list of volume projections
+optional | | @@ -3472,8 +2827,7 @@ mode, like fsGroup, and the result can be other mode bits set. | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| PullPolicy | string| string | | PullPolicy describes a policy for if/when to pull a container image -+enum | | +| PullPolicy | string| string | | PullPolicy describes a policy for if/when to pull a container image
+enum | | @@ -3565,21 +2919,11 @@ cause implementors to also use a fixed point implementation. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| group | string| `string` | | | group to map volume access to -Default is no group -+optional | | -| readOnly | boolean| `bool` | | | readOnly here will force the Quobyte volume to be mounted with read-only permissions. -Defaults to false. -+optional | | -| registry | string| `string` | | | registry represents a single or multiple Quobyte Registry services -specified as a string as host:port pair (multiple entries are separated with commas) -which acts as the central registry for volumes | | -| tenant | string| `string` | | | tenant owning the given Quobyte volume in the Backend -Used with dynamically provisioned Quobyte volumes, value is set by the plugin -+optional | | -| user | string| `string` | | | user to map volume access to -Defaults to serivceaccount user -+optional | | +| group | string| `string` | | | group to map volume access to
Default is no group
+optional | | +| readOnly | boolean| `bool` | | | readOnly here will force the Quobyte volume to be mounted with read-only permissions.
Defaults to false.
+optional | | +| registry | string| `string` | | | registry represents a single or multiple Quobyte Registry services
specified as a string as host:port pair (multiple entries are separated with commas)
which acts as the central registry for volumes | | +| tenant | string| `string` | | | tenant owning the given Quobyte volume in the Backend
Used with dynamically provisioned Quobyte volumes, value is set by the plugin
+optional | | +| user | string| `string` | | | user to map volume access to
Defaults to serivceaccount user
+optional | | | volume | string| `string` | | | volume is a string that references an already created Quobyte volume by name. | | @@ -3598,33 +2942,14 @@ Defaults to serivceaccount user | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount. -Tip: Ensure that the filesystem type is supported by the host operating system. -Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd -TODO: how do we prevent errors in the filesystem from compromising the machine -+optional | | -| image | string| `string` | | | image is the rados image name. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it | | -| keyring | string| `string` | | | keyring is the path to key ring for RBDUser. -Default is /etc/ceph/keyring. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -+optional | | -| monitors | []string| `[]string` | | | monitors is a collection of Ceph monitors. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it | | -| pool | string| `string` | | | pool is the rados pool name. -Default is rbd. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -+optional | | -| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts. -Defaults to false. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type of the volume that you want to mount.
Tip: Ensure that the filesystem type is supported by the host operating system.
Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd
TODO: how do we prevent errors in the filesystem from compromising the machine
+optional | | +| image | string| `string` | | | image is the rados image name.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it | | +| keyring | string| `string` | | | keyring is the path to key ring for RBDUser.
Default is /etc/ceph/keyring.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+optional | | +| monitors | []string| `[]string` | | | monitors is a collection of Ceph monitors.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it | | +| pool | string| `string` | | | pool is the rados pool name.
Default is rbd.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+optional | | +| readOnly | boolean| `bool` | | | readOnly here will force the ReadOnly setting in VolumeMounts.
Defaults to false.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| user | string| `string` | | | user is the rados user name. -Default is admin. -More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it -+optional | | +| user | string| `string` | | | user is the rados user name.
Default is admin.
More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+optional | | @@ -3657,9 +2982,7 @@ More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| name | string| `string` | | | Name must match the name of one entry in pod.spec.resourceClaims of -the Pod where this field is used. It makes that resource available -inside a container. | | +| name | string| `string` | | | Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container. | | @@ -3678,8 +3001,7 @@ inside a container. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| containerName | string| `string` | | | Container name: required for volumes, optional for env vars -+optional | | +| containerName | string| `string` | | | Container name: required for volumes, optional for env vars
+optional | | | divisor | [Quantity](#quantity)| `Quantity` | | | | | | resource | string| `string` | | | Required: resource to select | | @@ -3703,18 +3025,7 @@ inside a container. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| claims | [][ResourceClaim](#resource-claim)| `[]*ResourceClaim` | | | Claims lists the names of resources, defined in spec.resourceClaims, -that are used by this container. - -This is an alpha field and requires enabling the -DynamicResourceAllocation feature gate. - -This field is immutable. It can only be set for containers. - -+listType=map -+listMapKey=name -+featureGate=DynamicResourceAllocation -+optional | | +| claims | [][ResourceClaim](#resource-claim)| `[]*ResourceClaim` | | | Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.

This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.

This field is immutable. It can only be set for containers.

+listType=map
+listMapKey=name
+featureGate=DynamicResourceAllocation
+optional | | | limits | [ResourceList](#resource-list)| `ResourceList` | | | | | | requests | [ResourceList](#resource-list)| `ResourceList` | | | | | @@ -3734,22 +3045,14 @@ This field is immutable. It can only be set for containers. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| action | string| `string` | | | Action is the action to perform to the resource. -Must be one of: get, create, apply, delete, replace, patch | | -| failureCondition | string| `string` | | | FailureCondition is a label selector expression which describes the conditions -of the k8s resource in which the step was considered failed | | -| flags | []string| `[]string` | | | Flags is a set of additional options passed to kubectl before submitting a resource -I.e. to disable resource validation: -flags: [ -"--validate=false" # disable resource validation -] | | +| action | string| `string` | | | Action is the action to perform to the resource.
Must be one of: get, create, apply, delete, replace, patch | | +| failureCondition | string| `string` | | | FailureCondition is a label selector expression which describes the conditions
of the k8s resource in which the step was considered failed | | +| flags | []string| `[]string` | | | Flags is a set of additional options passed to kubectl before submitting a resource
I.e. to disable resource validation:
flags: [
"--validate=false" # disable resource validation
] | | | manifest | string| `string` | | | Manifest contains the kubernetes manifest | | | manifestFrom | [ManifestFrom](#manifest-from)| `ManifestFrom` | | | | | -| mergeStrategy | string| `string` | | | MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" -Must be one of: strategic, merge, json | | +| mergeStrategy | string| `string` | | | MergeStrategy is the strategy used to merge a patch. It defaults to "strategic"
Must be one of: strategic, merge, json | | | setOwnerReference | boolean| `bool` | | | SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. | | -| successCondition | string| `string` | | | SuccessCondition is a label selector expression which describes the conditions -of the k8s resource in which it is acceptable to proceed to the following step | | +| successCondition | string| `string` | | | SuccessCondition is a label selector expression which describes the conditions
of the k8s resource in which it is acceptable to proceed to the following step | | @@ -3805,8 +3108,7 @@ of the k8s resource in which it is acceptable to proceed to the following step | |------|------|---------|:--------:| ------- |-------------|---------| | affinity | [RetryAffinity](#retry-affinity)| `RetryAffinity` | | | | | | backoff | [Backoff](#backoff)| `Backoff` | | | | | -| expression | string| `string` | | | Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not -be retried and the retry strategy will be ignored | | +| expression | string| `string` | | | Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not
be retried and the retry strategy will be ignored | | | limit | [IntOrString](#int-or-string)| `IntOrString` | | | | | | retryPolicy | [RetryPolicy](#retry-policy)| `RetryPolicy` | | | | | @@ -3876,14 +3178,10 @@ be retried and the retry strategy will be ignored | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| level | string| `string` | | | Level is SELinux level label that applies to the container. -+optional | | -| role | string| `string` | | | Role is a SELinux role label that applies to the container. -+optional | | -| type | string| `string` | | | Type is a SELinux type label that applies to the container. -+optional | | -| user | string| `string` | | | User is a SELinux user label that applies to the container. -+optional | | +| level | string| `string` | | | Level is SELinux level label that applies to the container.
+optional | | +| role | string| `string` | | | Role is a SELinux role label that applies to the container.
+optional | | +| type | string| `string` | | | Type is a SELinux type label that applies to the container.
+optional | | +| user | string| `string` | | | User is a SELinux user label that applies to the container.
+optional | | @@ -3901,28 +3199,16 @@ be retried and the retry strategy will be ignored | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". -Default is "xfs". -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs".
Default is "xfs".
+optional | | | gateway | string| `string` | | | gateway is the host address of the ScaleIO API Gateway. | | -| protectionDomain | string| `string` | | | protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. -+optional | | -| readOnly | boolean| `bool` | | | readOnly Defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| protectionDomain | string| `string` | | | protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
+optional | | +| readOnly | boolean| `bool` | | | readOnly Defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| sslEnabled | boolean| `bool` | | | sslEnabled Flag enable/disable SSL communication with Gateway, default false -+optional | | -| storageMode | string| `string` | | | storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. -Default is ThinProvisioned. -+optional | | -| storagePool | string| `string` | | | storagePool is the ScaleIO Storage Pool associated with the protection domain. -+optional | | +| sslEnabled | boolean| `bool` | | | sslEnabled Flag enable/disable SSL communication with Gateway, default false
+optional | | +| storageMode | string| `string` | | | storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
Default is ThinProvisioned.
+optional | | +| storagePool | string| `string` | | | storagePool is the ScaleIO Storage Pool associated with the protection domain.
+optional | | | system | string| `string` | | | system is the name of the storage system as configured in ScaleIO. | | -| volumeName | string| `string` | | | volumeName is the name of a volume already created in the ScaleIO system -that is associated with this volume source. | | +| volumeName | string| `string` | | | volumeName is the name of a volume already created in the ScaleIO system
that is associated with this volume source. | | @@ -3940,103 +3226,29 @@ that is associated with this volume source. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| args | []string| `[]string` | | | Arguments to the entrypoint. -The container image's CMD is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell. -The container image's ENTRYPOINT is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container. -Cannot be updated. -+optional -+patchMergeKey=name -+patchStrategy=merge | | -| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container. -The keys defined within a source must be a C_IDENTIFIER. All invalid keys -will be reported as an event when the container is starting. When a key exists in multiple -sources, the value associated with the last source will take precedence. -Values defined by an Env with a duplicate key will take precedence. -Cannot be updated. -+optional | | -| image | string| `string` | | | Container image name. -More info: https://kubernetes.io/docs/concepts/containers/images -This field is optional to allow higher level config management to default or override -container images in workload controllers like Deployments and StatefulSets. -+optional | | +| args | []string| `[]string` | | | Arguments to the entrypoint.
The container image's CMD is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell.
The container image's ENTRYPOINT is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container.
Cannot be updated.
+optional
+patchMergeKey=name
+patchStrategy=merge | | +| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container.
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key exists in multiple
sources, the value associated with the last source will take precedence.
Values defined by an Env with a duplicate key will take precedence.
Cannot be updated.
+optional | | +| image | string| `string` | | | Container image name.
More info: https://kubernetes.io/docs/concepts/containers/images
This field is optional to allow higher level config management to default or override
container images in workload controllers like Deployments and StatefulSets.
+optional | | | imagePullPolicy | [PullPolicy](#pull-policy)| `PullPolicy` | | | | | | lifecycle | [Lifecycle](#lifecycle)| `Lifecycle` | | | | | | livenessProbe | [Probe](#probe)| `Probe` | | | | | -| name | string| `string` | | | Name of the container specified as a DNS_LABEL. -Each container in a pod must have a unique name (DNS_LABEL). -Cannot be updated. | | -| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here -DOES NOT prevent that port from being exposed. Any port which is -listening on the default "0.0.0.0" address inside a container will be -accessible from the network. -Modifying this array with strategic merge patch may corrupt the data. -For more information See https://github.com/kubernetes/kubernetes/issues/108255. -Cannot be updated. -+optional -+patchMergeKey=containerPort -+patchStrategy=merge -+listType=map -+listMapKey=containerPort -+listMapKey=protocol | | +| name | string| `string` | | | Name of the container specified as a DNS_LABEL.
Each container in a pod must have a unique name (DNS_LABEL).
Cannot be updated. | | +| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here
DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network.
Modifying this array with strategic merge patch may corrupt the data.
For more information See https://github.com/kubernetes/kubernetes/issues/108255.
Cannot be updated.
+optional
+patchMergeKey=containerPort
+patchStrategy=merge
+listType=map
+listMapKey=containerPort
+listMapKey=protocol | | | readinessProbe | [Probe](#probe)| `Probe` | | | | | | resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | | | securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | | | source | string| `string` | | | Source contains the source code of the script to execute | | | startupProbe | [Probe](#probe)| `Probe` | | | | | -| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this -is not set, reads from stdin in the container will always result in EOF. -Default is false. -+optional | | -| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by -a single attach. When stdin is true the stdin stream will remain open across multiple attach -sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the -first client attaches to stdin, and then remains open and accepts data until the client disconnects, -at which time stdin is closed and remains closed until the container is restarted. If this -flag is false, a container processes that reads from stdin will never receive an EOF. -Default is false -+optional | | -| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message -will be written is mounted into the container's filesystem. -Message written is intended to be brief final status, such as an assertion failure message. -Will be truncated by the node if greater than 4096 bytes. The total message length across -all containers will be limited to 12kb. -Defaults to /dev/termination-log. -Cannot be updated. -+optional | | +| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this
is not set, reads from stdin in the container will always result in EOF.
Default is false.
+optional | | +| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by
a single attach. When stdin is true the stdin stream will remain open across multiple attach
sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
first client attaches to stdin, and then remains open and accepts data until the client disconnects,
at which time stdin is closed and remains closed until the container is restarted. If this
flag is false, a container processes that reads from stdin will never receive an EOF.
Default is false
+optional | | +| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an assertion failure message.
Will be truncated by the node if greater than 4096 bytes. The total message length across
all containers will be limited to 12kb.
Defaults to /dev/termination-log.
Cannot be updated.
+optional | | | terminationMessagePolicy | [TerminationMessagePolicy](#termination-message-policy)| `TerminationMessagePolicy` | | | | | -| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. -Default is false. -+optional | | -| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container. -+patchMergeKey=devicePath -+patchStrategy=merge -+optional | | -| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem. -Cannot be updated. -+optional -+patchMergeKey=mountPath -+patchStrategy=merge | | -| workingDir | string| `string` | | | Container's working directory. -If not specified, the container runtime's default will be used, which -might be configured in the container image. -Cannot be updated. -+optional | | +| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
Default is false.
+optional | | +| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container.
+patchMergeKey=devicePath
+patchStrategy=merge
+optional | | +| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem.
Cannot be updated.
+optional
+patchMergeKey=mountPath
+patchStrategy=merge | | +| workingDir | string| `string` | | | Container's working directory.
If not specified, the container runtime's default will be used, which
might be configured in the container image.
Cannot be updated.
+optional | | @@ -4055,11 +3267,7 @@ Cannot be updated. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| localhostProfile | string| `string` | | | localhostProfile indicates a profile defined in a file on the node should be used. -The profile must be preconfigured on the node to work. -Must be a descending path, relative to the kubelet's configured seccomp profile location. -Must only be set if type is "Localhost". -+optional | | +| localhostProfile | string| `string` | | | localhostProfile indicates a profile defined in a file on the node should be used.
The profile must be preconfigured on the node to work.
Must be a descending path, relative to the kubelet's configured seccomp profile location.
Must only be set if type is "Localhost".
+optional | | | type | [SeccompProfileType](#seccomp-profile-type)| `SeccompProfileType` | | | | | @@ -4093,12 +3301,8 @@ key-value pairs as environment variables. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | Specify whether the Secret must be defined -+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | Specify whether the Secret must be defined
+optional | | @@ -4117,12 +3321,8 @@ TODO: Add other useful fields. apiVersion, kind, uid? | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | key | string| `string` | | | The key of the secret to select from. Must be a valid secret key. | | -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | Specify whether the Secret or its key must be defined -+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | Specify whether the Secret or its key must be defined
+optional | | @@ -4143,20 +3343,9 @@ mode. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced -Secret will be projected into the volume as a file whose name is the -key and content is the value. If specified, the listed keys will be -projected into the specified paths, and unlisted keys will not be -present. If a key is specified which is not present in the Secret, -the volume setup will error unless it is marked optional. Paths must be -relative and may not contain the '..' path or start with '..'. -+optional | | -| name | string| `string` | | | Name of the referent. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names -TODO: Add other useful fields. apiVersion, kind, uid? -+optional | | -| optional | boolean| `bool` | | | optional field specify whether the Secret or its key must be defined -+optional | | +| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items if unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
+optional | | +| name | string| `string` | | | Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
+optional | | +| optional | boolean| `bool` | | | optional field specify whether the Secret or its key must be defined
+optional | | @@ -4176,27 +3365,10 @@ Secret volumes support ownership management and SELinux relabeling. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode is Optional: mode bits used to set permissions on created files by default. -Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. -YAML accepts both octal and decimal values, JSON requires decimal values -for mode bits. Defaults to 0644. -Directories within the path are not affected by this setting. -This might be in conflict with other options that affect the file -mode, like fsGroup, and the result can be other mode bits set. -+optional | | -| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items If unspecified, each key-value pair in the Data field of the referenced -Secret will be projected into the volume as a file whose name is the -key and content is the value. If specified, the listed keys will be -projected into the specified paths, and unlisted keys will not be -present. If a key is specified which is not present in the Secret, -the volume setup will error unless it is marked optional. Paths must be -relative and may not contain the '..' path or start with '..'. -+optional | | -| optional | boolean| `bool` | | | optional field specify whether the Secret or its keys must be defined -+optional | | -| secretName | string| `string` | | | secretName is the name of the secret in the pod's namespace to use. -More info: https://kubernetes.io/docs/concepts/storage/volumes#secret -+optional | | +| defaultMode | int32 (formatted integer)| `int32` | | | defaultMode is Optional: mode bits used to set permissions on created files by default.
Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
YAML accepts both octal and decimal values, JSON requires decimal values
for mode bits. Defaults to 0644.
Directories within the path are not affected by this setting.
This might be in conflict with other options that affect the file
mode, like fsGroup, and the result can be other mode bits set.
+optional | | +| items | [][KeyToPath](#key-to-path)| `[]*KeyToPath` | | | items If unspecified, each key-value pair in the Data field of the referenced
Secret will be projected into the volume as a file whose name is the
key and content is the value. If specified, the listed keys will be
projected into the specified paths, and unlisted keys will not be
present. If a key is specified which is not present in the Secret,
the volume setup will error unless it is marked optional. Paths must be
relative and may not contain the '..' path or start with '..'.
+optional | | +| optional | boolean| `bool` | | | optional field specify whether the Secret or its keys must be defined
+optional | | +| secretName | string| `string` | | | secretName is the name of the secret in the pod's namespace to use.
More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
+optional | | @@ -4215,44 +3387,14 @@ are set, the values in SecurityContext take precedence. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| allowPrivilegeEscalation | boolean| `bool` | | | AllowPrivilegeEscalation controls whether a process can gain more -privileges than its parent process. This bool directly controls if -the no_new_privs flag will be set on the container process. -AllowPrivilegeEscalation is true always when the container is: -1) run as Privileged -2) has CAP_SYS_ADMIN -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| allowPrivilegeEscalation | boolean| `bool` | | | AllowPrivilegeEscalation controls whether a process can gain more
privileges than its parent process. This bool directly controls if
the no_new_privs flag will be set on the container process.
AllowPrivilegeEscalation is true always when the container is:
1) run as Privileged
2) has CAP_SYS_ADMIN
Note that this field cannot be set when spec.os.name is windows.
+optional | | | capabilities | [Capabilities](#capabilities)| `Capabilities` | | | | | -| privileged | boolean| `bool` | | | Run container in privileged mode. -Processes in privileged containers are essentially equivalent to root on the host. -Defaults to false. -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| privileged | boolean| `bool` | | | Run container in privileged mode.
Processes in privileged containers are essentially equivalent to root on the host.
Defaults to false.
Note that this field cannot be set when spec.os.name is windows.
+optional | | | procMount | [ProcMountType](#proc-mount-type)| `ProcMountType` | | | | | -| readOnlyRootFilesystem | boolean| `bool` | | | Whether this container has a read-only root filesystem. -Default is false. -Note that this field cannot be set when spec.os.name is windows. -+optional | | -| runAsGroup | int64 (formatted integer)| `int64` | | | The GID to run the entrypoint of the container process. -Uses runtime default if unset. -May also be set in PodSecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence. -Note that this field cannot be set when spec.os.name is windows. -+optional | | -| runAsNonRoot | boolean| `bool` | | | Indicates that the container must run as a non-root user. -If true, the Kubelet will validate the image at runtime to ensure that it -does not run as UID 0 (root) and fail to start the container if it does. -If unset or false, no such validation will be performed. -May also be set in PodSecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence. -+optional | | -| runAsUser | int64 (formatted integer)| `int64` | | | The UID to run the entrypoint of the container process. -Defaults to user specified in image metadata if unspecified. -May also be set in PodSecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence. -Note that this field cannot be set when spec.os.name is windows. -+optional | | +| readOnlyRootFilesystem | boolean| `bool` | | | Whether this container has a read-only root filesystem.
Default is false.
Note that this field cannot be set when spec.os.name is windows.
+optional | | +| runAsGroup | int64 (formatted integer)| `int64` | | | The GID to run the entrypoint of the container process.
Uses runtime default if unset.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is windows.
+optional | | +| runAsNonRoot | boolean| `bool` | | | Indicates that the container must run as a non-root user.
If true, the Kubelet will validate the image at runtime to ensure that it
does not run as UID 0 (root) and fail to start the container if it does.
If unset or false, no such validation will be performed.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
+optional | | +| runAsUser | int64 (formatted integer)| `int64` | | | The UID to run the entrypoint of the container process.
Defaults to user specified in image metadata if unspecified.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
Note that this field cannot be set when spec.os.name is windows.
+optional | | | seLinuxOptions | [SELinuxOptions](#s-e-linux-options)| `SELinuxOptions` | | | | | | seccompProfile | [SeccompProfile](#seccomp-profile)| `SeccompProfile` | | | | | | windowsOptions | [WindowsSecurityContextOptions](#windows-security-context-options)| `WindowsSecurityContextOptions` | | | | | @@ -4316,20 +3458,9 @@ otherwise). | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| audience | string| `string` | | | audience is the intended audience of the token. A recipient of a token -must identify itself with an identifier specified in the audience of the -token, and otherwise should reject the token. The audience defaults to the -identifier of the apiserver. -+optional | | -| expirationSeconds | int64 (formatted integer)| `int64` | | | expirationSeconds is the requested duration of validity of the service -account token. As the token approaches expiration, the kubelet volume -plugin will proactively rotate the service account token. The kubelet will -start trying to rotate the token if the token is older than 80 percent of -its time to live or if the token is older than 24 hours.Defaults to 1 hour -and must be at least 10 minutes. -+optional | | -| path | string| `string` | | | path is the path relative to the mount point of the file to project the -token into. | | +| audience | string| `string` | | | audience is the intended audience of the token. A recipient of a token
must identify itself with an identifier specified in the audience of the
token, and otherwise should reject the token. The audience defaults to the
identifier of the apiserver.
+optional | | +| expirationSeconds | int64 (formatted integer)| `int64` | | | expirationSeconds is the requested duration of validity of the service
account token. As the token approaches expiration, the kubelet volume
plugin will proactively rotate the service account token. The kubelet will
start trying to rotate the token if the token is older than 80 percent of
its time to live or if the token is older than 24 hours.Defaults to 1 hour
and must be at least 10 minutes.
+optional | | +| path | string| `string` | | | path is the path relative to the mount point of the file to project the
token into. | | @@ -4355,23 +3486,11 @@ token into. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is the filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -+optional | | -| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force -the ReadOnly setting in VolumeMounts. -+optional | | +| fsType | string| `string` | | | fsType is the filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
+optional | | +| readOnly | boolean| `bool` | | | readOnly defaults to false (read/write). ReadOnly here will force
the ReadOnly setting in VolumeMounts.
+optional | | | secretRef | [LocalObjectReference](#local-object-reference)| `LocalObjectReference` | | | | | -| volumeName | string| `string` | | | volumeName is the human-readable name of the StorageOS volume. Volume -names are only unique within a namespace. | | -| volumeNamespace | string| `string` | | | volumeNamespace specifies the scope of the volume within StorageOS. If no -namespace is specified then the Pod's namespace will be used. This allows the -Kubernetes name scoping to be mirrored within StorageOS for tighter integration. -Set VolumeName to any name to override the default behaviour. -Set to "default" if you are not using namespaces within StorageOS. -Namespaces that do not pre-exist within StorageOS will be created. -+optional | | +| volumeName | string| `string` | | | volumeName is the human-readable name of the StorageOS volume. Volume
names are only unique within a namespace. | | +| volumeNamespace | string| `string` | | | volumeNamespace specifies the scope of the volume within StorageOS. If no
namespace is specified then the Pod's namespace will be used. This allows the
Kubernetes name scoping to be mirrored within StorageOS for tighter integration.
Set VolumeName to any name to override the default behaviour.
Set to "default" if you are not using namespaces within StorageOS.
Namespaces that do not pre-exist within StorageOS will be created.
+optional | | @@ -4396,8 +3515,7 @@ Namespaces that do not pre-exist within StorageOS will be created. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| duration | string| `string` | | | Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. -Could also be a Duration, e.g.: "2m", "6h" | | +| duration | string| `string` | | | Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds.
Could also be a Duration, e.g.: "2m", "6h" | | @@ -4453,8 +3571,7 @@ Could also be a Duration, e.g.: "2m", "6h" | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| host | string| `string` | | | Optional: Host name to connect to, defaults to the pod IP. -+optional | | +| host | string| `string` | | | Optional: Host name to connect to, defaults to the pod IP.
+optional | | | port | [IntOrString](#int-or-string)| `IntOrString` | | | | | @@ -4487,8 +3604,7 @@ Could also be a Duration, e.g.: "2m", "6h" | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| compressionLevel | int32 (formatted integer)| `int32` | | | CompressionLevel specifies the gzip compression level to use for the artifact. -Defaults to gzip.DefaultCompression. | | +| compressionLevel | int32 (formatted integer)| `int32` | | | CompressionLevel specifies the gzip compression level to use for the artifact.
Defaults to gzip.DefaultCompression. | | @@ -4509,63 +3625,42 @@ Defaults to gzip.DefaultCompression. | | | activeDeadlineSeconds | [IntOrString](#int-or-string)| `IntOrString` | | | | | | affinity | [Affinity](#affinity)| `Affinity` | | | | | | archiveLocation | [ArtifactLocation](#artifact-location)| `ArtifactLocation` | | | | | -| automountServiceAccountToken | boolean| `bool` | | | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. -ServiceAccountName of ExecutorConfig must be specified if this value is false. | | +| automountServiceAccountToken | boolean| `bool` | | | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods.
ServiceAccountName of ExecutorConfig must be specified if this value is false. | | | container | [Container](#container)| `Container` | | | | | | containerSet | [ContainerSetTemplate](#container-set-template)| `ContainerSetTemplate` | | | | | | daemon | boolean| `bool` | | | Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness | | | dag | [DAGTemplate](#d-a-g-template)| `DAGTemplate` | | | | | | data | [Data](#data)| `Data` | | | | | | executor | [ExecutorConfig](#executor-config)| `ExecutorConfig` | | | | | -| failFast | boolean| `bool` | | | FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this -template is expanded with `withItems`, etc. | | -| hostAliases | [][HostAlias](#host-alias)| `[]*HostAlias` | | | HostAliases is an optional list of hosts and IPs that will be injected into the pod spec -+patchStrategy=merge -+patchMergeKey=ip | | +| failFast | boolean| `bool` | | | FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this
template is expanded with `withItems`, etc. | | +| hostAliases | [][HostAlias](#host-alias)| `[]*HostAlias` | | | HostAliases is an optional list of hosts and IPs that will be injected into the pod spec
+patchStrategy=merge
+patchMergeKey=ip | | | http | [HTTP](#http)| `HTTP` | | | | | -| initContainers | [][UserContainer](#user-container)| `[]*UserContainer` | | | InitContainers is a list of containers which run before the main container. -+patchStrategy=merge -+patchMergeKey=name | | +| initContainers | [][UserContainer](#user-container)| `[]*UserContainer` | | | InitContainers is a list of containers which run before the main container.
+patchStrategy=merge
+patchMergeKey=name | | | inputs | [Inputs](#inputs)| `Inputs` | | | | | | memoize | [Memoize](#memoize)| `Memoize` | | | | | | metadata | [Metadata](#metadata)| `Metadata` | | | | | | metrics | [Metrics](#metrics)| `Metrics` | | | | | | name | string| `string` | | | Name is the name of the template | | -| nodeSelector | map of string| `map[string]string` | | | NodeSelector is a selector to schedule this step of the workflow to be -run on the selected node(s). Overrides the selector set at the workflow level. | | +| nodeSelector | map of string| `map[string]string` | | | NodeSelector is a selector to schedule this step of the workflow to be
run on the selected node(s). Overrides the selector set at the workflow level. | | | outputs | [Outputs](#outputs)| `Outputs` | | | | | -| parallelism | int64 (formatted integer)| `int64` | | | Parallelism limits the max total parallel pods that can execute at the same time within the -boundaries of this template invocation. If additional steps/dag templates are invoked, the -pods created by those templates will not be counted towards this total. | | +| parallelism | int64 (formatted integer)| `int64` | | | Parallelism limits the max total parallel pods that can execute at the same time within the
boundaries of this template invocation. If additional steps/dag templates are invoked, the
pods created by those templates will not be counted towards this total. | | | plugin | [Plugin](#plugin)| `Plugin` | | | | | -| podSpecPatch | string| `string` | | | PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of -container fields which are not strings (e.g. resource limits). | | +| podSpecPatch | string| `string` | | | PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of
container fields which are not strings (e.g. resource limits). | | | priority | int32 (formatted integer)| `int32` | | | Priority to apply to workflow pods. | | | priorityClassName | string| `string` | | | PriorityClassName to apply to workflow pods. | | | resource | [ResourceTemplate](#resource-template)| `ResourceTemplate` | | | | | | retryStrategy | [RetryStrategy](#retry-strategy)| `RetryStrategy` | | | | | -| schedulerName | string| `string` | | | If specified, the pod will be dispatched by specified scheduler. -Or it will be dispatched by workflow scope scheduler if specified. -If neither specified, the pod will be dispatched by default scheduler. -+optional | | +| schedulerName | string| `string` | | | If specified, the pod will be dispatched by specified scheduler.
Or it will be dispatched by workflow scope scheduler if specified.
If neither specified, the pod will be dispatched by default scheduler.
+optional | | | script | [ScriptTemplate](#script-template)| `ScriptTemplate` | | | | | | securityContext | [PodSecurityContext](#pod-security-context)| `PodSecurityContext` | | | | | | serviceAccountName | string| `string` | | | ServiceAccountName to apply to workflow pods | | -| sidecars | [][UserContainer](#user-container)| `[]*UserContainer` | | | Sidecars is a list of containers which run alongside the main container -Sidecars are automatically killed when the main container completes -+patchStrategy=merge -+patchMergeKey=name | | +| sidecars | [][UserContainer](#user-container)| `[]*UserContainer` | | | Sidecars is a list of containers which run alongside the main container
Sidecars are automatically killed when the main container completes
+patchStrategy=merge
+patchMergeKey=name | | | steps | [][ParallelSteps](#parallel-steps)| `[]ParallelSteps` | | | Steps define a series of sequential/parallel workflow steps | | | suspend | [SuspendTemplate](#suspend-template)| `SuspendTemplate` | | | | | | synchronization | [Synchronization](#synchronization)| `Synchronization` | | | | | -| timeout | string| `string` | | | Timeout allows to set the total node execution timeout duration counting from the node's start time. -This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. | | -| tolerations | [][Toleration](#toleration)| `[]*Toleration` | | | Tolerations to apply to workflow pods. -+patchStrategy=merge -+patchMergeKey=key | | -| volumes | [][Volume](#volume)| `[]*Volume` | | | Volumes is a list of volumes that can be mounted by containers in a template. -+patchStrategy=merge -+patchMergeKey=name | | +| timeout | string| `string` | | | Timeout allows to set the total node execution timeout duration counting from the node's start time.
This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. | | +| tolerations | [][Toleration](#toleration)| `[]*Toleration` | | | Tolerations to apply to workflow pods.
+patchStrategy=merge
+patchMergeKey=key | | +| volumes | [][Volume](#volume)| `[]*Volume` | | | Volumes is a list of volumes that can be mounted by containers in a template.
+patchStrategy=merge
+patchMergeKey=name | | @@ -4600,18 +3695,6 @@ This duration also includes time in which the node spends in Pending state. This -### Time - - -> +protobuf.options.marshal=false -+protobuf.as=Timestamp -+protobuf.options.(gogoproto.goproto_stringer)=false - - - - -[interface{}](#interface) - ### Toleration @@ -4628,18 +3711,10 @@ the triple using the matching operator . | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | effect | [TaintEffect](#taint-effect)| `TaintEffect` | | | | | -| key | string| `string` | | | Key is the taint key that the toleration applies to. Empty means match all taint keys. -If the key is empty, operator must be Exists; this combination means to match all values and all keys. -+optional | | +| key | string| `string` | | | Key is the taint key that the toleration applies to. Empty means match all taint keys.
If the key is empty, operator must be Exists; this combination means to match all values and all keys.
+optional | | | operator | [TolerationOperator](#toleration-operator)| `TolerationOperator` | | | | | -| tolerationSeconds | int64 (formatted integer)| `int64` | | | TolerationSeconds represents the period of time the toleration (which must be -of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, -it is not set, which means tolerate the taint forever (do not evict). Zero and -negative values will be treated as 0 (evict immediately) by the system. -+optional | | -| value | string| `string` | | | Value is the taint value the toleration matches to. -If the operator is Exists, the value should be empty, otherwise just a regular string. -+optional | | +| tolerationSeconds | int64 (formatted integer)| `int64` | | | TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
it is not set, which means tolerate the taint forever (do not evict). Zero and
negative values will be treated as 0 (evict immediately) by the system.
+optional | | +| value | string| `string` | | | Value is the taint value the toleration matches to.
If the operator is Exists, the value should be empty, otherwise just a regular string.
+optional | | @@ -4706,10 +3781,7 @@ typed referenced object inside the same namespace. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| apiGroup | string| `string` | | | APIGroup is the group for the resource being referenced. -If APIGroup is not specified, the specified Kind must be in the core API group. -For any other third-party types, APIGroup is required. -+optional | | +| apiGroup | string| `string` | | | APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
+optional | | | kind | string| `string` | | | Kind is the type of resource being referenced | | | name | string| `string` | | | Name is the name of resource being referenced | | @@ -4726,17 +3798,10 @@ For any other third-party types, APIGroup is required. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| apiGroup | string| `string` | | | APIGroup is the group for the resource being referenced. -If APIGroup is not specified, the specified Kind must be in the core API group. -For any other third-party types, APIGroup is required. -+optional | | +| apiGroup | string| `string` | | | APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
+optional | | | kind | string| `string` | | | Kind is the type of resource being referenced | | | name | string| `string` | | | Name is the name of resource being referenced | | -| namespace | string| `string` | | | Namespace is the namespace of resource being referenced -Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. -(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. -+featureGate=CrossNamespaceVolumeDataSource -+optional | | +| namespace | string| `string` | | | Namespace is the namespace of resource being referenced
Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details.
(Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled.
+featureGate=CrossNamespaceVolumeDataSource
+optional | | @@ -4752,9 +3817,7 @@ intent and helps make sure that UIDs and names do not get conflated. | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| UID | string| string | | UID is a type that holds unique ID values, including UUIDs. Because we -don't ONLY use UUIDs, this is an alias to string. Being a type captures -intent and helps make sure that UIDs and names do not get conflated. | | +| UID | string| string | | UID is a type that holds unique ID values, including UUIDs. Because we
don't ONLY use UUIDs, this is an alias to string. Being a type captures
intent and helps make sure that UIDs and names do not get conflated. | | @@ -4769,8 +3832,7 @@ intent and helps make sure that UIDs and names do not get conflated. | | | Name | Type | Go type | Default | Description | Example | |------|------|---------| ------- |-------------|---------| -| URIScheme | string| string | | URIScheme identifies the scheme used for connection to a host for Get actions -+enum | | +| URIScheme | string| string | | URIScheme identifies the scheme used for connection to a host for Get actions
+enum | | @@ -4785,106 +3847,29 @@ intent and helps make sure that UIDs and names do not get conflated. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| args | []string| `[]string` | | | Arguments to the entrypoint. -The container image's CMD is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell. -The container image's ENTRYPOINT is used if this is not provided. -Variable references $(VAR_NAME) are expanded using the container's environment. If a variable -cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced -to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will -produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless -of whether the variable exists or not. Cannot be updated. -More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell -+optional | | -| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container. -Cannot be updated. -+optional -+patchMergeKey=name -+patchStrategy=merge | | -| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container. -The keys defined within a source must be a C_IDENTIFIER. All invalid keys -will be reported as an event when the container is starting. When a key exists in multiple -sources, the value associated with the last source will take precedence. -Values defined by an Env with a duplicate key will take precedence. -Cannot be updated. -+optional | | -| image | string| `string` | | | Container image name. -More info: https://kubernetes.io/docs/concepts/containers/images -This field is optional to allow higher level config management to default or override -container images in workload controllers like Deployments and StatefulSets. -+optional | | +| args | []string| `[]string` | | | Arguments to the entrypoint.
The container image's CMD is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| command | []string| `[]string` | | | Entrypoint array. Not executed within a shell.
The container image's ENTRYPOINT is used if this is not provided.
Variable references $(VAR_NAME) are expanded using the container's environment. If a variable
cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will
produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless
of whether the variable exists or not. Cannot be updated.
More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
+optional | | +| env | [][EnvVar](#env-var)| `[]*EnvVar` | | | List of environment variables to set in the container.
Cannot be updated.
+optional
+patchMergeKey=name
+patchStrategy=merge | | +| envFrom | [][EnvFromSource](#env-from-source)| `[]*EnvFromSource` | | | List of sources to populate environment variables in the container.
The keys defined within a source must be a C_IDENTIFIER. All invalid keys
will be reported as an event when the container is starting. When a key exists in multiple
sources, the value associated with the last source will take precedence.
Values defined by an Env with a duplicate key will take precedence.
Cannot be updated.
+optional | | +| image | string| `string` | | | Container image name.
More info: https://kubernetes.io/docs/concepts/containers/images
This field is optional to allow higher level config management to default or override
container images in workload controllers like Deployments and StatefulSets.
+optional | | | imagePullPolicy | [PullPolicy](#pull-policy)| `PullPolicy` | | | | | | lifecycle | [Lifecycle](#lifecycle)| `Lifecycle` | | | | | | livenessProbe | [Probe](#probe)| `Probe` | | | | | -| mirrorVolumeMounts | boolean| `bool` | | | MirrorVolumeMounts will mount the same volumes specified in the main container -to the container (including artifacts), at the same mountPaths. This enables -dind daemon to partially see the same filesystem as the main container in -order to use features such as docker volume binding | | -| name | string| `string` | | | Name of the container specified as a DNS_LABEL. -Each container in a pod must have a unique name (DNS_LABEL). -Cannot be updated. | | -| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here -DOES NOT prevent that port from being exposed. Any port which is -listening on the default "0.0.0.0" address inside a container will be -accessible from the network. -Modifying this array with strategic merge patch may corrupt the data. -For more information See https://github.com/kubernetes/kubernetes/issues/108255. -Cannot be updated. -+optional -+patchMergeKey=containerPort -+patchStrategy=merge -+listType=map -+listMapKey=containerPort -+listMapKey=protocol | | +| mirrorVolumeMounts | boolean| `bool` | | | MirrorVolumeMounts will mount the same volumes specified in the main container
to the container (including artifacts), at the same mountPaths. This enables
dind daemon to partially see the same filesystem as the main container in
order to use features such as docker volume binding | | +| name | string| `string` | | | Name of the container specified as a DNS_LABEL.
Each container in a pod must have a unique name (DNS_LABEL).
Cannot be updated. | | +| ports | [][ContainerPort](#container-port)| `[]*ContainerPort` | | | List of ports to expose from the container. Not specifying a port here
DOES NOT prevent that port from being exposed. Any port which is
listening on the default "0.0.0.0" address inside a container will be
accessible from the network.
Modifying this array with strategic merge patch may corrupt the data.
For more information See https://github.com/kubernetes/kubernetes/issues/108255.
Cannot be updated.
+optional
+patchMergeKey=containerPort
+patchStrategy=merge
+listType=map
+listMapKey=containerPort
+listMapKey=protocol | | | readinessProbe | [Probe](#probe)| `Probe` | | | | | | resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | | | securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | | | startupProbe | [Probe](#probe)| `Probe` | | | | | -| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this -is not set, reads from stdin in the container will always result in EOF. -Default is false. -+optional | | -| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by -a single attach. When stdin is true the stdin stream will remain open across multiple attach -sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the -first client attaches to stdin, and then remains open and accepts data until the client disconnects, -at which time stdin is closed and remains closed until the container is restarted. If this -flag is false, a container processes that reads from stdin will never receive an EOF. -Default is false -+optional | | -| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message -will be written is mounted into the container's filesystem. -Message written is intended to be brief final status, such as an assertion failure message. -Will be truncated by the node if greater than 4096 bytes. The total message length across -all containers will be limited to 12kb. -Defaults to /dev/termination-log. -Cannot be updated. -+optional | | +| stdin | boolean| `bool` | | | Whether this container should allocate a buffer for stdin in the container runtime. If this
is not set, reads from stdin in the container will always result in EOF.
Default is false.
+optional | | +| stdinOnce | boolean| `bool` | | | Whether the container runtime should close the stdin channel after it has been opened by
a single attach. When stdin is true the stdin stream will remain open across multiple attach
sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the
first client attaches to stdin, and then remains open and accepts data until the client disconnects,
at which time stdin is closed and remains closed until the container is restarted. If this
flag is false, a container processes that reads from stdin will never receive an EOF.
Default is false
+optional | | +| terminationMessagePath | string| `string` | | | Optional: Path at which the file to which the container's termination message
will be written is mounted into the container's filesystem.
Message written is intended to be brief final status, such as an assertion failure message.
Will be truncated by the node if greater than 4096 bytes. The total message length across
all containers will be limited to 12kb.
Defaults to /dev/termination-log.
Cannot be updated.
+optional | | | terminationMessagePolicy | [TerminationMessagePolicy](#termination-message-policy)| `TerminationMessagePolicy` | | | | | -| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. -Default is false. -+optional | | -| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container. -+patchMergeKey=devicePath -+patchStrategy=merge -+optional | | -| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem. -Cannot be updated. -+optional -+patchMergeKey=mountPath -+patchStrategy=merge | | -| workingDir | string| `string` | | | Container's working directory. -If not specified, the container runtime's default will be used, which -might be configured in the container image. -Cannot be updated. -+optional | | +| tty | boolean| `bool` | | | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.
Default is false.
+optional | | +| volumeDevices | [][VolumeDevice](#volume-device)| `[]*VolumeDevice` | | | volumeDevices is the list of block devices to be used by the container.
+patchMergeKey=devicePath
+patchStrategy=merge
+optional | | +| volumeMounts | [][VolumeMount](#volume-mount)| `[]*VolumeMount` | | | Pod volumes to mount into the container's filesystem.
Cannot be updated.
+optional
+patchMergeKey=mountPath
+patchStrategy=merge | | +| workingDir | string| `string` | | | Container's working directory.
If not specified, the container runtime's default will be used, which
might be configured in the container image.
Cannot be updated.
+optional | | @@ -4908,8 +3893,7 @@ Cannot be updated. | expression | string| `string` | | | Expression, if defined, is evaluated to specify the value for the parameter | | | jqFilter | string| `string` | | | JQFilter expression against the resource object in resource templates | | | jsonPath | string| `string` | | | JSONPath of a resource to retrieve an output parameter value from in resource templates | | -| parameter | string| `string` | | | Parameter reference to a step or dag task in which to retrieve an output parameter value from -(e.g. '{{steps.mystep.outputs.myparam}}') | | +| parameter | string| `string` | | | Parameter reference to a step or dag task in which to retrieve an output parameter value from
(e.g. '{{steps.mystep.outputs.myparam}}') | | | path | string| `string` | | | Path in the container to retrieve an output parameter value from in container templates | | | supplied | [SuppliedValueFrom](#supplied-value-from)| `SuppliedValueFrom` | | | | | @@ -4944,9 +3928,7 @@ Cannot be updated. | glusterfs | [GlusterfsVolumeSource](#glusterfs-volume-source)| `GlusterfsVolumeSource` | | | | | | hostPath | [HostPathVolumeSource](#host-path-volume-source)| `HostPathVolumeSource` | | | | | | iscsi | [ISCSIVolumeSource](#i-s-c-s-i-volume-source)| `ISCSIVolumeSource` | | | | | -| name | string| `string` | | | name of the volume. -Must be a DNS_LABEL and unique within the pod. -More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | | +| name | string| `string` | | | name of the volume.
Must be a DNS_LABEL and unique within the pod.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names | | | nfs | [NFSVolumeSource](#n-f-s-volume-source)| `NFSVolumeSource` | | | | | | persistentVolumeClaim | [PersistentVolumeClaimVolumeSource](#persistent-volume-claim-volume-source)| `PersistentVolumeClaimVolumeSource` | | | | | | photonPersistentDisk | [PhotonPersistentDiskVolumeSource](#photon-persistent-disk-volume-source)| `PhotonPersistentDiskVolumeSource` | | | | | @@ -4988,21 +3970,12 @@ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/nam | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| mountPath | string| `string` | | | Path within the container at which the volume should be mounted. Must -not contain ':'. | | +| mountPath | string| `string` | | | Path within the container at which the volume should be mounted. Must
not contain ':'. | | | mountPropagation | [MountPropagationMode](#mount-propagation-mode)| `MountPropagationMode` | | | | | | name | string| `string` | | | This must match the Name of a Volume. | | -| readOnly | boolean| `bool` | | | Mounted read-only if true, read-write otherwise (false or unspecified). -Defaults to false. -+optional | | -| subPath | string| `string` | | | Path within the volume from which the container's volume should be mounted. -Defaults to "" (volume's root). -+optional | | -| subPathExpr | string| `string` | | | Expanded path within the volume from which the container's volume should be mounted. -Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. -Defaults to "" (volume's root). -SubPathExpr and SubPath are mutually exclusive. -+optional | | +| readOnly | boolean| `bool` | | | Mounted read-only if true, read-write otherwise (false or unspecified).
Defaults to false.
+optional | | +| subPath | string| `string` | | | Path within the volume from which the container's volume should be mounted.
Defaults to "" (volume's root).
+optional | | +| subPathExpr | string| `string` | | | Expanded path within the volume from which the container's volume should be mounted.
Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.
Defaults to "" (volume's root).
SubPathExpr and SubPath are mutually exclusive.
+optional | | @@ -5038,14 +4011,9 @@ SubPathExpr and SubPath are mutually exclusive. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| fsType | string| `string` | | | fsType is filesystem type to mount. -Must be a filesystem type supported by the host operating system. -Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. -+optional | | -| storagePolicyID | string| `string` | | | storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. -+optional | | -| storagePolicyName | string| `string` | | | storagePolicyName is the storage Policy Based Management (SPBM) profile name. -+optional | | +| fsType | string| `string` | | | fsType is filesystem type to mount.
Must be a filesystem type supported by the host operating system.
Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
+optional | | +| storagePolicyID | string| `string` | | | storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
+optional | | +| storagePolicyName | string| `string` | | | storagePolicyName is the storage Policy Based Management (SPBM) profile name.
+optional | | | volumePath | string| `string` | | | volumePath is the path that identifies vSphere volume vmdk | | @@ -5065,8 +4033,7 @@ Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| | podAffinityTerm | [PodAffinityTerm](#pod-affinity-term)| `PodAffinityTerm` | | | | | -| weight | int32 (formatted integer)| `int32` | | | weight associated with matching the corresponding podAffinityTerm, -in the range 1-100. | | +| weight | int32 (formatted integer)| `int32` | | | weight associated with matching the corresponding podAffinityTerm,
in the range 1-100. | | @@ -5081,25 +4048,10 @@ in the range 1-100. | | | Name | Type | Go type | Required | Default | Description | Example | |------|------|---------|:--------:| ------- |-------------|---------| -| gmsaCredentialSpec | string| `string` | | | GMSACredentialSpec is where the GMSA admission webhook -(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the -GMSA credential spec named by the GMSACredentialSpecName field. -+optional | | -| gmsaCredentialSpecName | string| `string` | | | GMSACredentialSpecName is the name of the GMSA credential spec to use. -+optional | | -| hostProcess | boolean| `bool` | | | HostProcess determines if a container should be run as a 'Host Process' container. -This field is alpha-level and will only be honored by components that enable the -WindowsHostProcessContainers feature flag. Setting this field without the feature -flag will result in errors when validating the Pod. All of a Pod's containers must -have the same effective HostProcess value (it is not allowed to have a mix of HostProcess -containers and non-HostProcess containers). In addition, if HostProcess is true -then HostNetwork must also be set to true. -+optional | | -| runAsUserName | string| `string` | | | The UserName in Windows to run the entrypoint of the container process. -Defaults to the user specified in image metadata if unspecified. -May also be set in PodSecurityContext. If set in both SecurityContext and -PodSecurityContext, the value specified in SecurityContext takes precedence. -+optional | | +| gmsaCredentialSpec | string| `string` | | | GMSACredentialSpec is where the GMSA admission webhook
(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the
GMSA credential spec named by the GMSACredentialSpecName field.
+optional | | +| gmsaCredentialSpecName | string| `string` | | | GMSACredentialSpecName is the name of the GMSA credential spec to use.
+optional | | +| hostProcess | boolean| `bool` | | | HostProcess determines if a container should be run as a 'Host Process' container.
This field is alpha-level and will only be honored by components that enable the
WindowsHostProcessContainers feature flag. Setting this field without the feature
flag will result in errors when validating the Pod. All of a Pod's containers must
have the same effective HostProcess value (it is not allowed to have a mix of HostProcess
containers and non-HostProcess containers). In addition, if HostProcess is true
then HostNetwork must also be set to true.
+optional | | +| runAsUserName | string| `string` | | | The UserName in Windows to run the entrypoint of the container process.
Defaults to the user specified in image metadata if unspecified.
May also be set in PodSecurityContext. If set in both SecurityContext and
PodSecurityContext, the value specified in SecurityContext takes precedence.
+optional | | diff --git a/pkg/plugins/executor/swagger.yml b/pkg/plugins/executor/swagger.yml index 4dd06337604d..a503bffe916b 100644 --- a/pkg/plugins/executor/swagger.yml +++ b/pkg/plugins/executor/swagger.yml @@ -1,4739 +1,4675 @@ basePath: /api/v1 consumes: -- application/json + - application/json definitions: - AWSElasticBlockStoreVolumeSource: - description: |- - An AWS EBS disk must exist before mounting to a container. The disk - must also be in the same AWS zone as the kubelet. An AWS EBS disk - can only be mounted as read/write once. AWS EBS volumes support - ownership management and SELinux relabeling. - properties: - fsType: - description: |- - fsType is the filesystem type of the volume that you want to mount. - Tip: Ensure that the filesystem type is supported by the host operating system. - Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - TODO: how do we prevent errors in the filesystem from compromising the machine - +optional - type: string - partition: - description: |- - partition is the partition in the volume that you want to mount. - If omitted, the default is to mount by volume name. - Examples: For volume /dev/sda1, you specify the partition as "1". - Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). - +optional - format: int32 - type: integer - readOnly: - description: |- - readOnly value true will force the readOnly setting in VolumeMounts. - More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - +optional - type: boolean - volumeID: - description: |- - volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). - More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore - type: string - title: Represents a Persistent Disk resource in AWS. - type: object - Affinity: - properties: - nodeAffinity: - $ref: '#/definitions/NodeAffinity' - podAffinity: - $ref: '#/definitions/PodAffinity' - podAntiAffinity: - $ref: '#/definitions/PodAntiAffinity' - title: Affinity is a group of affinity scheduling rules. - type: object - Amount: - description: +kubebuilder:validation:Type=number - title: Amount represent a numeric amount. - type: object - AnyString: - description: |- - It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. - It will marshall back to string - marshalling is not symmetric. - title: It's JSON type is just string. - type: string - ArchiveStrategy: - description: ArchiveStrategy describes how to archive files/directory when saving - artifacts - properties: - none: - $ref: '#/definitions/NoneStrategy' - tar: - $ref: '#/definitions/TarStrategy' - zip: - $ref: '#/definitions/ZipStrategy' - type: object - Arguments: - description: Arguments to a template - properties: - artifacts: - $ref: '#/definitions/Artifacts' - parameters: - description: |- - Parameters is the list of parameters to pass to the template or workflow - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/Parameter' - type: array - type: object - Artifact: - description: Artifact indicates an artifact to place at a specified path - properties: - archive: - $ref: '#/definitions/ArchiveStrategy' - archiveLogs: - description: ArchiveLogs indicates if the container logs should be archived - type: boolean - artifactGC: - $ref: '#/definitions/ArtifactGC' - artifactory: - $ref: '#/definitions/ArtifactoryArtifact' - azure: - $ref: '#/definitions/AzureArtifact' - deleted: - description: Has this been deleted? - type: boolean - from: - description: From allows an artifact to reference an artifact from a previous - step - type: string - fromExpression: - description: FromExpression, if defined, is evaluated to specify the value - for the artifact - type: string - gcs: - $ref: '#/definitions/GCSArtifact' - git: - $ref: '#/definitions/GitArtifact' - globalName: - description: |- - GlobalName exports an output artifact to the global scope, making it available as - '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts - type: string - hdfs: - $ref: '#/definitions/HDFSArtifact' - http: - $ref: '#/definitions/HTTPArtifact' - mode: - description: |- - mode bits to use on this file, must be a value between 0 and 0777 - set when loading input artifacts. - format: int32 - type: integer - name: - description: name of the artifact. must be unique within a template's inputs/outputs. - type: string - optional: - description: Make Artifacts optional, if Artifacts doesn't generate or exist - type: boolean - oss: - $ref: '#/definitions/OSSArtifact' - path: - description: Path is the container path to the artifact - type: string - raw: - $ref: '#/definitions/RawArtifact' - recurseMode: - description: If mode is set, apply the permission recursively into the artifact - if it is a folder - type: boolean - s3: - $ref: '#/definitions/S3Artifact' - subPath: - description: SubPath allows an artifact to be sourced from a subpath within - the specified source - type: string - type: object - ArtifactGC: - description: ArtifactGC describes how to delete artifacts from completed Workflows - - this is embedded into the WorkflowLevelArtifactGC, and also used for individual - Artifacts to override that as needed - properties: - podMetadata: - $ref: '#/definitions/Metadata' - serviceAccountName: - description: ServiceAccountName is an optional field for specifying the Service - Account that should be assigned to the Pod doing the deletion - type: string - strategy: - $ref: '#/definitions/ArtifactGCStrategy' - type: object - ArtifactGCStrategy: - title: ArtifactGCStrategy is the strategy when to delete artifacts for GC. - type: string - ArtifactLocation: - description: |- - It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). - It is also used to describe the location of multiple artifacts such as the archive location - of a single workflow step, which the executor will use as a default location to store its files. - properties: - archiveLogs: - description: ArchiveLogs indicates if the container logs should be archived - type: boolean - artifactory: - $ref: '#/definitions/ArtifactoryArtifact' - azure: - $ref: '#/definitions/AzureArtifact' - gcs: - $ref: '#/definitions/GCSArtifact' - git: - $ref: '#/definitions/GitArtifact' - hdfs: - $ref: '#/definitions/HDFSArtifact' - http: - $ref: '#/definitions/HTTPArtifact' - oss: - $ref: '#/definitions/OSSArtifact' - raw: - $ref: '#/definitions/RawArtifact' - s3: - $ref: '#/definitions/S3Artifact' - title: ArtifactLocation describes a location for a single or multiple artifacts. - type: object - ArtifactPaths: - description: ArtifactPaths expands a step from a collection of artifacts - properties: - archive: - $ref: '#/definitions/ArchiveStrategy' - archiveLogs: - description: ArchiveLogs indicates if the container logs should be archived - type: boolean - artifactGC: - $ref: '#/definitions/ArtifactGC' - artifactory: - $ref: '#/definitions/ArtifactoryArtifact' - azure: - $ref: '#/definitions/AzureArtifact' - deleted: - description: Has this been deleted? - type: boolean - from: - description: From allows an artifact to reference an artifact from a previous - step - type: string - fromExpression: - description: FromExpression, if defined, is evaluated to specify the value - for the artifact - type: string - gcs: - $ref: '#/definitions/GCSArtifact' - git: - $ref: '#/definitions/GitArtifact' - globalName: - description: |- - GlobalName exports an output artifact to the global scope, making it available as - '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts - type: string - hdfs: - $ref: '#/definitions/HDFSArtifact' - http: - $ref: '#/definitions/HTTPArtifact' - mode: - description: |- - mode bits to use on this file, must be a value between 0 and 0777 - set when loading input artifacts. - format: int32 - type: integer - name: - description: name of the artifact. must be unique within a template's inputs/outputs. - type: string - optional: - description: Make Artifacts optional, if Artifacts doesn't generate or exist - type: boolean - oss: - $ref: '#/definitions/OSSArtifact' - path: - description: Path is the container path to the artifact - type: string - raw: - $ref: '#/definitions/RawArtifact' - recurseMode: - description: If mode is set, apply the permission recursively into the artifact - if it is a folder - type: boolean - s3: - $ref: '#/definitions/S3Artifact' - subPath: - description: SubPath allows an artifact to be sourced from a subpath within - the specified source - type: string - type: object - ArtifactoryArtifact: - description: ArtifactoryArtifact is the location of an artifactory artifact - properties: - passwordSecret: - $ref: '#/definitions/SecretKeySelector' - url: - description: URL of the artifact - type: string - usernameSecret: - $ref: '#/definitions/SecretKeySelector' - type: object - Artifacts: - items: - $ref: '#/definitions/Artifact' - type: array - AzureArtifact: - description: AzureArtifact is the location of a an Azure Storage artifact - properties: - accountKeySecret: - $ref: '#/definitions/SecretKeySelector' - blob: - description: Blob is the blob name (i.e., path) in the container where the - artifact resides - type: string - container: - description: Container is the container where resources will be stored - type: string - endpoint: - description: Endpoint is the service url associated with an account. It is - most likely "https://.blob.core.windows.net" - type: string - useSDKCreds: - description: UseSDKCreds tells the driver to figure out credentials based - on sdk defaults. - type: boolean - type: object - AzureDataDiskCachingMode: - description: +enum - type: string - AzureDataDiskKind: - description: +enum - type: string - AzureDiskVolumeSource: - properties: - cachingMode: - $ref: '#/definitions/AzureDataDiskCachingMode' - diskName: - description: diskName is the Name of the data disk in the blob storage - type: string - diskURI: - description: diskURI is the URI of data disk in the blob storage - type: string - fsType: - description: |- - fsType is Filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - +optional - type: string - kind: - $ref: '#/definitions/AzureDataDiskKind' - readOnly: - description: |- - readOnly Defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - title: AzureDisk represents an Azure Data Disk mount on the host and bind mount - to the pod. - type: object - AzureFileVolumeSource: - properties: - readOnly: - description: |- - readOnly defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - secretName: - description: secretName is the name of secret that contains Azure Storage - Account Name and Key - type: string - shareName: - description: shareName is the azure share Name - type: string - title: AzureFile represents an Azure File Service mount on the host and bind mount - to the pod. - type: object - Backoff: - description: Backoff is a backoff strategy to use within retryStrategy - properties: - duration: - description: Duration is the amount to back off. Default unit is seconds, - but could also be a duration (e.g. "2m", "1h") - type: string - factor: - $ref: '#/definitions/IntOrString' - maxDuration: - description: |- - MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. - It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. - However, when the workflow fails, the pod's deadline is then overridden by maxDuration. - This ensures that the workflow does not exceed the specified maximum duration when retries are involved. - type: string - type: object - BasicAuth: - description: BasicAuth describes the secret selectors required for basic authentication - properties: - passwordSecret: - $ref: '#/definitions/SecretKeySelector' - usernameSecret: - $ref: '#/definitions/SecretKeySelector' - type: object - CSIVolumeSource: - description: Represents a source location of a volume to mount, managed by an - external CSI driver - properties: - driver: - description: |- - driver is the name of the CSI driver that handles this volume. - Consult with your admin for the correct name as registered in the cluster. - type: string - fsType: - description: |- - fsType to mount. Ex. "ext4", "xfs", "ntfs". - If not provided, the empty value is passed to the associated CSI driver - which will determine the default filesystem to apply. - +optional - type: string - nodePublishSecretRef: - $ref: '#/definitions/LocalObjectReference' - readOnly: - description: |- - readOnly specifies a read-only configuration for the volume. - Defaults to false (read/write). - +optional - type: boolean - volumeAttributes: - additionalProperties: - type: string - description: |- - volumeAttributes stores driver-specific properties that are passed to the CSI - driver. Consult your driver's documentation for supported values. - +optional - type: object - type: object - Cache: - description: Cache is the configuration for the type of cache to be used - properties: - configMap: - $ref: '#/definitions/ConfigMapKeySelector' - type: object - Capabilities: - properties: - add: - description: |- - Added capabilities - +optional - items: - $ref: '#/definitions/Capability' - type: array - drop: - description: |- - Removed capabilities - +optional - items: - $ref: '#/definitions/Capability' - type: array - title: Adds and removes POSIX capabilities from running containers. - type: object - Capability: - description: Capability represent POSIX capabilities type - type: string - CephFSVolumeSource: - description: |- - Represents a Ceph Filesystem mount that lasts the lifetime of a pod - Cephfs volumes do not support ownership management or SELinux relabeling. - properties: - monitors: - description: |- - monitors is Required: Monitors is a collection of Ceph monitors - More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - items: - type: string - type: array - path: - description: |- - path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / - +optional - type: string - readOnly: - description: |- - readOnly is Optional: Defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - +optional - type: boolean - secretFile: - description: |- - secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret - More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - +optional - type: string - secretRef: - $ref: '#/definitions/LocalObjectReference' - user: - description: |- - user is optional: User is the rados user name, default is admin - More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it - +optional - type: string - type: object - CinderVolumeSource: - description: |- - A Cinder volume must exist before mounting to a container. - The volume must also be in the same region as the kubelet. - Cinder volumes support ownership management and SELinux relabeling. - properties: - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - More info: https://examples.k8s.io/mysql-cinder-pd/README.md - +optional - type: string - readOnly: - description: |- - readOnly defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - More info: https://examples.k8s.io/mysql-cinder-pd/README.md - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - volumeID: - description: |- - volumeID used to identify the volume in cinder. - More info: https://examples.k8s.io/mysql-cinder-pd/README.md - type: string - title: Represents a cinder volume resource in Openstack. - type: object - ClientCertAuth: - description: ClientCertAuth holds necessary information for client authentication - via certificates - properties: - clientCertSecret: - $ref: '#/definitions/SecretKeySelector' - clientKeySecret: - $ref: '#/definitions/SecretKeySelector' - type: object - ConfigMapEnvSource: - description: |- - The contents of the target ConfigMap's Data field will represent the - key-value pairs as environment variables. - properties: - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - Specify whether the ConfigMap must be defined - +optional - type: boolean - title: |- - ConfigMapEnvSource selects a ConfigMap to populate the environment - variables with. - type: object - ConfigMapKeySelector: - description: +structType=atomic - properties: - key: - description: The key to select. - type: string - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - Specify whether the ConfigMap or its key must be defined - +optional - type: boolean - title: Selects a key from a ConfigMap. - type: object - ConfigMapProjection: - description: |- - The contents of the target ConfigMap's Data field will be presented in a - projected volume as files using the keys in the Data field as the file names, - unless the items element is populated with specific mappings of keys to paths. - Note that this is identical to a configmap volume source without the default - mode. - properties: - items: - description: |- - items if unspecified, each key-value pair in the Data field of the referenced - ConfigMap will be projected into the volume as a file whose name is the - key and content is the value. If specified, the listed keys will be - projected into the specified paths, and unlisted keys will not be - present. If a key is specified which is not present in the ConfigMap, - the volume setup will error unless it is marked optional. Paths must be - relative and may not contain the '..' path or start with '..'. - +optional - items: - $ref: '#/definitions/KeyToPath' - type: array - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - optional specify whether the ConfigMap or its keys must be defined - +optional - type: boolean - title: Adapts a ConfigMap into a projected volume. - type: object - ConfigMapVolumeSource: - description: |- - The contents of the target ConfigMap's Data field will be presented in a - volume as files using the keys in the Data field as the file names, unless - the items element is populated with specific mappings of keys to paths. - ConfigMap volumes support ownership management and SELinux relabeling. - properties: - defaultMode: - description: |- - defaultMode is optional: mode bits used to set permissions on created files by default. - Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. - Defaults to 0644. - Directories within the path are not affected by this setting. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - items: - description: |- - items if unspecified, each key-value pair in the Data field of the referenced - ConfigMap will be projected into the volume as a file whose name is the - key and content is the value. If specified, the listed keys will be - projected into the specified paths, and unlisted keys will not be - present. If a key is specified which is not present in the ConfigMap, - the volume setup will error unless it is marked optional. Paths must be - relative and may not contain the '..' path or start with '..'. - +optional - items: - $ref: '#/definitions/KeyToPath' - type: array - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - optional specify whether the ConfigMap or its keys must be defined - +optional - type: boolean - title: Adapts a ConfigMap into a volume. - type: object - Container: - properties: - args: - description: |- - Arguments to the entrypoint. - The container image's CMD is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - command: - description: |- - Entrypoint array. Not executed within a shell. - The container image's ENTRYPOINT is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - env: - description: |- - List of environment variables to set in the container. - Cannot be updated. - +optional - +patchMergeKey=name - +patchStrategy=merge - items: - $ref: '#/definitions/EnvVar' - type: array - envFrom: - description: |- - List of sources to populate environment variables in the container. - The keys defined within a source must be a C_IDENTIFIER. All invalid keys - will be reported as an event when the container is starting. When a key exists in multiple - sources, the value associated with the last source will take precedence. - Values defined by an Env with a duplicate key will take precedence. - Cannot be updated. - +optional - items: - $ref: '#/definitions/EnvFromSource' - type: array - image: - description: |- - Container image name. - More info: https://kubernetes.io/docs/concepts/containers/images - This field is optional to allow higher level config management to default or override - container images in workload controllers like Deployments and StatefulSets. - +optional - type: string - imagePullPolicy: - $ref: '#/definitions/PullPolicy' - lifecycle: - $ref: '#/definitions/Lifecycle' - livenessProbe: - $ref: '#/definitions/Probe' - name: - description: |- - Name of the container specified as a DNS_LABEL. - Each container in a pod must have a unique name (DNS_LABEL). - Cannot be updated. - type: string - ports: - description: |- - List of ports to expose from the container. Not specifying a port here - DOES NOT prevent that port from being exposed. Any port which is - listening on the default "0.0.0.0" address inside a container will be - accessible from the network. - Modifying this array with strategic merge patch may corrupt the data. - For more information See https://github.com/kubernetes/kubernetes/issues/108255. - Cannot be updated. - +optional - +patchMergeKey=containerPort - +patchStrategy=merge - +listType=map - +listMapKey=containerPort - +listMapKey=protocol - items: - $ref: '#/definitions/ContainerPort' - type: array - readinessProbe: - $ref: '#/definitions/Probe' - resources: - $ref: '#/definitions/ResourceRequirements' - securityContext: - $ref: '#/definitions/SecurityContext' - startupProbe: - $ref: '#/definitions/Probe' - stdin: - description: |- - Whether this container should allocate a buffer for stdin in the container runtime. If this - is not set, reads from stdin in the container will always result in EOF. - Default is false. - +optional - type: boolean - stdinOnce: - description: |- - Whether the container runtime should close the stdin channel after it has been opened by - a single attach. When stdin is true the stdin stream will remain open across multiple attach - sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the - first client attaches to stdin, and then remains open and accepts data until the client disconnects, - at which time stdin is closed and remains closed until the container is restarted. If this - flag is false, a container processes that reads from stdin will never receive an EOF. - Default is false - +optional - type: boolean - terminationMessagePath: - description: |- - Optional: Path at which the file to which the container's termination message - will be written is mounted into the container's filesystem. - Message written is intended to be brief final status, such as an assertion failure message. - Will be truncated by the node if greater than 4096 bytes. The total message length across - all containers will be limited to 12kb. - Defaults to /dev/termination-log. - Cannot be updated. - +optional - type: string - terminationMessagePolicy: - $ref: '#/definitions/TerminationMessagePolicy' - tty: - description: |- - Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. - Default is false. - +optional - type: boolean - volumeDevices: - description: |- - volumeDevices is the list of block devices to be used by the container. - +patchMergeKey=devicePath - +patchStrategy=merge - +optional - items: - $ref: '#/definitions/VolumeDevice' - type: array - volumeMounts: - description: |- - Pod volumes to mount into the container's filesystem. - Cannot be updated. - +optional - +patchMergeKey=mountPath - +patchStrategy=merge - items: - $ref: '#/definitions/VolumeMount' - type: array - workingDir: - description: |- - Container's working directory. - If not specified, the container runtime's default will be used, which - might be configured in the container image. - Cannot be updated. - +optional - type: string - title: A single application container that you want to run within a pod. - type: object - ContainerNode: - properties: - args: - description: |- - Arguments to the entrypoint. - The container image's CMD is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - command: - description: |- - Entrypoint array. Not executed within a shell. - The container image's ENTRYPOINT is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - dependencies: - items: - type: string - type: array - env: - description: |- - List of environment variables to set in the container. - Cannot be updated. - +optional - +patchMergeKey=name - +patchStrategy=merge - items: - $ref: '#/definitions/EnvVar' - type: array - envFrom: - description: |- - List of sources to populate environment variables in the container. - The keys defined within a source must be a C_IDENTIFIER. All invalid keys - will be reported as an event when the container is starting. When a key exists in multiple - sources, the value associated with the last source will take precedence. - Values defined by an Env with a duplicate key will take precedence. - Cannot be updated. - +optional - items: - $ref: '#/definitions/EnvFromSource' - type: array - image: - description: |- - Container image name. - More info: https://kubernetes.io/docs/concepts/containers/images - This field is optional to allow higher level config management to default or override - container images in workload controllers like Deployments and StatefulSets. - +optional - type: string - imagePullPolicy: - $ref: '#/definitions/PullPolicy' - lifecycle: - $ref: '#/definitions/Lifecycle' - livenessProbe: - $ref: '#/definitions/Probe' - name: - description: |- - Name of the container specified as a DNS_LABEL. - Each container in a pod must have a unique name (DNS_LABEL). - Cannot be updated. - type: string - ports: - description: |- - List of ports to expose from the container. Not specifying a port here - DOES NOT prevent that port from being exposed. Any port which is - listening on the default "0.0.0.0" address inside a container will be - accessible from the network. - Modifying this array with strategic merge patch may corrupt the data. - For more information See https://github.com/kubernetes/kubernetes/issues/108255. - Cannot be updated. - +optional - +patchMergeKey=containerPort - +patchStrategy=merge - +listType=map - +listMapKey=containerPort - +listMapKey=protocol - items: - $ref: '#/definitions/ContainerPort' - type: array - readinessProbe: - $ref: '#/definitions/Probe' - resources: - $ref: '#/definitions/ResourceRequirements' - securityContext: - $ref: '#/definitions/SecurityContext' - startupProbe: - $ref: '#/definitions/Probe' - stdin: - description: |- - Whether this container should allocate a buffer for stdin in the container runtime. If this - is not set, reads from stdin in the container will always result in EOF. - Default is false. - +optional - type: boolean - stdinOnce: - description: |- - Whether the container runtime should close the stdin channel after it has been opened by - a single attach. When stdin is true the stdin stream will remain open across multiple attach - sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the - first client attaches to stdin, and then remains open and accepts data until the client disconnects, - at which time stdin is closed and remains closed until the container is restarted. If this - flag is false, a container processes that reads from stdin will never receive an EOF. - Default is false - +optional - type: boolean - terminationMessagePath: - description: |- - Optional: Path at which the file to which the container's termination message - will be written is mounted into the container's filesystem. - Message written is intended to be brief final status, such as an assertion failure message. - Will be truncated by the node if greater than 4096 bytes. The total message length across - all containers will be limited to 12kb. - Defaults to /dev/termination-log. - Cannot be updated. - +optional - type: string - terminationMessagePolicy: - $ref: '#/definitions/TerminationMessagePolicy' - tty: - description: |- - Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. - Default is false. - +optional - type: boolean - volumeDevices: - description: |- - volumeDevices is the list of block devices to be used by the container. - +patchMergeKey=devicePath - +patchStrategy=merge - +optional - items: - $ref: '#/definitions/VolumeDevice' - type: array - volumeMounts: - description: |- - Pod volumes to mount into the container's filesystem. - Cannot be updated. - +optional - +patchMergeKey=mountPath - +patchStrategy=merge - items: - $ref: '#/definitions/VolumeMount' - type: array - workingDir: - description: |- - Container's working directory. - If not specified, the container runtime's default will be used, which - might be configured in the container image. - Cannot be updated. - +optional - type: string - type: object - ContainerPort: - properties: - containerPort: - description: |- - Number of port to expose on the pod's IP address. - This must be a valid port number, 0 < x < 65536. - format: int32 - type: integer - hostIP: - description: |- - What host IP to bind the external port to. - +optional - type: string - hostPort: - description: |- - Number of port to expose on the host. - If specified, this must be a valid port number, 0 < x < 65536. - If HostNetwork is specified, this must match ContainerPort. - Most containers do not need this. - +optional - format: int32 - type: integer - name: - description: |- - If specified, this must be an IANA_SVC_NAME and unique within the pod. Each - named port in a pod must have a unique name. Name for the port that can be - referred to by services. - +optional - type: string - protocol: - $ref: '#/definitions/Protocol' - title: ContainerPort represents a network port in a single container. - type: object - ContainerSetRetryStrategy: - description: ContainerSetRetryStrategy provides controls on how to retry a container - set - properties: - duration: - description: |- - Duration is the time between each retry, examples values are "300ms", "1s" or "5m". - Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". - type: string - retries: - $ref: '#/definitions/IntOrString' - type: object - ContainerSetTemplate: - properties: - containers: - items: - $ref: '#/definitions/ContainerNode' - type: array - retryStrategy: - $ref: '#/definitions/ContainerSetRetryStrategy' - volumeMounts: - items: - $ref: '#/definitions/VolumeMount' - type: array - type: object - ContinueOn: - description: It can be specified if the workflow should continue when the pod - errors, fails or both. - properties: - error: - description: +optional - type: boolean - failed: - description: +optional - type: boolean - title: ContinueOn defines if a workflow should continue even if a task or step - fails/errors. - type: object - Counter: - description: Counter is a Counter prometheus metric - properties: - value: - description: Value is the value of the metric - type: string - type: object - CreateS3BucketOptions: - description: CreateS3BucketOptions options used to determine automatic automatic - bucket-creation process - properties: - objectLocking: - description: ObjectLocking Enable object locking - type: boolean - type: object - DAGTask: - description: DAGTask represents a node in the graph during DAG execution - properties: - arguments: - $ref: '#/definitions/Arguments' - continueOn: - $ref: '#/definitions/ContinueOn' - dependencies: - description: Dependencies are name of other targets which this depends on - items: - type: string - type: array - depends: - description: Depends are name of other targets which this depends on - type: string - hooks: - $ref: '#/definitions/LifecycleHooks' - inline: - $ref: '#/definitions/Template' - name: - description: Name is the name of the target - type: string - onExit: - description: |- - OnExit is a template reference which is invoked at the end of the - template, irrespective of the success, failure, or error of the - primary template. - DEPRECATED: Use Hooks[exit].Template instead. - type: string - template: - description: Name of template to execute - type: string - templateRef: - $ref: '#/definitions/TemplateRef' - when: - description: When is an expression in which the task should conditionally - execute - type: string - withItems: - description: WithItems expands a task into multiple parallel tasks from the - items in the list - items: - $ref: '#/definitions/Item' - type: array - withParam: - description: |- - WithParam expands a task into multiple parallel tasks from the value in the parameter, - which is expected to be a JSON list. - type: string - withSequence: - $ref: '#/definitions/Sequence' - type: object - DAGTemplate: - description: DAGTemplate is a template subtype for directed acyclic graph templates - properties: - failFast: - description: |- - This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, - as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed - before failing the DAG itself. - The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to - completion (either success or failure), regardless of the failed outcomes of branches in the DAG. - More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 - type: boolean - target: - description: Target are one or more names of targets to execute in a DAG - type: string - tasks: - description: |- - Tasks are a list of DAG tasks - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/DAGTask' - type: array - type: object - Data: - description: Data is a data template - properties: - source: - $ref: '#/definitions/DataSource' - transformation: - $ref: '#/definitions/Transformation' - type: object - DataSource: - description: DataSource sources external data into a data template - properties: - artifactPaths: - $ref: '#/definitions/ArtifactPaths' - type: object - DownwardAPIProjection: - description: |- - Note that this is identical to a downwardAPI volume source without the default - mode. - properties: - items: - description: |- - Items is a list of DownwardAPIVolume file - +optional - items: - $ref: '#/definitions/DownwardAPIVolumeFile' - type: array - title: Represents downward API info for projecting into a projected volume. - type: object - DownwardAPIVolumeFile: - description: DownwardAPIVolumeFile represents information to create the file containing - the pod field - properties: - fieldRef: - $ref: '#/definitions/ObjectFieldSelector' - mode: - description: |- - Optional: mode bits used to set permissions on this file, must be an octal value - between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. - If not specified, the volume defaultMode will be used. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - path: - description: 'Required: Path is the relative path name of the file to be - created. Must not be absolute or contain the ''..'' path. Must be utf-8 - encoded. The first item of the relative path must not start with ''..''' - type: string - resourceFieldRef: - $ref: '#/definitions/ResourceFieldSelector' - type: object - DownwardAPIVolumeSource: - description: Downward API volumes support ownership management and SELinux relabeling. - properties: - defaultMode: - description: |- - Optional: mode bits to use on created files by default. Must be a - Optional: mode bits used to set permissions on created files by default. - Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. - Defaults to 0644. - Directories within the path are not affected by this setting. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - items: - description: |- - Items is a list of downward API volume file - +optional - items: - $ref: '#/definitions/DownwardAPIVolumeFile' - type: array - title: DownwardAPIVolumeSource represents a volume containing downward API info. - type: object - Duration: - description: |- - Duration is a wrapper around time.Duration which supports correct - marshaling to YAML and JSON. In particular, it marshals into strings, which - can be used as map keys in json. - type: object - EmptyDirVolumeSource: - description: Empty directory volumes support ownership management and SELinux - relabeling. - properties: - medium: - $ref: '#/definitions/StorageMedium' - sizeLimit: - $ref: '#/definitions/Quantity' - title: Represents an empty directory for a pod. - type: object - EnvFromSource: - description: EnvFromSource represents the source of a set of ConfigMaps - properties: - configMapRef: - $ref: '#/definitions/ConfigMapEnvSource' - prefix: - description: |- - An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. - +optional - type: string - secretRef: - $ref: '#/definitions/SecretEnvSource' - type: object - EnvVar: - properties: - name: - description: Name of the environment variable. Must be a C_IDENTIFIER. - type: string - value: - description: |- - Variable references $(VAR_NAME) are expanded - using the previously defined environment variables in the container and - any service environment variables. If a variable cannot be resolved, - the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. - "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". - Escaped references will never be expanded, regardless of whether the variable - exists or not. - Defaults to "". - +optional - type: string - valueFrom: - $ref: '#/definitions/EnvVarSource' - title: EnvVar represents an environment variable present in a Container. - type: object - EnvVarSource: - properties: - configMapKeyRef: - $ref: '#/definitions/ConfigMapKeySelector' - fieldRef: - $ref: '#/definitions/ObjectFieldSelector' - resourceFieldRef: - $ref: '#/definitions/ResourceFieldSelector' - secretKeyRef: - $ref: '#/definitions/SecretKeySelector' - title: EnvVarSource represents a source for the value of an EnvVar. - type: object - EphemeralVolumeSource: - properties: - volumeClaimTemplate: - $ref: '#/definitions/PersistentVolumeClaimTemplate' - title: Represents an ephemeral volume that is handled by a normal storage driver. - type: object - ExecAction: - properties: - command: - description: |- - Command is the command line to execute inside the container, the working directory for the - command is root ('/') in the container's filesystem. The command is simply exec'd, it is - not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use - a shell, you need to explicitly call out to that shell. - Exit status of 0 is treated as live/healthy and non-zero is unhealthy. - +optional - items: - type: string - type: array - title: ExecAction describes a "run in container" action. - type: object - ExecuteTemplateArgs: - properties: - template: - $ref: '#/definitions/Template' - workflow: - $ref: '#/definitions/Workflow' - required: - - workflow - - template - type: object - ExecuteTemplateReply: - properties: - node: - $ref: '#/definitions/NodeResult' - requeue: - $ref: '#/definitions/Duration' - type: object - ExecutorConfig: - properties: - serviceAccountName: - description: ServiceAccountName specifies the service account name of the - executor container. - type: string - title: ExecutorConfig holds configurations of an executor container. - type: object - FCVolumeSource: - description: |- - Fibre Channel volumes can only be mounted as read/write once. - Fibre Channel volumes support ownership management and SELinux relabeling. - properties: - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - TODO: how do we prevent errors in the filesystem from compromising the machine - +optional - type: string - lun: - description: |- - lun is Optional: FC target lun number - +optional - format: int32 - type: integer - readOnly: - description: |- - readOnly is Optional: Defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - targetWWNs: - description: |- - targetWWNs is Optional: FC target worldwide names (WWNs) - +optional - items: - type: string - type: array - wwids: - description: |- - wwids Optional: FC volume world wide identifiers (wwids) - Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. - +optional - items: - type: string - type: array - title: Represents a Fibre Channel volume. - type: object - FieldsV1: - description: |- - Each key is either a '.' representing the field itself, and will always map to an empty set, - or a string representing a sub-field or item. The string will follow one of these four formats: - 'f:', where is the name of a field in a struct, or key in a map - 'v:', where is the exact json formatted value of a list item - 'i:', where is position of a item in a list - 'k:', where is a map of a list item's key fields to their unique values - If a key maps to an empty Fields value, the field that key represents is part of the set. - - The exact format is defined in sigs.k8s.io/structured-merge-diff - +protobuf.options.(gogoproto.goproto_stringer)=false - title: FieldsV1 stores a set of fields in a data structure like a Trie, in JSON - format. - type: object - FlexVolumeSource: - description: |- - FlexVolume represents a generic volume resource that is - provisioned/attached using an exec based plugin. - properties: - driver: - description: driver is the name of the driver to use for this volume. - type: string - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. - +optional - type: string - options: - additionalProperties: - type: string - description: |- - options is Optional: this field holds extra command options if any. - +optional - type: object - readOnly: - description: |- - readOnly is Optional: defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - type: object - FlockerVolumeSource: - description: |- - One and only one of datasetName and datasetUUID should be set. - Flocker volumes do not support ownership management or SELinux relabeling. - properties: - datasetName: - description: |- - datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker - should be considered as deprecated - +optional - type: string - datasetUUID: - description: |- - datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset - +optional - type: string - title: Represents a Flocker volume mounted by the Flocker agent. - type: object - GCEPersistentDiskVolumeSource: - description: |- - A GCE PD must exist before mounting to a container. The disk must - also be in the same GCE project and zone as the kubelet. A GCE PD - can only be mounted as read/write once or read-only many times. GCE - PDs support ownership management and SELinux relabeling. - properties: - fsType: - description: |- - fsType is filesystem type of the volume that you want to mount. - Tip: Ensure that the filesystem type is supported by the host operating system. - Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - TODO: how do we prevent errors in the filesystem from compromising the machine - +optional - type: string - partition: - description: |- - partition is the partition in the volume that you want to mount. - If omitted, the default is to mount by volume name. - Examples: For volume /dev/sda1, you specify the partition as "1". - Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). - More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - +optional - format: int32 - type: integer - pdName: - description: |- - pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. - More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - type: string - readOnly: - description: |- - readOnly here will force the ReadOnly setting in VolumeMounts. - Defaults to false. - More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk - +optional - type: boolean - title: Represents a Persistent Disk resource in Google Compute Engine. - type: object - GCSArtifact: - description: GCSArtifact is the location of a GCS artifact - properties: - bucket: - description: Bucket is the name of the bucket - type: string - key: - description: Key is the path in the bucket where the artifact resides - type: string - serviceAccountKeySecret: - $ref: '#/definitions/SecretKeySelector' - type: object - GRPCAction: - properties: - port: - description: Port number of the gRPC service. Number must be in the range - 1 to 65535. - format: int32 - type: integer - service: - description: |- - Service is the name of the service to place in the gRPC HealthCheckRequest - (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). - - If this is not specified, the default behavior is defined by gRPC. - +optional - +default="" - type: string - type: object - Gauge: - description: Gauge is a Gauge prometheus metric - properties: - operation: - $ref: '#/definitions/GaugeOperation' - realtime: - description: Realtime emits this metric in real time if applicable - type: boolean - value: - description: |- - Value is the value to be used in the operation with the metric's current value. If no operation is set, - value is the value of the metric - type: string - type: object - GaugeOperation: - title: A GaugeOperation is the set of operations that can be used in a gauge metric. - type: string - GitArtifact: - description: GitArtifact is the location of an git artifact - properties: - branch: - description: Branch is the branch to fetch when `SingleBranch` is enabled - type: string - depth: - description: |- - Depth specifies clones/fetches should be shallow and include the given - number of commits from the branch tip - format: uint64 - type: integer - disableSubmodules: - description: DisableSubmodules disables submodules during git clone - type: boolean - fetch: - description: Fetch specifies a number of refs that should be fetched before - checkout - items: - type: string - type: array - insecureIgnoreHostKey: - description: InsecureIgnoreHostKey disables SSH strict host key checking during - git clone - type: boolean - passwordSecret: - $ref: '#/definitions/SecretKeySelector' - repo: - description: Repo is the git repository - type: string - revision: - description: Revision is the git commit, tag, branch to checkout - type: string - singleBranch: - description: SingleBranch enables single branch clone, using the `branch` - parameter - type: boolean - sshPrivateKeySecret: - $ref: '#/definitions/SecretKeySelector' - usernameSecret: - $ref: '#/definitions/SecretKeySelector' - type: object - GitRepoVolumeSource: - description: |- - DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an - EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir - into the Pod's container. - properties: - directory: - description: |- - directory is the target directory name. - Must not contain or start with '..'. If '.' is supplied, the volume directory will be the - git repository. Otherwise, if specified, the volume will contain the git repository in - the subdirectory with the given name. - +optional - type: string - repository: - description: repository is the URL - type: string - revision: - description: |- - revision is the commit hash for the specified revision. - +optional - type: string - title: |- - Represents a volume that is populated with the contents of a git repository. - Git repo volumes do not support ownership management. - Git repo volumes support SELinux relabeling. - type: object - GlusterfsVolumeSource: - description: Glusterfs volumes do not support ownership management or SELinux - relabeling. - properties: - endpoints: - description: |- - endpoints is the endpoint name that details Glusterfs topology. - More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - type: string - path: - description: |- - path is the Glusterfs volume path. - More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - type: string - readOnly: - description: |- - readOnly here will force the Glusterfs volume to be mounted with read-only permissions. - Defaults to false. - More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod - +optional - type: boolean - title: Represents a Glusterfs mount that lasts the lifetime of a pod. - type: object - HDFSArtifact: - description: HDFSArtifact is the location of an HDFS artifact - properties: - addresses: - description: Addresses is accessible addresses of HDFS name nodes - items: - type: string - type: array - force: - description: Force copies a file forcibly even if it exists - type: boolean - hdfsUser: - description: |- - HDFSUser is the user to access HDFS file system. - It is ignored if either ccache or keytab is used. - type: string - krbCCacheSecret: - $ref: '#/definitions/SecretKeySelector' - krbConfigConfigMap: - $ref: '#/definitions/ConfigMapKeySelector' - krbKeytabSecret: - $ref: '#/definitions/SecretKeySelector' - krbRealm: - description: |- - KrbRealm is the Kerberos realm used with Kerberos keytab - It must be set if keytab is used. - type: string - krbServicePrincipalName: - description: |- - KrbServicePrincipalName is the principal name of Kerberos service - It must be set if either ccache or keytab is used. - type: string - krbUsername: - description: |- - KrbUsername is the Kerberos username used with Kerberos keytab - It must be set if keytab is used. - type: string - path: - description: Path is a file path in HDFS - type: string - type: object - HTTP: - properties: - body: - description: Body is content of the HTTP Request - type: string - bodyFrom: - $ref: '#/definitions/HTTPBodySource' - headers: - $ref: '#/definitions/HTTPHeaders' - insecureSkipVerify: - description: InsecureSkipVerify is a bool when if set to true will skip TLS - verification for the HTTP client - type: boolean - method: - description: Method is HTTP methods for HTTP Request - type: string - successCondition: - description: SuccessCondition is an expression if evaluated to true is considered - successful - type: string - timeoutSeconds: - description: TimeoutSeconds is request timeout for HTTP Request. Default is - 30 seconds - format: int64 - type: integer - url: - description: URL of the HTTP Request - type: string - type: object - HTTPArtifact: - description: HTTPArtifact allows a file served on HTTP to be placed as an input - artifact in a container - properties: - auth: - $ref: '#/definitions/HTTPAuth' - headers: - description: Headers are an optional list of headers to send with HTTP requests - for artifacts - items: - $ref: '#/definitions/Header' - type: array - url: - description: URL of the artifact - type: string - type: object - HTTPAuth: - properties: - basicAuth: - $ref: '#/definitions/BasicAuth' - clientCert: - $ref: '#/definitions/ClientCertAuth' - oauth2: - $ref: '#/definitions/OAuth2Auth' - type: object - HTTPBodySource: - properties: - bytes: - items: - format: uint8 - type: integer - type: array - title: HTTPBodySource contains the source of the HTTP body. - type: object - HTTPGetAction: - properties: - host: - description: |- - Host name to connect to, defaults to the pod IP. You probably want to set - "Host" in httpHeaders instead. - +optional - type: string - httpHeaders: - description: |- - Custom headers to set in the request. HTTP allows repeated headers. - +optional - items: - $ref: '#/definitions/HTTPHeader' - type: array - path: - description: |- - Path to access on the HTTP server. - +optional - type: string - port: - $ref: '#/definitions/IntOrString' - scheme: - $ref: '#/definitions/URIScheme' - title: HTTPGetAction describes an action based on HTTP Get requests. - type: object - HTTPHeader: - properties: - name: - type: string - value: - type: string - valueFrom: - $ref: '#/definitions/HTTPHeaderSource' - type: object - HTTPHeaderSource: - properties: - secretKeyRef: - $ref: '#/definitions/SecretKeySelector' - type: object - HTTPHeaders: - items: - $ref: '#/definitions/HTTPHeader' - type: array - Header: - description: Header indicate a key-value request header to be used when fetching - artifacts over HTTP - properties: - name: - description: Name is the header name - type: string - value: - description: Value is the literal value to use for the header - type: string - type: object - Histogram: - description: Histogram is a Histogram prometheus metric - properties: - buckets: - description: Buckets is a list of bucket divisors for the histogram - items: - $ref: '#/definitions/Amount' - type: array - value: - description: Value is the value of the metric - type: string - type: object - HostAlias: - description: |- - HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the - pod's hosts file. - properties: - hostnames: - description: Hostnames for the above IP address. - items: - type: string - type: array - ip: - description: IP address of the host file entry. - type: string - type: object - HostPathType: - description: +enum - type: string - HostPathVolumeSource: - description: Host path volumes do not support ownership management or SELinux - relabeling. - properties: - path: - description: |- - path of the directory on the host. - If the path is a symlink, it will follow the link to the real path. - More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath - type: string - type: - $ref: '#/definitions/HostPathType' - title: Represents a host path mapped into a pod. - type: object - ISCSIVolumeSource: - description: |- - ISCSI volumes can only be mounted as read/write once. - ISCSI volumes support ownership management and SELinux relabeling. - properties: - chapAuthDiscovery: - description: |- - chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication - +optional - type: boolean - chapAuthSession: - description: |- - chapAuthSession defines whether support iSCSI Session CHAP authentication - +optional - type: boolean - fsType: - description: |- - fsType is the filesystem type of the volume that you want to mount. - Tip: Ensure that the filesystem type is supported by the host operating system. - Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi - TODO: how do we prevent errors in the filesystem from compromising the machine - +optional - type: string - initiatorName: - description: |- - initiatorName is the custom iSCSI Initiator Name. - If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface - : will be created for the connection. - +optional - type: string - iqn: - description: iqn is the target iSCSI Qualified Name. - type: string - iscsiInterface: - description: |- - iscsiInterface is the interface Name that uses an iSCSI transport. - Defaults to 'default' (tcp). - +optional - type: string - lun: - description: lun represents iSCSI Target Lun number. - format: int32 - type: integer - portals: - description: |- - portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port - is other than default (typically TCP ports 860 and 3260). - +optional - items: - type: string - type: array - readOnly: - description: |- - readOnly here will force the ReadOnly setting in VolumeMounts. - Defaults to false. - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - targetPortal: - description: |- - targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port - is other than default (typically TCP ports 860 and 3260). - type: string - title: Represents an ISCSI disk. - type: object - Inputs: - description: Inputs are the mechanism for passing parameters, artifacts, volumes - from one template to another - properties: - artifacts: - $ref: '#/definitions/Artifacts' - parameters: - description: |- - Parameters are a list of parameters passed as inputs - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/Parameter' - type: array - type: object - IntOrString: - description: |- - +protobuf=true - +protobuf.options.(gogoproto.goproto_stringer)=false - +k8s:openapi-gen=true - properties: - IntVal: - format: int32 - type: integer - StrVal: - type: string - Type: - $ref: '#/definitions/Type' - title: |- - IntOrString is a type that can hold an int32 or a string. When used in - JSON or YAML marshalling and unmarshalling, it produces or consumes the - inner type. This allows you to have, for example, a JSON field that can - accept a name or number. - TODO: Rename to Int32OrString - type: object - Item: - description: |- - +protobuf.options.(gogoproto.goproto_stringer)=false - +kubebuilder:validation:Type=object - title: |- - Item expands a single workflow step into multiple parallel steps - The value of Item can be a map, string, bool, or number - type: object - KeyToPath: - properties: - key: - description: key is the key to project. - type: string - mode: - description: |- - mode is Optional: mode bits used to set permissions on this file. - Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. - If not specified, the volume defaultMode will be used. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - path: - description: |- - path is the relative path of the file to map the key to. - May not be an absolute path. - May not contain the path element '..'. - May not start with the string '..'. - type: string - title: Maps a string key to a path within a volume. - type: object - LabelSelector: - description: |- - A label selector is a label query over a set of resources. The result of matchLabels and - matchExpressions are ANDed. An empty label selector matches all objects. A null - label selector matches no objects. - +structType=atomic - properties: - matchExpressions: - description: |- - matchExpressions is a list of label selector requirements. The requirements are ANDed. - +optional - items: - $ref: '#/definitions/LabelSelectorRequirement' - type: array - matchLabels: - additionalProperties: - type: string - description: |- - matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels - map is equivalent to an element of matchExpressions, whose key field is "key", the - operator is "In", and the values array contains only "value". The requirements are ANDed. - +optional - type: object - type: object - LabelSelectorOperator: - title: A label selector operator is the set of operators that can be used in a - selector requirement. - type: string - LabelSelectorRequirement: - description: |- - A label selector requirement is a selector that contains values, a key, and an operator that - relates the key and values. - properties: - key: - description: |- - key is the label key that the selector applies to. - +patchMergeKey=key - +patchStrategy=merge - type: string - operator: - $ref: '#/definitions/LabelSelectorOperator' - values: - description: |- - values is an array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. This array is replaced during a strategic - merge patch. - +optional - items: - type: string - type: array - type: object - Lifecycle: - description: |- - Lifecycle describes actions that the management system should take in response to container lifecycle - events. For the PostStart and PreStop lifecycle handlers, management of the container blocks - until the action is complete, unless the container process fails, in which case the handler is aborted. - properties: - postStart: - $ref: '#/definitions/LifecycleHandler' - preStop: - $ref: '#/definitions/LifecycleHandler' - type: object - LifecycleHandler: - description: |- - LifecycleHandler defines a specific action that should be taken in a lifecycle - hook. One and only one of the fields, except TCPSocket must be specified. - properties: - exec: - $ref: '#/definitions/ExecAction' - httpGet: - $ref: '#/definitions/HTTPGetAction' - tcpSocket: - $ref: '#/definitions/TCPSocketAction' - type: object - LifecycleHook: - properties: - arguments: - $ref: '#/definitions/Arguments' - expression: - description: |- - Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not - be retried and the retry strategy will be ignored - type: string - template: - description: Template is the name of the template to execute by the hook - type: string - templateRef: - $ref: '#/definitions/TemplateRef' - type: object - LifecycleHooks: - additionalProperties: - $ref: '#/definitions/LifecycleHook' - type: object - LocalObjectReference: - description: |- - LocalObjectReference contains enough information to let you locate the - referenced object inside the same namespace. - +structType=atomic - properties: - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - type: object - ManagedFieldsEntry: - description: |- - ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource - that the fieldset applies to. - properties: - apiVersion: - description: |- - APIVersion defines the version of this resource that this field set - applies to. The format is "group/version" just like the top-level - APIVersion field. It is necessary to track the version of a field - set because it cannot be automatically converted. - type: string - fieldsType: - description: |- - FieldsType is the discriminator for the different fields format and version. - There is currently only one possible value: "FieldsV1" - type: string - fieldsV1: - $ref: '#/definitions/FieldsV1' - manager: - description: Manager is an identifier of the workflow managing these fields. - type: string - operation: - $ref: '#/definitions/ManagedFieldsOperationType' - subresource: - description: |- - Subresource is the name of the subresource used to update that object, or - empty string if the object was updated through the main resource. The - value of this field is used to distinguish between managers, even if they - share the same name. For example, a status update will be distinct from a - regular update using the same manager name. - Note that the APIVersion field is not related to the Subresource field and - it always corresponds to the version of the main resource. - type: string - time: - $ref: '#/definitions/Time' - type: object - ManagedFieldsOperationType: - title: ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry - being created. - type: string - ManifestFrom: - properties: - artifact: - $ref: '#/definitions/Artifact' - type: object - Memoize: - description: Memoization enables caching for the Outputs of the template - properties: - cache: - $ref: '#/definitions/Cache' - key: - description: Key is the key to use as the caching key - type: string - maxAge: - description: |- - MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older - than the MaxAge, it will be ignored. - type: string - type: object - Metadata: - description: Pod metdata - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - MetricLabel: - description: MetricLabel is a single label for a prometheus metric - properties: - key: - type: string - value: - type: string - type: object - Metrics: - description: Metrics are a list of metrics emitted from a Workflow/Template - properties: - prometheus: - description: Prometheus is a list of prometheus metrics to be emitted - items: - $ref: '#/definitions/Prometheus' - type: array - type: object - MountPropagationMode: - description: +enum - title: MountPropagationMode describes mount propagation. - type: string - Mutex: - description: Mutex holds Mutex configuration - properties: - name: - description: name of the mutex - type: string - namespace: - default: '[namespace of workflow]' - type: string - type: object - NFSVolumeSource: - description: NFS volumes do not support ownership management or SELinux relabeling. - properties: - path: - description: |- - path that is exported by the NFS server. - More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - type: string - readOnly: - description: |- - readOnly here will force the NFS export to be mounted with read-only permissions. - Defaults to false. - More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - +optional - type: boolean - server: - description: |- - server is the hostname or IP address of the NFS server. - More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs - type: string - title: Represents an NFS mount that lasts the lifetime of a pod. - type: object - NodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - description: |- - The scheduler will prefer to schedule pods to nodes that satisfy - the affinity expressions specified by this field, but it may choose - a node that violates one or more of the expressions. The node that is - most preferred is the one with the greatest sum of weights, i.e. - for each node that meets all of the scheduling requirements (resource - request, requiredDuringScheduling affinity expressions, etc.), - compute a sum by iterating through the elements of this field and adding - "weight" to the sum if the node matches the corresponding matchExpressions; the - node(s) with the highest sum are the most preferred. - +optional - items: - $ref: '#/definitions/PreferredSchedulingTerm' - type: array - requiredDuringSchedulingIgnoredDuringExecution: - $ref: '#/definitions/NodeSelector' - title: Node affinity is a group of node affinity scheduling rules. - type: object - NodePhase: - title: NodePhase is a label for the condition of a node at the current time. - type: string - NodeResult: - properties: - message: - type: string - outputs: - $ref: '#/definitions/Outputs' - phase: - $ref: '#/definitions/NodePhase' - progress: - $ref: '#/definitions/Progress' - type: object - NodeSelector: - description: |- - A node selector represents the union of the results of one or more label queries - over a set of nodes; that is, it represents the OR of the selectors represented - by the node selector terms. - +structType=atomic - properties: - nodeSelectorTerms: - description: Required. A list of node selector terms. The terms are ORed. - items: - $ref: '#/definitions/NodeSelectorTerm' - type: array - type: object - NodeSelectorOperator: - description: |- - A node selector operator is the set of operators that can be used in - a node selector requirement. - +enum - type: string - NodeSelectorRequirement: - description: |- - A node selector requirement is a selector that contains values, a key, and an operator - that relates the key and values. - properties: - key: - description: The label key that the selector applies to. - type: string - operator: - $ref: '#/definitions/NodeSelectorOperator' - values: - description: |- - An array of string values. If the operator is In or NotIn, - the values array must be non-empty. If the operator is Exists or DoesNotExist, - the values array must be empty. If the operator is Gt or Lt, the values - array must have a single element, which will be interpreted as an integer. - This array is replaced during a strategic merge patch. - +optional - items: - type: string - type: array - type: object - NodeSelectorTerm: - description: |- - A null or empty node selector term matches no objects. The requirements of - them are ANDed. - The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. - +structType=atomic - properties: - matchExpressions: - description: |- - A list of node selector requirements by node's labels. - +optional - items: - $ref: '#/definitions/NodeSelectorRequirement' - type: array - matchFields: - description: |- - A list of node selector requirements by node's fields. - +optional - items: - $ref: '#/definitions/NodeSelectorRequirement' - type: array - type: object - NoneStrategy: - description: |- - NoneStrategy indicates to skip tar process and upload the files or directory tree as independent - files. Note that if the artifact is a directory, the artifact driver must support the ability to - save/load the directory appropriately. - type: object - OAuth2Auth: - description: OAuth2Auth holds all information for client authentication via OAuth2 - tokens - properties: - clientIDSecret: - $ref: '#/definitions/SecretKeySelector' - clientSecretSecret: - $ref: '#/definitions/SecretKeySelector' - endpointParams: - items: - $ref: '#/definitions/OAuth2EndpointParam' - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - $ref: '#/definitions/SecretKeySelector' - type: object - OAuth2EndpointParam: - description: EndpointParam is for requesting optional fields that should be sent - in the oauth request - properties: - key: - description: Name is the header name - type: string - value: - description: Value is the literal value to use for the header - type: string - type: object - OSSArtifact: - description: OSSArtifact is the location of an Alibaba Cloud OSS artifact - properties: - accessKeySecret: - $ref: '#/definitions/SecretKeySelector' - bucket: - description: Bucket is the name of the bucket - type: string - createBucketIfNotPresent: - description: CreateBucketIfNotPresent tells the driver to attempt to create - the OSS bucket for output artifacts, if it doesn't exist - type: boolean - endpoint: - description: Endpoint is the hostname of the bucket endpoint - type: string - key: - description: Key is the path in the bucket where the artifact resides - type: string - lifecycleRule: - $ref: '#/definitions/OSSLifecycleRule' - secretKeySecret: - $ref: '#/definitions/SecretKeySelector' - securityToken: - description: 'SecurityToken is the user''s temporary security token. For more - details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' - type: string - useSDKCreds: - description: UseSDKCreds tells the driver to figure out credentials based - on sdk defaults. - type: boolean - type: object - OSSLifecycleRule: - description: OSSLifecycleRule specifies how to manage bucket's lifecycle - properties: - markDeletionAfterDays: - description: MarkDeletionAfterDays is the number of days before we delete - objects in the bucket - format: int32 - type: integer - markInfrequentAccessAfterDays: - description: MarkInfrequentAccessAfterDays is the number of days before we - convert the objects in the bucket to Infrequent Access (IA) storage type - format: int32 - type: integer - type: object - ObjectFieldSelector: - description: +structType=atomic - properties: - apiVersion: - description: |- - Version of the schema the FieldPath is written in terms of, defaults to "v1". - +optional - type: string - fieldPath: - description: Path of the field to select in the specified API version. - type: string - title: ObjectFieldSelector selects an APIVersioned field of an object. - type: object - ObjectMeta: - properties: - name: - type: string - namespace: - type: string - uid: - type: string - type: object - Outputs: - description: Outputs hold parameters, artifacts, and results from a step - properties: - artifacts: - $ref: '#/definitions/Artifacts' - exitCode: - description: ExitCode holds the exit code of a script template - type: string - parameters: - description: |- - Parameters holds the list of output parameters produced by a step - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/Parameter' - type: array - result: - description: Result holds the result (stdout) of a script template - type: string - type: object - OwnerReference: - description: |- - OwnerReference contains enough information to let you identify an owning - object. An owning object must be in the same namespace as the dependent, or - be cluster-scoped, so there is no namespace field. - +structType=atomic - properties: - apiVersion: - description: API version of the referent. - type: string - blockOwnerDeletion: - description: |- - If true, AND if the owner has the "foregroundDeletion" finalizer, then - the owner cannot be deleted from the key-value store until this - reference is removed. - See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion - for how the garbage collector interacts with this field and enforces the foreground deletion. - Defaults to false. - To set this field, a user needs "delete" permission of the owner, - otherwise 422 (Unprocessable Entity) will be returned. - +optional - type: boolean - controller: - description: |- - If true, this reference points to the managing controller. - +optional - type: boolean - kind: - description: |- - Kind of the referent. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds - type: string - name: - description: |- - Name of the referent. - More info: http://kubernetes.io/docs/user-guide/identifiers#names - type: string - uid: - $ref: '#/definitions/UID' - type: object - ParallelSteps: - description: +kubebuilder:validation:Type=array - type: object - Parameter: - description: Parameter indicate a passed string parameter to a service template - with an optional default value - properties: - default: - $ref: '#/definitions/AnyString' - description: - $ref: '#/definitions/AnyString' - enum: - description: Enum holds a list of string values to choose from, for the actual - value of the parameter - items: - $ref: '#/definitions/AnyString' - type: array - globalName: - description: |- - GlobalName exports an output parameter to the global scope, making it available as - '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters - type: string - name: - description: Name is the parameter name - type: string - value: - $ref: '#/definitions/AnyString' - valueFrom: - $ref: '#/definitions/ValueFrom' - type: object - PersistentVolumeAccessMode: - description: +enum - type: string - PersistentVolumeClaimSpec: - description: |- - PersistentVolumeClaimSpec describes the common attributes of storage devices - and allows a Source for provider-specific attributes - properties: - accessModes: - description: |- - accessModes contains the desired access modes the volume should have. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 - +optional - items: - $ref: '#/definitions/PersistentVolumeAccessMode' - type: array - dataSource: - $ref: '#/definitions/TypedLocalObjectReference' - dataSourceRef: - $ref: '#/definitions/TypedObjectReference' - resources: - $ref: '#/definitions/ResourceRequirements' - selector: - $ref: '#/definitions/LabelSelector' - storageClassName: - description: |- - storageClassName is the name of the StorageClass required by the claim. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 - +optional - type: string - volumeMode: - $ref: '#/definitions/PersistentVolumeMode' - volumeName: - description: |- - volumeName is the binding reference to the PersistentVolume backing this claim. - +optional - type: string - type: object - PersistentVolumeClaimTemplate: - description: |- - PersistentVolumeClaimTemplate is used to produce - PersistentVolumeClaim objects as part of an EphemeralVolumeSource. - properties: - annotations: - additionalProperties: - type: string - description: |- - Annotations is an unstructured key value map stored with a resource that may be - set by external tools to store and retrieve arbitrary metadata. They are not - queryable and should be preserved when modifying objects. - More info: http://kubernetes.io/docs/user-guide/annotations - +optional - type: object - creationTimestamp: - $ref: '#/definitions/Time' - deletionGracePeriodSeconds: - description: |- - Number of seconds allowed for this object to gracefully terminate before - it will be removed from the system. Only set when deletionTimestamp is also set. - May only be shortened. - Read-only. - +optional - format: int64 - type: integer - deletionTimestamp: - $ref: '#/definitions/Time' - finalizers: - description: |- - Must be empty before the object is deleted from the registry. Each entry - is an identifier for the responsible component that will remove the entry - from the list. If the deletionTimestamp of the object is non-nil, entries - in this list can only be removed. - Finalizers may be processed and removed in any order. Order is NOT enforced - because it introduces significant risk of stuck finalizers. - finalizers is a shared field, any actor with permission can reorder it. - If the finalizer list is processed in order, then this can lead to a situation - in which the component responsible for the first finalizer in the list is - waiting for a signal (field value, external system, or other) produced by a - component responsible for a finalizer later in the list, resulting in a deadlock. - Without enforced ordering finalizers are free to order amongst themselves and - are not vulnerable to ordering changes in the list. - +optional - +patchStrategy=merge - items: - type: string - type: array - generateName: - description: |- - GenerateName is an optional prefix, used by the server, to generate a unique - name ONLY IF the Name field has not been provided. - If this field is used, the name returned to the client will be different - than the name passed. This value will also be combined with a unique suffix. - The provided value has the same validation rules as the Name field, - and may be truncated by the length of the suffix required to make the value - unique on the server. - - If this field is specified and the generated name exists, the server will return a 409. - - Applied only if Name is not specified. - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency - +optional - type: string - generation: - description: |- - A sequence number representing a specific generation of the desired state. - Populated by the system. Read-only. - +optional - format: int64 - type: integer - labels: - additionalProperties: - type: string - description: |- - Map of string keys and values that can be used to organize and categorize - (scope and select) objects. May match selectors of replication controllers - and services. - More info: http://kubernetes.io/docs/user-guide/labels - +optional - type: object - managedFields: - description: |- - ManagedFields maps workflow-id and version to the set of fields - that are managed by that workflow. This is mostly for internal - housekeeping, and users typically shouldn't need to set or - understand this field. A workflow can be the user's name, a - controller's name, or the name of a specific apply path like - "ci-cd". The set of fields is always in the version that the - workflow used when modifying the object. - - +optional - items: - $ref: '#/definitions/ManagedFieldsEntry' - type: array - name: - description: |- - Name must be unique within a namespace. Is required when creating resources, although - some resources may allow a client to request the generation of an appropriate name - automatically. Name is primarily intended for creation idempotence and configuration - definition. - Cannot be updated. - More info: http://kubernetes.io/docs/user-guide/identifiers#names - +optional - type: string - namespace: - description: |- - Namespace defines the space within which each name must be unique. An empty namespace is - equivalent to the "default" namespace, but "default" is the canonical representation. - Not all objects are required to be scoped to a namespace - the value of this field for - those objects will be empty. - - Must be a DNS_LABEL. - Cannot be updated. - More info: http://kubernetes.io/docs/user-guide/namespaces - +optional - type: string - ownerReferences: - description: |- - List of objects depended by this object. If ALL objects in the list have - been deleted, this object will be garbage collected. If this object is managed by a controller, - then an entry in this list will point to this controller, with the controller field set to true. - There cannot be more than one managing controller. - +optional - +patchMergeKey=uid - +patchStrategy=merge - items: - $ref: '#/definitions/OwnerReference' - type: array - resourceVersion: - description: |- - An opaque value that represents the internal version of this object that can - be used by clients to determine when objects have changed. May be used for optimistic - concurrency, change detection, and the watch operation on a resource or set of resources. - Clients must treat these values as opaque and passed unmodified back to the server. - They may only be valid for a particular resource or set of resources. - - Populated by the system. - Read-only. - Value must be treated as opaque by clients and . - More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency - +optional - type: string - selfLink: - description: |- - Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. - +optional - type: string - spec: - $ref: '#/definitions/PersistentVolumeClaimSpec' - uid: - $ref: '#/definitions/UID' - type: object - PersistentVolumeClaimVolumeSource: - description: |- - This volume finds the bound PV and mounts that volume for the pod. A - PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another - type of volume that is owned by someone else (the system). - properties: - claimName: - description: |- - claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. - More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims - type: string - readOnly: - description: |- - readOnly Will force the ReadOnly setting in VolumeMounts. - Default false. - +optional - type: boolean - title: PersistentVolumeClaimVolumeSource references the user's PVC in the same - namespace. - type: object - PersistentVolumeMode: - description: +enum - title: PersistentVolumeMode describes how a volume is intended to be consumed, - either Block or Filesystem. - type: string - PhotonPersistentDiskVolumeSource: - properties: - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - type: string - pdID: - description: pdID is the ID that identifies Photon Controller persistent disk - type: string - title: Represents a Photon Controller persistent disk resource. - type: object - Plugin: - description: Plugin is an Object with exactly one key - type: object - PodAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - description: |- - The scheduler will prefer to schedule pods to nodes that satisfy - the affinity expressions specified by this field, but it may choose - a node that violates one or more of the expressions. The node that is - most preferred is the one with the greatest sum of weights, i.e. - for each node that meets all of the scheduling requirements (resource - request, requiredDuringScheduling affinity expressions, etc.), - compute a sum by iterating through the elements of this field and adding - "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the - node(s) with the highest sum are the most preferred. - +optional - items: - $ref: '#/definitions/WeightedPodAffinityTerm' - type: array - requiredDuringSchedulingIgnoredDuringExecution: - description: |- - If the affinity requirements specified by this field are not met at - scheduling time, the pod will not be scheduled onto the node. - If the affinity requirements specified by this field cease to be met - at some point during pod execution (e.g. due to a pod label update), the - system may or may not try to eventually evict the pod from its node. - When there are multiple elements, the lists of nodes corresponding to each - podAffinityTerm are intersected, i.e. all terms must be satisfied. - +optional - items: - $ref: '#/definitions/PodAffinityTerm' - type: array - title: Pod affinity is a group of inter pod affinity scheduling rules. - type: object - PodAffinityTerm: - description: |- - Defines a set of pods (namely those matching the labelSelector - relative to the given namespace(s)) that this pod should be - co-located (affinity) or not co-located (anti-affinity) with, - where co-located is defined as running on a node whose value of - the label with key matches that of any node on which - a pod of the set of pods is running - properties: - labelSelector: - $ref: '#/definitions/LabelSelector' - namespaceSelector: - $ref: '#/definitions/LabelSelector' - namespaces: - description: |- - namespaces specifies a static list of namespace names that the term applies to. - The term is applied to the union of the namespaces listed in this field - and the ones selected by namespaceSelector. - null or empty namespaces list and null namespaceSelector means "this pod's namespace". - +optional - items: - type: string - type: array - topologyKey: - description: |- - This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching - the labelSelector in the specified namespaces, where co-located is defined as running on a node - whose value of the label with key topologyKey matches that of any node on which any of the - selected pods is running. - Empty topologyKey is not allowed. - type: string - type: object - PodAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - description: |- - The scheduler will prefer to schedule pods to nodes that satisfy - the anti-affinity expressions specified by this field, but it may choose - a node that violates one or more of the expressions. The node that is - most preferred is the one with the greatest sum of weights, i.e. - for each node that meets all of the scheduling requirements (resource - request, requiredDuringScheduling anti-affinity expressions, etc.), - compute a sum by iterating through the elements of this field and adding - "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the - node(s) with the highest sum are the most preferred. - +optional - items: - $ref: '#/definitions/WeightedPodAffinityTerm' - type: array - requiredDuringSchedulingIgnoredDuringExecution: - description: |- - If the anti-affinity requirements specified by this field are not met at - scheduling time, the pod will not be scheduled onto the node. - If the anti-affinity requirements specified by this field cease to be met - at some point during pod execution (e.g. due to a pod label update), the - system may or may not try to eventually evict the pod from its node. - When there are multiple elements, the lists of nodes corresponding to each - podAffinityTerm are intersected, i.e. all terms must be satisfied. - +optional - items: - $ref: '#/definitions/PodAffinityTerm' - type: array - title: Pod anti affinity is a group of inter pod anti affinity scheduling rules. - type: object - PodFSGroupChangePolicy: - description: |- - PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume - when volume is mounted. - +enum - type: string - PodSecurityContext: - description: |- - Some fields are also present in container.securityContext. Field values of - container.securityContext take precedence over field values of PodSecurityContext. - properties: - fsGroup: - description: |- - A special supplemental group that applies to all containers in a pod. - Some volume types allow the Kubelet to change the ownership of that volume - to be owned by the pod: - - 1. The owning GID will be the FSGroup - 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) - 3. The permission bits are OR'd with rw-rw---- - - If unset, the Kubelet will not modify the ownership and permissions of any volume. - Note that this field cannot be set when spec.os.name is windows. - +optional - format: int64 - type: integer - fsGroupChangePolicy: - $ref: '#/definitions/PodFSGroupChangePolicy' - runAsGroup: - description: |- - The GID to run the entrypoint of the container process. - Uses runtime default if unset. - May also be set in SecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence - for that container. - Note that this field cannot be set when spec.os.name is windows. - +optional - format: int64 - type: integer - runAsNonRoot: - description: |- - Indicates that the container must run as a non-root user. - If true, the Kubelet will validate the image at runtime to ensure that it - does not run as UID 0 (root) and fail to start the container if it does. - If unset or false, no such validation will be performed. - May also be set in SecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence. - +optional - type: boolean - runAsUser: - description: |- - The UID to run the entrypoint of the container process. - Defaults to user specified in image metadata if unspecified. - May also be set in SecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence - for that container. - Note that this field cannot be set when spec.os.name is windows. - +optional - format: int64 - type: integer - seLinuxOptions: - $ref: '#/definitions/SELinuxOptions' - seccompProfile: - $ref: '#/definitions/SeccompProfile' - supplementalGroups: - description: |- - A list of groups applied to the first process run in each container, in addition - to the container's primary GID, the fsGroup (if specified), and group memberships - defined in the container image for the uid of the container process. If unspecified, - no additional groups are added to any container. Note that group memberships - defined in the container image for the uid of the container process are still effective, - even if they are not included in this list. - Note that this field cannot be set when spec.os.name is windows. - +optional - items: - format: int64 - type: integer - type: array - sysctls: - description: |- - Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported - sysctls (by the container runtime) might fail to launch. - Note that this field cannot be set when spec.os.name is windows. - +optional - items: - $ref: '#/definitions/Sysctl' - type: array - windowsOptions: - $ref: '#/definitions/WindowsSecurityContextOptions' - title: PodSecurityContext holds pod-level security attributes and common container - settings. - type: object - PortworxVolumeSource: - properties: - fsType: - description: |- - fSType represents the filesystem type to mount - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. - type: string - readOnly: - description: |- - readOnly defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - volumeID: - description: volumeID uniquely identifies a Portworx volume - type: string - title: PortworxVolumeSource represents a Portworx volume resource. - type: object - PreferredSchedulingTerm: - description: |- - An empty preferred scheduling term matches all objects with implicit weight 0 - (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). - properties: - preference: - $ref: '#/definitions/NodeSelectorTerm' - weight: - description: Weight associated with matching the corresponding nodeSelectorTerm, - in the range 1-100. - format: int32 - type: integer - type: object - Probe: - description: |- - Probe describes a health check to be performed against a container to determine whether it is - alive or ready to receive traffic. - properties: - exec: - $ref: '#/definitions/ExecAction' - failureThreshold: - description: |- - Minimum consecutive failures for the probe to be considered failed after having succeeded. - Defaults to 3. Minimum value is 1. - +optional - format: int32 - type: integer - grpc: - $ref: '#/definitions/GRPCAction' - httpGet: - $ref: '#/definitions/HTTPGetAction' - initialDelaySeconds: - description: |- - Number of seconds after the container has started before liveness probes are initiated. - More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - +optional - format: int32 - type: integer - periodSeconds: - description: |- - How often (in seconds) to perform the probe. - Default to 10 seconds. Minimum value is 1. - +optional - format: int32 - type: integer - successThreshold: - description: |- - Minimum consecutive successes for the probe to be considered successful after having failed. - Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. - +optional - format: int32 - type: integer - tcpSocket: - $ref: '#/definitions/TCPSocketAction' - terminationGracePeriodSeconds: - description: |- - Optional duration in seconds the pod needs to terminate gracefully upon probe failure. - The grace period is the duration in seconds after the processes running in the pod are sent - a termination signal and the time when the processes are forcibly halted with a kill signal. - Set this value longer than the expected cleanup time for your process. - If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this - value overrides the value provided by the pod spec. - Value must be non-negative integer. The value zero indicates stop immediately via - the kill signal (no opportunity to shut down). - This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. - Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. - +optional - format: int64 - type: integer - timeoutSeconds: - description: |- - Number of seconds after which the probe times out. - Defaults to 1 second. Minimum value is 1. - More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes - +optional - format: int32 - type: integer - type: object - ProcMountType: - description: +enum - type: string - Progress: - title: Progress in N/M format. N is number of task complete. M is number of tasks. - type: string - ProjectedVolumeSource: - description: Represents a projected volume source - properties: - defaultMode: - description: |- - defaultMode are the mode bits used to set permissions on created files by default. - Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. - Directories within the path are not affected by this setting. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - sources: - description: |- - sources is the list of volume projections - +optional - items: - $ref: '#/definitions/VolumeProjection' - type: array - type: object - Prometheus: - description: Prometheus is a prometheus metric to be emitted - properties: - counter: - $ref: '#/definitions/Counter' - gauge: - $ref: '#/definitions/Gauge' - help: - description: Help is a string that describes the metric - type: string - histogram: - $ref: '#/definitions/Histogram' - labels: - description: Labels is a list of metric labels - items: - $ref: '#/definitions/MetricLabel' - type: array - name: - description: Name is the name of the metric - type: string - when: - description: When is a conditional statement that decides when to emit the - metric - type: string - type: object - Protocol: - description: +enum - title: Protocol defines network protocols supported for things like container - ports. - type: string - PullPolicy: - description: |- - PullPolicy describes a policy for if/when to pull a container image - +enum - type: string - Quantity: - description: |- - The serialization format is: - - ``` - ::= - - (Note that may be empty, from the "" case in .) - - ::= 0 | 1 | ... | 9 - ::= | - ::= | . | . | . - ::= "+" | "-" - ::= | - ::= | | - ::= Ki | Mi | Gi | Ti | Pi | Ei - - (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) - - ::= m | "" | k | M | G | T | P | E - - (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) - - ::= "e" | "E" - ``` - - No matter which of the three exponent forms is used, no quantity may represent - a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal - places. Numbers larger or more precise will be capped or rounded up. - (E.g.: 0.1m will rounded up to 1m.) - This may be extended in the future if we require larger or smaller quantities. - - When a Quantity is parsed from a string, it will remember the type of suffix - it had, and will use the same type again when it is serialized. - - Before serializing, Quantity will be put in "canonical form". - This means that Exponent/suffix will be adjusted up or down (with a - corresponding increase or decrease in Mantissa) such that: - - No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible. - - The sign will be omitted unless the number is negative. - - Examples: - - 1.5 will be serialized as "1500m" - 1.5Gi will be serialized as "1536Mi" - - Note that the quantity will NEVER be internally represented by a - floating point number. That is the whole point of this exercise. - - Non-canonical values will still parse as long as they are well formed, - but will be re-emitted in their canonical form. (So always use canonical - form, or don't diff.) - - This format is intended to make it difficult to use these numbers without - writing some sort of special handling code in the hopes that that will - cause implementors to also use a fixed point implementation. - - +protobuf=true - +protobuf.embed=string - +protobuf.options.marshal=false - +protobuf.options.(gogoproto.goproto_stringer)=false - +k8s:deepcopy-gen=true - +k8s:openapi-gen=true - title: |- - Quantity is a fixed-point representation of a number. - It provides convenient marshaling/unmarshaling in JSON and YAML, - in addition to String() and AsInt64() accessors. - type: object - QuobyteVolumeSource: - description: Quobyte volumes do not support ownership management or SELinux relabeling. - properties: - group: - description: |- - group to map volume access to - Default is no group - +optional - type: string - readOnly: - description: |- - readOnly here will force the Quobyte volume to be mounted with read-only permissions. - Defaults to false. - +optional - type: boolean - registry: - description: |- - registry represents a single or multiple Quobyte Registry services - specified as a string as host:port pair (multiple entries are separated with commas) - which acts as the central registry for volumes - type: string - tenant: - description: |- - tenant owning the given Quobyte volume in the Backend - Used with dynamically provisioned Quobyte volumes, value is set by the plugin - +optional - type: string - user: - description: |- - user to map volume access to - Defaults to serivceaccount user - +optional - type: string - volume: - description: volume is a string that references an already created Quobyte - volume by name. - type: string - title: Represents a Quobyte mount that lasts the lifetime of a pod. - type: object - RBDVolumeSource: - description: RBD volumes support ownership management and SELinux relabeling. - properties: - fsType: - description: |- - fsType is the filesystem type of the volume that you want to mount. - Tip: Ensure that the filesystem type is supported by the host operating system. - Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd - TODO: how do we prevent errors in the filesystem from compromising the machine - +optional - type: string - image: - description: |- - image is the rados image name. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - type: string - keyring: - description: |- - keyring is the path to key ring for RBDUser. - Default is /etc/ceph/keyring. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - +optional - type: string - monitors: - description: |- - monitors is a collection of Ceph monitors. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - items: - type: string - type: array - pool: - description: |- - pool is the rados pool name. - Default is rbd. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - +optional - type: string - readOnly: - description: |- - readOnly here will force the ReadOnly setting in VolumeMounts. - Defaults to false. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - user: - description: |- - user is the rados user name. - Default is admin. - More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it - +optional - type: string - title: Represents a Rados Block Device mount that lasts the lifetime of a pod. - type: object - RawArtifact: - description: RawArtifact allows raw string content to be placed as an artifact - in a container - properties: - data: - description: Data is the string contents of the artifact - type: string - type: object - ResourceClaim: - properties: - name: - description: |- - Name must match the name of one entry in pod.spec.resourceClaims of - the Pod where this field is used. It makes that resource available - inside a container. - type: string - title: ResourceClaim references one entry in PodSpec.ResourceClaims. - type: object - ResourceFieldSelector: - description: |- - ResourceFieldSelector represents container resources (cpu, memory) and their output format - +structType=atomic - properties: - containerName: - description: |- - Container name: required for volumes, optional for env vars - +optional - type: string - divisor: - $ref: '#/definitions/Quantity' - resource: - description: 'Required: resource to select' - type: string - type: object - ResourceList: - additionalProperties: - $ref: '#/definitions/Quantity' - title: ResourceList is a set of (resource name, quantity) pairs. - type: object - ResourceRequirements: - properties: - claims: - description: |- - Claims lists the names of resources, defined in spec.resourceClaims, - that are used by this container. - - This is an alpha field and requires enabling the - DynamicResourceAllocation feature gate. - - This field is immutable. It can only be set for containers. - - +listType=map - +listMapKey=name - +featureGate=DynamicResourceAllocation - +optional - items: - $ref: '#/definitions/ResourceClaim' - type: array - limits: - $ref: '#/definitions/ResourceList' - requests: - $ref: '#/definitions/ResourceList' - title: ResourceRequirements describes the compute resource requirements. - type: object - ResourceTemplate: - description: ResourceTemplate is a template subtype to manipulate kubernetes resources - properties: - action: - description: |- - Action is the action to perform to the resource. - Must be one of: get, create, apply, delete, replace, patch - type: string - failureCondition: - description: |- - FailureCondition is a label selector expression which describes the conditions - of the k8s resource in which the step was considered failed - type: string - flags: - description: |- - Flags is a set of additional options passed to kubectl before submitting a resource - I.e. to disable resource validation: - flags: [ - "--validate=false" # disable resource validation - ] - items: - type: string - type: array - manifest: - description: Manifest contains the kubernetes manifest - type: string - manifestFrom: - $ref: '#/definitions/ManifestFrom' - mergeStrategy: - description: |- - MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" - Must be one of: strategic, merge, json - type: string - setOwnerReference: - description: SetOwnerReference sets the reference to the workflow on the OwnerReference - of generated resource. - type: boolean - successCondition: - description: |- - SuccessCondition is a label selector expression which describes the conditions - of the k8s resource in which it is acceptable to proceed to the following step - type: string - type: object - RetryAffinity: - properties: - nodeAntiAffinity: - $ref: '#/definitions/RetryNodeAntiAffinity' - title: RetryAffinity prevents running steps on the same host. - type: object - RetryNodeAntiAffinity: - description: In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". - title: RetryNodeAntiAffinity is a placeholder for future expansion, only empty - nodeAntiAffinity is allowed. - type: object - RetryPolicy: - type: string - RetryStrategy: - description: RetryStrategy provides controls on how to retry a workflow step - properties: - affinity: - $ref: '#/definitions/RetryAffinity' - backoff: - $ref: '#/definitions/Backoff' - expression: - description: |- - Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not - be retried and the retry strategy will be ignored - type: string - limit: - $ref: '#/definitions/IntOrString' - retryPolicy: - $ref: '#/definitions/RetryPolicy' - type: object - S3Artifact: - description: S3Artifact is the location of an S3 artifact - properties: - accessKeySecret: - $ref: '#/definitions/SecretKeySelector' - bucket: - description: Bucket is the name of the bucket - type: string - caSecret: - $ref: '#/definitions/SecretKeySelector' - createBucketIfNotPresent: - $ref: '#/definitions/CreateS3BucketOptions' - encryptionOptions: - $ref: '#/definitions/S3EncryptionOptions' - endpoint: - description: Endpoint is the hostname of the bucket endpoint - type: string - insecure: - description: Insecure will connect to the service with TLS - type: boolean - key: - description: Key is the key in the bucket where the artifact resides - type: string - region: - description: Region contains the optional bucket region - type: string - roleARN: - description: RoleARN is the Amazon Resource Name (ARN) of the role to assume. - type: string - secretKeySecret: - $ref: '#/definitions/SecretKeySelector' - useSDKCreds: - description: UseSDKCreds tells the driver to figure out credentials based - on sdk defaults. - type: boolean - type: object - S3EncryptionOptions: - description: S3EncryptionOptions used to determine encryption options during s3 - operations - properties: - enableEncryption: - description: EnableEncryption tells the driver to encrypt objects if set to - true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will - be used - type: boolean - kmsEncryptionContext: - description: KmsEncryptionContext is a json blob that contains an encryption - context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context - for more information - type: string - kmsKeyId: - description: KMSKeyId tells the driver to encrypt the object using the specified - KMS Key. - type: string - serverSideCustomerKeySecret: - $ref: '#/definitions/SecretKeySelector' - type: object - SELinuxOptions: - description: SELinuxOptions are the labels to be applied to the container - properties: - level: - description: |- - Level is SELinux level label that applies to the container. - +optional - type: string - role: - description: |- - Role is a SELinux role label that applies to the container. - +optional - type: string - type: - description: |- - Type is a SELinux type label that applies to the container. - +optional - type: string - user: - description: |- - User is a SELinux user label that applies to the container. - +optional - type: string - type: object - ScaleIOVolumeSource: - description: ScaleIOVolumeSource represents a persistent ScaleIO volume - properties: - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". - Default is "xfs". - +optional - type: string - gateway: - description: gateway is the host address of the ScaleIO API Gateway. - type: string - protectionDomain: - description: |- - protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. - +optional - type: string - readOnly: - description: |- - readOnly Defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - sslEnabled: - description: |- - sslEnabled Flag enable/disable SSL communication with Gateway, default false - +optional - type: boolean - storageMode: - description: |- - storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. - Default is ThinProvisioned. - +optional - type: string - storagePool: - description: |- - storagePool is the ScaleIO Storage Pool associated with the protection domain. - +optional - type: string - system: - description: system is the name of the storage system as configured in ScaleIO. - type: string - volumeName: - description: |- - volumeName is the name of a volume already created in the ScaleIO system - that is associated with this volume source. - type: string - type: object - ScriptTemplate: - description: ScriptTemplate is a template subtype to enable scripting through - code steps - properties: - args: - description: |- - Arguments to the entrypoint. - The container image's CMD is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - command: - description: |- - Entrypoint array. Not executed within a shell. - The container image's ENTRYPOINT is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - env: - description: |- - List of environment variables to set in the container. - Cannot be updated. - +optional - +patchMergeKey=name - +patchStrategy=merge - items: - $ref: '#/definitions/EnvVar' - type: array - envFrom: - description: |- - List of sources to populate environment variables in the container. - The keys defined within a source must be a C_IDENTIFIER. All invalid keys - will be reported as an event when the container is starting. When a key exists in multiple - sources, the value associated with the last source will take precedence. - Values defined by an Env with a duplicate key will take precedence. - Cannot be updated. - +optional - items: - $ref: '#/definitions/EnvFromSource' - type: array - image: - description: |- - Container image name. - More info: https://kubernetes.io/docs/concepts/containers/images - This field is optional to allow higher level config management to default or override - container images in workload controllers like Deployments and StatefulSets. - +optional - type: string - imagePullPolicy: - $ref: '#/definitions/PullPolicy' - lifecycle: - $ref: '#/definitions/Lifecycle' - livenessProbe: - $ref: '#/definitions/Probe' - name: - description: |- - Name of the container specified as a DNS_LABEL. - Each container in a pod must have a unique name (DNS_LABEL). - Cannot be updated. - type: string - ports: - description: |- - List of ports to expose from the container. Not specifying a port here - DOES NOT prevent that port from being exposed. Any port which is - listening on the default "0.0.0.0" address inside a container will be - accessible from the network. - Modifying this array with strategic merge patch may corrupt the data. - For more information See https://github.com/kubernetes/kubernetes/issues/108255. - Cannot be updated. - +optional - +patchMergeKey=containerPort - +patchStrategy=merge - +listType=map - +listMapKey=containerPort - +listMapKey=protocol - items: - $ref: '#/definitions/ContainerPort' - type: array - readinessProbe: - $ref: '#/definitions/Probe' - resources: - $ref: '#/definitions/ResourceRequirements' - securityContext: - $ref: '#/definitions/SecurityContext' - source: - description: Source contains the source code of the script to execute - type: string - startupProbe: - $ref: '#/definitions/Probe' - stdin: - description: |- - Whether this container should allocate a buffer for stdin in the container runtime. If this - is not set, reads from stdin in the container will always result in EOF. - Default is false. - +optional - type: boolean - stdinOnce: - description: |- - Whether the container runtime should close the stdin channel after it has been opened by - a single attach. When stdin is true the stdin stream will remain open across multiple attach - sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the - first client attaches to stdin, and then remains open and accepts data until the client disconnects, - at which time stdin is closed and remains closed until the container is restarted. If this - flag is false, a container processes that reads from stdin will never receive an EOF. - Default is false - +optional - type: boolean - terminationMessagePath: - description: |- - Optional: Path at which the file to which the container's termination message - will be written is mounted into the container's filesystem. - Message written is intended to be brief final status, such as an assertion failure message. - Will be truncated by the node if greater than 4096 bytes. The total message length across - all containers will be limited to 12kb. - Defaults to /dev/termination-log. - Cannot be updated. - +optional - type: string - terminationMessagePolicy: - $ref: '#/definitions/TerminationMessagePolicy' - tty: - description: |- - Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. - Default is false. - +optional - type: boolean - volumeDevices: - description: |- - volumeDevices is the list of block devices to be used by the container. - +patchMergeKey=devicePath - +patchStrategy=merge - +optional - items: - $ref: '#/definitions/VolumeDevice' - type: array - volumeMounts: - description: |- - Pod volumes to mount into the container's filesystem. - Cannot be updated. - +optional - +patchMergeKey=mountPath - +patchStrategy=merge - items: - $ref: '#/definitions/VolumeMount' - type: array - workingDir: - description: |- - Container's working directory. - If not specified, the container runtime's default will be used, which - might be configured in the container image. - Cannot be updated. - +optional - type: string - type: object - SeccompProfile: - description: |- - Only one profile source may be set. - +union - properties: - localhostProfile: - description: |- - localhostProfile indicates a profile defined in a file on the node should be used. - The profile must be preconfigured on the node to work. - Must be a descending path, relative to the kubelet's configured seccomp profile location. - Must only be set if type is "Localhost". - +optional - type: string - type: - $ref: '#/definitions/SeccompProfileType' - title: SeccompProfile defines a pod/container's seccomp profile settings. - type: object - SeccompProfileType: - description: +enum - title: SeccompProfileType defines the supported seccomp profile types. - type: string - SecretEnvSource: - description: |- - The contents of the target Secret's Data field will represent the - key-value pairs as environment variables. - properties: - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - Specify whether the Secret must be defined - +optional - type: boolean - title: |- - SecretEnvSource selects a Secret to populate the environment - variables with. - type: object - SecretKeySelector: - description: +structType=atomic - properties: - key: - description: The key of the secret to select from. Must be a valid secret - key. - type: string - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - Specify whether the Secret or its key must be defined - +optional - type: boolean - title: SecretKeySelector selects a key of a Secret. - type: object - SecretProjection: - description: |- - The contents of the target Secret's Data field will be presented in a - projected volume as files using the keys in the Data field as the file names. - Note that this is identical to a secret volume source without the default - mode. - properties: - items: - description: |- - items if unspecified, each key-value pair in the Data field of the referenced - Secret will be projected into the volume as a file whose name is the - key and content is the value. If specified, the listed keys will be - projected into the specified paths, and unlisted keys will not be - present. If a key is specified which is not present in the Secret, - the volume setup will error unless it is marked optional. Paths must be - relative and may not contain the '..' path or start with '..'. - +optional - items: - $ref: '#/definitions/KeyToPath' - type: array - name: - description: |- - Name of the referent. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - TODO: Add other useful fields. apiVersion, kind, uid? - +optional - type: string - optional: - description: |- - optional field specify whether the Secret or its key must be defined - +optional - type: boolean - title: Adapts a secret into a projected volume. - type: object - SecretVolumeSource: - description: |- - The contents of the target Secret's Data field will be presented in a volume - as files using the keys in the Data field as the file names. - Secret volumes support ownership management and SELinux relabeling. - properties: - defaultMode: - description: |- - defaultMode is Optional: mode bits used to set permissions on created files by default. - Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. - YAML accepts both octal and decimal values, JSON requires decimal values - for mode bits. Defaults to 0644. - Directories within the path are not affected by this setting. - This might be in conflict with other options that affect the file - mode, like fsGroup, and the result can be other mode bits set. - +optional - format: int32 - type: integer - items: - description: |- - items If unspecified, each key-value pair in the Data field of the referenced - Secret will be projected into the volume as a file whose name is the - key and content is the value. If specified, the listed keys will be - projected into the specified paths, and unlisted keys will not be - present. If a key is specified which is not present in the Secret, - the volume setup will error unless it is marked optional. Paths must be - relative and may not contain the '..' path or start with '..'. - +optional - items: - $ref: '#/definitions/KeyToPath' - type: array - optional: - description: |- - optional field specify whether the Secret or its keys must be defined - +optional - type: boolean - secretName: - description: |- - secretName is the name of the secret in the pod's namespace to use. - More info: https://kubernetes.io/docs/concepts/storage/volumes#secret - +optional - type: string - title: Adapts a Secret into a volume. - type: object - SecurityContext: - description: |- - Some fields are present in both SecurityContext and PodSecurityContext. When both - are set, the values in SecurityContext take precedence. - properties: - allowPrivilegeEscalation: - description: |- - AllowPrivilegeEscalation controls whether a process can gain more - privileges than its parent process. This bool directly controls if - the no_new_privs flag will be set on the container process. - AllowPrivilegeEscalation is true always when the container is: - 1) run as Privileged - 2) has CAP_SYS_ADMIN - Note that this field cannot be set when spec.os.name is windows. - +optional - type: boolean - capabilities: - $ref: '#/definitions/Capabilities' - privileged: - description: |- - Run container in privileged mode. - Processes in privileged containers are essentially equivalent to root on the host. - Defaults to false. - Note that this field cannot be set when spec.os.name is windows. - +optional - type: boolean - procMount: - $ref: '#/definitions/ProcMountType' - readOnlyRootFilesystem: - description: |- - Whether this container has a read-only root filesystem. - Default is false. - Note that this field cannot be set when spec.os.name is windows. - +optional - type: boolean - runAsGroup: - description: |- - The GID to run the entrypoint of the container process. - Uses runtime default if unset. - May also be set in PodSecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence. - Note that this field cannot be set when spec.os.name is windows. - +optional - format: int64 - type: integer - runAsNonRoot: - description: |- - Indicates that the container must run as a non-root user. - If true, the Kubelet will validate the image at runtime to ensure that it - does not run as UID 0 (root) and fail to start the container if it does. - If unset or false, no such validation will be performed. - May also be set in PodSecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence. - +optional - type: boolean - runAsUser: - description: |- - The UID to run the entrypoint of the container process. - Defaults to user specified in image metadata if unspecified. - May also be set in PodSecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence. - Note that this field cannot be set when spec.os.name is windows. - +optional - format: int64 - type: integer - seLinuxOptions: - $ref: '#/definitions/SELinuxOptions' - seccompProfile: - $ref: '#/definitions/SeccompProfile' - windowsOptions: - $ref: '#/definitions/WindowsSecurityContextOptions' - title: SecurityContext holds security configuration that will be applied to a - container. - type: object - SemaphoreRef: - description: SemaphoreRef is a reference of Semaphore - properties: - configMapKeyRef: - $ref: '#/definitions/ConfigMapKeySelector' - namespace: - default: '[namespace of workflow]' - type: string - type: object - Sequence: - description: Sequence expands a workflow step into numeric range - properties: - count: - $ref: '#/definitions/IntOrString' - end: - $ref: '#/definitions/IntOrString' - format: - description: Format is a printf format string to format the value in the sequence - type: string - start: - $ref: '#/definitions/IntOrString' - type: object - ServiceAccountTokenProjection: - description: |- - ServiceAccountTokenProjection represents a projected service account token - volume. This projection can be used to insert a service account token into - the pods runtime filesystem for use against APIs (Kubernetes API Server or - otherwise). - properties: - audience: - description: |- - audience is the intended audience of the token. A recipient of a token - must identify itself with an identifier specified in the audience of the - token, and otherwise should reject the token. The audience defaults to the - identifier of the apiserver. - +optional - type: string - expirationSeconds: - description: |- - expirationSeconds is the requested duration of validity of the service - account token. As the token approaches expiration, the kubelet volume - plugin will proactively rotate the service account token. The kubelet will - start trying to rotate the token if the token is older than 80 percent of - its time to live or if the token is older than 24 hours.Defaults to 1 hour - and must be at least 10 minutes. - +optional - format: int64 - type: integer - path: - description: |- - path is the path relative to the mount point of the file to project the - token into. - type: string - type: object - StorageMedium: - title: StorageMedium defines ways that storage can be allocated to a volume. - type: string - StorageOSVolumeSource: - properties: - fsType: - description: |- - fsType is the filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - +optional - type: string - readOnly: - description: |- - readOnly defaults to false (read/write). ReadOnly here will force - the ReadOnly setting in VolumeMounts. - +optional - type: boolean - secretRef: - $ref: '#/definitions/LocalObjectReference' - volumeName: - description: |- - volumeName is the human-readable name of the StorageOS volume. Volume - names are only unique within a namespace. - type: string - volumeNamespace: - description: |- - volumeNamespace specifies the scope of the volume within StorageOS. If no - namespace is specified then the Pod's namespace will be used. This allows the - Kubernetes name scoping to be mirrored within StorageOS for tighter integration. - Set VolumeName to any name to override the default behaviour. - Set to "default" if you are not using namespaces within StorageOS. - Namespaces that do not pre-exist within StorageOS will be created. - +optional - type: string - title: Represents a StorageOS persistent volume resource. - type: object - SuppliedValueFrom: - title: SuppliedValueFrom is a placeholder for a value to be filled in directly, - either through the CLI, API, etc. - type: object - SuspendTemplate: - description: SuspendTemplate is a template subtype to suspend a workflow at a - predetermined point in time - properties: - duration: - description: |- - Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. - Could also be a Duration, e.g.: "2m", "6h" - type: string - type: object - Synchronization: - description: Synchronization holds synchronization lock configuration - properties: - mutex: - $ref: '#/definitions/Mutex' - semaphore: - $ref: '#/definitions/SemaphoreRef' - type: object - Sysctl: - description: Sysctl defines a kernel parameter to be set - properties: - name: - description: Name of a property to set - type: string - value: - description: Value of a property to set - type: string - type: object - TCPSocketAction: - description: TCPSocketAction describes an action based on opening a socket - properties: - host: - description: |- - Optional: Host name to connect to, defaults to the pod IP. - +optional - type: string - port: - $ref: '#/definitions/IntOrString' - type: object - TaintEffect: - description: +enum - type: string - TarStrategy: - description: TarStrategy will tar and gzip the file or directory when saving - properties: - compressionLevel: - description: |- - CompressionLevel specifies the gzip compression level to use for the artifact. - Defaults to gzip.DefaultCompression. - format: int32 - type: integer - type: object - Template: - description: Template is a reusable and composable unit of execution in a workflow - properties: - activeDeadlineSeconds: - $ref: '#/definitions/IntOrString' - affinity: - $ref: '#/definitions/Affinity' - archiveLocation: - $ref: '#/definitions/ArtifactLocation' - automountServiceAccountToken: - description: |- - AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. - ServiceAccountName of ExecutorConfig must be specified if this value is false. - type: boolean - container: - $ref: '#/definitions/Container' - containerSet: - $ref: '#/definitions/ContainerSetTemplate' - daemon: - description: Daemon will allow a workflow to proceed to the next step so long - as the container reaches readiness - type: boolean - dag: - $ref: '#/definitions/DAGTemplate' - data: - $ref: '#/definitions/Data' - executor: - $ref: '#/definitions/ExecutorConfig' - failFast: - description: |- - FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this - template is expanded with `withItems`, etc. - type: boolean - hostAliases: - description: |- - HostAliases is an optional list of hosts and IPs that will be injected into the pod spec - +patchStrategy=merge - +patchMergeKey=ip - items: - $ref: '#/definitions/HostAlias' - type: array - http: - $ref: '#/definitions/HTTP' - initContainers: - description: |- - InitContainers is a list of containers which run before the main container. - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/UserContainer' - type: array - inputs: - $ref: '#/definitions/Inputs' - memoize: - $ref: '#/definitions/Memoize' - metadata: - $ref: '#/definitions/Metadata' - metrics: - $ref: '#/definitions/Metrics' - name: - description: Name is the name of the template - type: string - nodeSelector: - additionalProperties: - type: string - description: |- - NodeSelector is a selector to schedule this step of the workflow to be - run on the selected node(s). Overrides the selector set at the workflow level. + AWSElasticBlockStoreVolumeSource: + description: |- + An AWS EBS disk must exist before mounting to a container. The disk + must also be in the same AWS zone as the kubelet. An AWS EBS disk + can only be mounted as read/write once. AWS EBS volumes support + ownership management and SELinux relabeling. + properties: + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + TODO: how do we prevent errors in the filesystem from compromising the machine + +optional + type: string + partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". + Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + +optional + format: int32 + type: integer + readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + +optional + type: boolean + volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore + type: string + title: Represents a Persistent Disk resource in AWS. type: object - outputs: - $ref: '#/definitions/Outputs' - parallelism: - description: |- - Parallelism limits the max total parallel pods that can execute at the same time within the - boundaries of this template invocation. If additional steps/dag templates are invoked, the - pods created by those templates will not be counted towards this total. - format: int64 - type: integer - plugin: - $ref: '#/definitions/Plugin' - podSpecPatch: - description: |- - PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of - container fields which are not strings (e.g. resource limits). - type: string - priority: - description: Priority to apply to workflow pods. - format: int32 - type: integer - priorityClassName: - description: PriorityClassName to apply to workflow pods. - type: string - resource: - $ref: '#/definitions/ResourceTemplate' - retryStrategy: - $ref: '#/definitions/RetryStrategy' - schedulerName: - description: |- - If specified, the pod will be dispatched by specified scheduler. - Or it will be dispatched by workflow scope scheduler if specified. - If neither specified, the pod will be dispatched by default scheduler. - +optional - type: string - script: - $ref: '#/definitions/ScriptTemplate' - securityContext: - $ref: '#/definitions/PodSecurityContext' - serviceAccountName: - description: ServiceAccountName to apply to workflow pods - type: string - sidecars: - description: |- - Sidecars is a list of containers which run alongside the main container - Sidecars are automatically killed when the main container completes - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/UserContainer' - type: array - steps: - description: Steps define a series of sequential/parallel workflow steps - items: - $ref: '#/definitions/ParallelSteps' - type: array - suspend: - $ref: '#/definitions/SuspendTemplate' - synchronization: - $ref: '#/definitions/Synchronization' - timeout: - description: |- - Timeout allows to set the total node execution timeout duration counting from the node's start time. - This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. - type: string - tolerations: - description: |- - Tolerations to apply to workflow pods. - +patchStrategy=merge - +patchMergeKey=key - items: - $ref: '#/definitions/Toleration' - type: array - volumes: - description: |- - Volumes is a list of volumes that can be mounted by containers in a template. - +patchStrategy=merge - +patchMergeKey=name - items: - $ref: '#/definitions/Volume' - type: array - type: object - TemplateRef: - properties: - clusterScope: - description: ClusterScope indicates the referred template is cluster scoped - (i.e. a ClusterWorkflowTemplate). - type: boolean - name: - description: Name is the resource name of the template. - type: string - template: - description: Template is the name of referred template in the resource. - type: string - title: TemplateRef is a reference of template resource. - type: object - TerminationMessagePolicy: - description: +enum - title: TerminationMessagePolicy describes how termination messages are retrieved - from a container. - type: string - Time: - description: |- - +protobuf.options.marshal=false - +protobuf.as=Timestamp - +protobuf.options.(gogoproto.goproto_stringer)=false - title: |- - Time is a wrapper around time.Time which supports correct - marshaling to YAML and JSON. Wrappers are provided for many - of the factory methods that the time package offers. - type: object - Toleration: - description: |- - The pod this Toleration is attached to tolerates any taint that matches - the triple using the matching operator . - properties: - effect: - $ref: '#/definitions/TaintEffect' - key: - description: |- - Key is the taint key that the toleration applies to. Empty means match all taint keys. - If the key is empty, operator must be Exists; this combination means to match all values and all keys. - +optional - type: string - operator: - $ref: '#/definitions/TolerationOperator' - tolerationSeconds: - description: |- - TolerationSeconds represents the period of time the toleration (which must be - of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, - it is not set, which means tolerate the taint forever (do not evict). Zero and - negative values will be treated as 0 (evict immediately) by the system. - +optional - format: int64 - type: integer - value: - description: |- - Value is the taint value the toleration matches to. - If the operator is Exists, the value should be empty, otherwise just a regular string. - +optional - type: string - type: object - TolerationOperator: - description: +enum - title: A toleration operator is the set of operators that can be used in a toleration. - type: string - Transformation: - items: - $ref: '#/definitions/TransformationStep' - type: array - TransformationStep: - properties: - expression: - description: Expression defines an expr expression to apply - type: string - type: object - Type: - format: int64 - title: Type represents the stored type of IntOrString. - type: integer - TypedLocalObjectReference: - description: |- - TypedLocalObjectReference contains enough information to let you locate the - typed referenced object inside the same namespace. - +structType=atomic - properties: - apiGroup: - description: |- - APIGroup is the group for the resource being referenced. - If APIGroup is not specified, the specified Kind must be in the core API group. - For any other third-party types, APIGroup is required. - +optional - type: string - kind: - description: Kind is the type of resource being referenced - type: string - name: - description: Name is the name of resource being referenced - type: string - type: object - TypedObjectReference: - properties: - apiGroup: - description: |- - APIGroup is the group for the resource being referenced. - If APIGroup is not specified, the specified Kind must be in the core API group. - For any other third-party types, APIGroup is required. - +optional - type: string - kind: - description: Kind is the type of resource being referenced - type: string - name: - description: Name is the name of resource being referenced - type: string - namespace: - description: |- - Namespace is the namespace of resource being referenced - Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. - (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. - +featureGate=CrossNamespaceVolumeDataSource - +optional - type: string - type: object - UID: - description: |- - UID is a type that holds unique ID values, including UUIDs. Because we - don't ONLY use UUIDs, this is an alias to string. Being a type captures - intent and helps make sure that UIDs and names do not get conflated. - type: string - URIScheme: - description: |- - URIScheme identifies the scheme used for connection to a host for Get actions - +enum - type: string - UserContainer: - properties: - args: - description: |- - Arguments to the entrypoint. - The container image's CMD is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - command: - description: |- - Entrypoint array. Not executed within a shell. - The container image's ENTRYPOINT is used if this is not provided. - Variable references $(VAR_NAME) are expanded using the container's environment. If a variable - cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced - to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will - produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless - of whether the variable exists or not. Cannot be updated. - More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell - +optional - items: - type: string - type: array - env: - description: |- - List of environment variables to set in the container. - Cannot be updated. - +optional - +patchMergeKey=name - +patchStrategy=merge + Affinity: + properties: + nodeAffinity: + $ref: '#/definitions/NodeAffinity' + podAffinity: + $ref: '#/definitions/PodAffinity' + podAntiAffinity: + $ref: '#/definitions/PodAntiAffinity' + title: Affinity is a group of affinity scheduling rules. + type: object + Amount: + description: +kubebuilder:validation:Type=number + title: Amount represent a numeric amount. + type: object + AnyString: + description: |- + It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + It will marshall back to string - marshalling is not symmetric. + title: It's JSON type is just string. + type: string + ArchiveStrategy: + description: ArchiveStrategy describes how to archive files/directory when saving artifacts + properties: + none: + $ref: '#/definitions/NoneStrategy' + tar: + $ref: '#/definitions/TarStrategy' + zip: + $ref: '#/definitions/ZipStrategy' + type: object + Arguments: + description: Arguments to a template + properties: + artifacts: + $ref: '#/definitions/Artifacts' + parameters: + description: |- + Parameters is the list of parameters to pass to the template or workflow + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/Parameter' + type: array + type: object + Artifact: + description: Artifact indicates an artifact to place at a specified path + properties: + archive: + $ref: '#/definitions/ArchiveStrategy' + archiveLogs: + description: ArchiveLogs indicates if the container logs should be archived + type: boolean + artifactGC: + $ref: '#/definitions/ArtifactGC' + artifactory: + $ref: '#/definitions/ArtifactoryArtifact' + azure: + $ref: '#/definitions/AzureArtifact' + deleted: + description: Has this been deleted? + type: boolean + from: + description: From allows an artifact to reference an artifact from a previous step + type: string + fromExpression: + description: FromExpression, if defined, is evaluated to specify the value for the artifact + type: string + gcs: + $ref: '#/definitions/GCSArtifact' + git: + $ref: '#/definitions/GitArtifact' + globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts + type: string + hdfs: + $ref: '#/definitions/HDFSArtifact' + http: + $ref: '#/definitions/HTTPArtifact' + mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777 + set when loading input artifacts. + format: int32 + type: integer + name: + description: name of the artifact. must be unique within a template's inputs/outputs. + type: string + optional: + description: Make Artifacts optional, if Artifacts doesn't generate or exist + type: boolean + oss: + $ref: '#/definitions/OSSArtifact' + path: + description: Path is the container path to the artifact + type: string + raw: + $ref: '#/definitions/RawArtifact' + recurseMode: + description: If mode is set, apply the permission recursively into the artifact if it is a folder + type: boolean + s3: + $ref: '#/definitions/S3Artifact' + subPath: + description: SubPath allows an artifact to be sourced from a subpath within the specified source + type: string + type: object + ArtifactGC: + description: ArtifactGC describes how to delete artifacts from completed Workflows - this is embedded into the WorkflowLevelArtifactGC, and also used for individual Artifacts to override that as needed + properties: + podMetadata: + $ref: '#/definitions/Metadata' + serviceAccountName: + description: ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion + type: string + strategy: + $ref: '#/definitions/ArtifactGCStrategy' + type: object + ArtifactGCStrategy: + title: ArtifactGCStrategy is the strategy when to delete artifacts for GC. + type: string + ArtifactLocation: + description: |- + It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). + It is also used to describe the location of multiple artifacts such as the archive location + of a single workflow step, which the executor will use as a default location to store its files. + properties: + archiveLogs: + description: ArchiveLogs indicates if the container logs should be archived + type: boolean + artifactory: + $ref: '#/definitions/ArtifactoryArtifact' + azure: + $ref: '#/definitions/AzureArtifact' + gcs: + $ref: '#/definitions/GCSArtifact' + git: + $ref: '#/definitions/GitArtifact' + hdfs: + $ref: '#/definitions/HDFSArtifact' + http: + $ref: '#/definitions/HTTPArtifact' + oss: + $ref: '#/definitions/OSSArtifact' + raw: + $ref: '#/definitions/RawArtifact' + s3: + $ref: '#/definitions/S3Artifact' + title: ArtifactLocation describes a location for a single or multiple artifacts. + type: object + ArtifactPaths: + description: ArtifactPaths expands a step from a collection of artifacts + properties: + archive: + $ref: '#/definitions/ArchiveStrategy' + archiveLogs: + description: ArchiveLogs indicates if the container logs should be archived + type: boolean + artifactGC: + $ref: '#/definitions/ArtifactGC' + artifactory: + $ref: '#/definitions/ArtifactoryArtifact' + azure: + $ref: '#/definitions/AzureArtifact' + deleted: + description: Has this been deleted? + type: boolean + from: + description: From allows an artifact to reference an artifact from a previous step + type: string + fromExpression: + description: FromExpression, if defined, is evaluated to specify the value for the artifact + type: string + gcs: + $ref: '#/definitions/GCSArtifact' + git: + $ref: '#/definitions/GitArtifact' + globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts + type: string + hdfs: + $ref: '#/definitions/HDFSArtifact' + http: + $ref: '#/definitions/HTTPArtifact' + mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777 + set when loading input artifacts. + format: int32 + type: integer + name: + description: name of the artifact. must be unique within a template's inputs/outputs. + type: string + optional: + description: Make Artifacts optional, if Artifacts doesn't generate or exist + type: boolean + oss: + $ref: '#/definitions/OSSArtifact' + path: + description: Path is the container path to the artifact + type: string + raw: + $ref: '#/definitions/RawArtifact' + recurseMode: + description: If mode is set, apply the permission recursively into the artifact if it is a folder + type: boolean + s3: + $ref: '#/definitions/S3Artifact' + subPath: + description: SubPath allows an artifact to be sourced from a subpath within the specified source + type: string + type: object + ArtifactoryArtifact: + description: ArtifactoryArtifact is the location of an artifactory artifact + properties: + passwordSecret: + $ref: '#/definitions/SecretKeySelector' + url: + description: URL of the artifact + type: string + usernameSecret: + $ref: '#/definitions/SecretKeySelector' + type: object + Artifacts: items: - $ref: '#/definitions/EnvVar' + $ref: '#/definitions/Artifact' type: array - envFrom: + AzureArtifact: + description: AzureArtifact is the location of a an Azure Storage artifact + properties: + accountKeySecret: + $ref: '#/definitions/SecretKeySelector' + blob: + description: Blob is the blob name (i.e., path) in the container where the artifact resides + type: string + container: + description: Container is the container where resources will be stored + type: string + endpoint: + description: Endpoint is the service url associated with an account. It is most likely "https://.blob.core.windows.net" + type: string + useSDKCreds: + description: UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + type: boolean + type: object + AzureDataDiskCachingMode: + description: +enum + type: string + AzureDataDiskKind: + description: +enum + type: string + AzureDiskVolumeSource: + properties: + cachingMode: + $ref: '#/definitions/AzureDataDiskCachingMode' + diskName: + description: diskName is the Name of the data disk in the blob storage + type: string + diskURI: + description: diskURI is the URI of data disk in the blob storage + type: string + fsType: + description: |- + fsType is Filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + +optional + type: string + kind: + $ref: '#/definitions/AzureDataDiskKind' + readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + title: AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + type: object + AzureFileVolumeSource: + properties: + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + secretName: + description: secretName is the name of secret that contains Azure Storage Account Name and Key + type: string + shareName: + description: shareName is the azure share Name + type: string + title: AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + type: object + Backoff: + description: Backoff is a backoff strategy to use within retryStrategy + properties: + duration: + description: Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. "2m", "1h") + type: string + factor: + $ref: '#/definitions/IntOrString' + maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. + type: string + type: object + BasicAuth: + description: BasicAuth describes the secret selectors required for basic authentication + properties: + passwordSecret: + $ref: '#/definitions/SecretKeySelector' + usernameSecret: + $ref: '#/definitions/SecretKeySelector' + type: object + CSIVolumeSource: + description: Represents a source location of a volume to mount, managed by an external CSI driver + properties: + driver: + description: |- + driver is the name of the CSI driver that handles this volume. + Consult with your admin for the correct name as registered in the cluster. + type: string + fsType: + description: |- + fsType to mount. Ex. "ext4", "xfs", "ntfs". + If not provided, the empty value is passed to the associated CSI driver + which will determine the default filesystem to apply. + +optional + type: string + nodePublishSecretRef: + $ref: '#/definitions/LocalObjectReference' + readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). + +optional + type: boolean + volumeAttributes: + additionalProperties: + type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. + +optional + type: object + type: object + Cache: + description: Cache is the configuration for the type of cache to be used + properties: + configMap: + $ref: '#/definitions/ConfigMapKeySelector' + type: object + Capabilities: + properties: + add: + description: |- + Added capabilities + +optional + items: + $ref: '#/definitions/Capability' + type: array + drop: + description: |- + Removed capabilities + +optional + items: + $ref: '#/definitions/Capability' + type: array + title: Adds and removes POSIX capabilities from running containers. + type: object + Capability: + description: Capability represent POSIX capabilities type + type: string + CephFSVolumeSource: + description: |- + Represents a Ceph Filesystem mount that lasts the lifetime of a pod + Cephfs volumes do not support ownership management or SELinux relabeling. + properties: + monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + items: + type: string + type: array + path: + description: |- + path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / + +optional + type: string + readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + +optional + type: boolean + secretFile: + description: |- + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + +optional + type: string + secretRef: + $ref: '#/definitions/LocalObjectReference' + user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it + +optional + type: string + type: object + CinderVolumeSource: + description: |- + A Cinder volume must exist before mounting to a container. + The volume must also be in the same region as the kubelet. + Cinder volumes support ownership management and SELinux relabeling. + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + +optional + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md + type: string + title: Represents a cinder volume resource in Openstack. + type: object + ClientCertAuth: + description: ClientCertAuth holds necessary information for client authentication via certificates + properties: + clientCertSecret: + $ref: '#/definitions/SecretKeySelector' + clientKeySecret: + $ref: '#/definitions/SecretKeySelector' + type: object + ConfigMapEnvSource: + description: |- + The contents of the target ConfigMap's Data field will represent the + key-value pairs as environment variables. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + Specify whether the ConfigMap must be defined + +optional + type: boolean + title: |- + ConfigMapEnvSource selects a ConfigMap to populate the environment + variables with. + type: object + ConfigMapKeySelector: + description: +structType=atomic + properties: + key: + description: The key to select. + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + Specify whether the ConfigMap or its key must be defined + +optional + type: boolean + title: Selects a key from a ConfigMap. + type: object + ConfigMapProjection: + description: |- + The contents of the target ConfigMap's Data field will be presented in a + projected volume as files using the keys in the Data field as the file names, + unless the items element is populated with specific mappings of keys to paths. + Note that this is identical to a configmap volume source without the default + mode. + properties: + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the ConfigMap, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + +optional + items: + $ref: '#/definitions/KeyToPath' + type: array + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + optional specify whether the ConfigMap or its keys must be defined + +optional + type: boolean + title: Adapts a ConfigMap into a projected volume. + type: object + ConfigMapVolumeSource: + description: |- + The contents of the target ConfigMap's Data field will be presented in a + volume as files using the keys in the Data field as the file names, unless + the items element is populated with specific mappings of keys to paths. + ConfigMap volumes support ownership management and SELinux relabeling. + properties: + defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + ConfigMap will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the ConfigMap, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + +optional + items: + $ref: '#/definitions/KeyToPath' + type: array + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + optional specify whether the ConfigMap or its keys must be defined + +optional + type: boolean + title: Adapts a ConfigMap into a volume. + type: object + Container: + properties: + args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + env: + description: |- + List of environment variables to set in the container. + Cannot be updated. + +optional + +patchMergeKey=name + +patchStrategy=merge + items: + $ref: '#/definitions/EnvVar' + type: array + envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. + +optional + items: + $ref: '#/definitions/EnvFromSource' + type: array + image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + +optional + type: string + imagePullPolicy: + $ref: '#/definitions/PullPolicy' + lifecycle: + $ref: '#/definitions/Lifecycle' + livenessProbe: + $ref: '#/definitions/Probe' + name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. + type: string + ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. + +optional + +patchMergeKey=containerPort + +patchStrategy=merge + +listType=map + +listMapKey=containerPort + +listMapKey=protocol + items: + $ref: '#/definitions/ContainerPort' + type: array + readinessProbe: + $ref: '#/definitions/Probe' + resources: + $ref: '#/definitions/ResourceRequirements' + securityContext: + $ref: '#/definitions/SecurityContext' + startupProbe: + $ref: '#/definitions/Probe' + stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. + +optional + type: boolean + stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false + +optional + type: boolean + terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. + +optional + type: string + terminationMessagePolicy: + $ref: '#/definitions/TerminationMessagePolicy' + tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. + +optional + type: boolean + volumeDevices: + description: |- + volumeDevices is the list of block devices to be used by the container. + +patchMergeKey=devicePath + +patchStrategy=merge + +optional + items: + $ref: '#/definitions/VolumeDevice' + type: array + volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. + +optional + +patchMergeKey=mountPath + +patchStrategy=merge + items: + $ref: '#/definitions/VolumeMount' + type: array + workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. + +optional + type: string + title: A single application container that you want to run within a pod. + type: object + ContainerNode: + properties: + args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + dependencies: + items: + type: string + type: array + env: + description: |- + List of environment variables to set in the container. + Cannot be updated. + +optional + +patchMergeKey=name + +patchStrategy=merge + items: + $ref: '#/definitions/EnvVar' + type: array + envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. + +optional + items: + $ref: '#/definitions/EnvFromSource' + type: array + image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + +optional + type: string + imagePullPolicy: + $ref: '#/definitions/PullPolicy' + lifecycle: + $ref: '#/definitions/Lifecycle' + livenessProbe: + $ref: '#/definitions/Probe' + name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. + type: string + ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. + +optional + +patchMergeKey=containerPort + +patchStrategy=merge + +listType=map + +listMapKey=containerPort + +listMapKey=protocol + items: + $ref: '#/definitions/ContainerPort' + type: array + readinessProbe: + $ref: '#/definitions/Probe' + resources: + $ref: '#/definitions/ResourceRequirements' + securityContext: + $ref: '#/definitions/SecurityContext' + startupProbe: + $ref: '#/definitions/Probe' + stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. + +optional + type: boolean + stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false + +optional + type: boolean + terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. + +optional + type: string + terminationMessagePolicy: + $ref: '#/definitions/TerminationMessagePolicy' + tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. + +optional + type: boolean + volumeDevices: + description: |- + volumeDevices is the list of block devices to be used by the container. + +patchMergeKey=devicePath + +patchStrategy=merge + +optional + items: + $ref: '#/definitions/VolumeDevice' + type: array + volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. + +optional + +patchMergeKey=mountPath + +patchStrategy=merge + items: + $ref: '#/definitions/VolumeMount' + type: array + workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. + +optional + type: string + type: object + ContainerPort: + properties: + containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. + format: int32 + type: integer + hostIP: + description: |- + What host IP to bind the external port to. + +optional + type: string + hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. + +optional + format: int32 + type: integer + name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. + +optional + type: string + protocol: + $ref: '#/definitions/Protocol' + title: ContainerPort represents a network port in a single container. + type: object + ContainerSetRetryStrategy: + description: ContainerSetRetryStrategy provides controls on how to retry a container set + properties: + duration: + description: |- + Duration is the time between each retry, examples values are "300ms", "1s" or "5m". + Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". + type: string + retries: + $ref: '#/definitions/IntOrString' + type: object + ContainerSetTemplate: + properties: + containers: + items: + $ref: '#/definitions/ContainerNode' + type: array + retryStrategy: + $ref: '#/definitions/ContainerSetRetryStrategy' + volumeMounts: + items: + $ref: '#/definitions/VolumeMount' + type: array + type: object + ContinueOn: + description: It can be specified if the workflow should continue when the pod errors, fails or both. + properties: + error: + description: +optional + type: boolean + failed: + description: +optional + type: boolean + title: ContinueOn defines if a workflow should continue even if a task or step fails/errors. + type: object + Counter: + description: Counter is a Counter prometheus metric + properties: + value: + description: Value is the value of the metric + type: string + type: object + CreateS3BucketOptions: + description: CreateS3BucketOptions options used to determine automatic automatic bucket-creation process + properties: + objectLocking: + description: ObjectLocking Enable object locking + type: boolean + type: object + DAGTask: + description: DAGTask represents a node in the graph during DAG execution + properties: + arguments: + $ref: '#/definitions/Arguments' + continueOn: + $ref: '#/definitions/ContinueOn' + dependencies: + description: Dependencies are name of other targets which this depends on + items: + type: string + type: array + depends: + description: Depends are name of other targets which this depends on + type: string + hooks: + $ref: '#/definitions/LifecycleHooks' + inline: + $ref: '#/definitions/Template' + name: + description: Name is the name of the target + type: string + onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. + type: string + template: + description: Name of template to execute + type: string + templateRef: + $ref: '#/definitions/TemplateRef' + when: + description: When is an expression in which the task should conditionally execute + type: string + withItems: + description: WithItems expands a task into multiple parallel tasks from the items in the list + items: + $ref: '#/definitions/Item' + type: array + withParam: + description: |- + WithParam expands a task into multiple parallel tasks from the value in the parameter, + which is expected to be a JSON list. + type: string + withSequence: + $ref: '#/definitions/Sequence' + type: object + DAGTemplate: + description: DAGTemplate is a template subtype for directed acyclic graph templates + properties: + failFast: + description: |- + This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, + as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed + before failing the DAG itself. + The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to + completion (either success or failure), regardless of the failed outcomes of branches in the DAG. + More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 + type: boolean + target: + description: Target are one or more names of targets to execute in a DAG + type: string + tasks: + description: |- + Tasks are a list of DAG tasks + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/DAGTask' + type: array + type: object + Data: + description: Data is a data template + properties: + source: + $ref: '#/definitions/DataSource' + transformation: + $ref: '#/definitions/Transformation' + type: object + DataSource: + description: DataSource sources external data into a data template + properties: + artifactPaths: + $ref: '#/definitions/ArtifactPaths' + type: object + DownwardAPIProjection: + description: |- + Note that this is identical to a downwardAPI volume source without the default + mode. + properties: + items: + description: |- + Items is a list of DownwardAPIVolume file + +optional + items: + $ref: '#/definitions/DownwardAPIVolumeFile' + type: array + title: Represents downward API info for projecting into a projected volume. + type: object + DownwardAPIVolumeFile: + description: DownwardAPIVolumeFile represents information to create the file containing the pod field + properties: + fieldRef: + $ref: '#/definitions/ObjectFieldSelector' + mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + path: + description: 'Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..''' + type: string + resourceFieldRef: + $ref: '#/definitions/ResourceFieldSelector' + type: object + DownwardAPIVolumeSource: + description: Downward API volumes support ownership management and SELinux relabeling. + properties: + defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + items: + description: |- + Items is a list of downward API volume file + +optional + items: + $ref: '#/definitions/DownwardAPIVolumeFile' + type: array + title: DownwardAPIVolumeSource represents a volume containing downward API info. + type: object + Duration: description: |- - List of sources to populate environment variables in the container. - The keys defined within a source must be a C_IDENTIFIER. All invalid keys - will be reported as an event when the container is starting. When a key exists in multiple - sources, the value associated with the last source will take precedence. - Values defined by an Env with a duplicate key will take precedence. - Cannot be updated. - +optional + Duration is a wrapper around time.Duration which supports correct + marshaling to YAML and JSON. In particular, it marshals into strings, which + can be used as map keys in json. + type: object + EmptyDirVolumeSource: + description: Empty directory volumes support ownership management and SELinux relabeling. + properties: + medium: + $ref: '#/definitions/StorageMedium' + sizeLimit: + $ref: '#/definitions/Quantity' + title: Represents an empty directory for a pod. + type: object + EnvFromSource: + description: EnvFromSource represents the source of a set of ConfigMaps + properties: + configMapRef: + $ref: '#/definitions/ConfigMapEnvSource' + prefix: + description: |- + An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + +optional + type: string + secretRef: + $ref: '#/definitions/SecretEnvSource' + type: object + EnvVar: + properties: + name: + description: Name of the environment variable. Must be a C_IDENTIFIER. + type: string + value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". + +optional + type: string + valueFrom: + $ref: '#/definitions/EnvVarSource' + title: EnvVar represents an environment variable present in a Container. + type: object + EnvVarSource: + properties: + configMapKeyRef: + $ref: '#/definitions/ConfigMapKeySelector' + fieldRef: + $ref: '#/definitions/ObjectFieldSelector' + resourceFieldRef: + $ref: '#/definitions/ResourceFieldSelector' + secretKeyRef: + $ref: '#/definitions/SecretKeySelector' + title: EnvVarSource represents a source for the value of an EnvVar. + type: object + EphemeralVolumeSource: + properties: + volumeClaimTemplate: + $ref: '#/definitions/PersistentVolumeClaimTemplate' + title: Represents an ephemeral volume that is handled by a normal storage driver. + type: object + ExecAction: + properties: + command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. + +optional + items: + type: string + type: array + title: ExecAction describes a "run in container" action. + type: object + ExecuteTemplateArgs: + properties: + template: + $ref: '#/definitions/Template' + workflow: + $ref: '#/definitions/Workflow' + required: + - workflow + - template + type: object + ExecuteTemplateReply: + properties: + node: + $ref: '#/definitions/NodeResult' + requeue: + $ref: '#/definitions/Duration' + type: object + ExecutorConfig: + properties: + serviceAccountName: + description: ServiceAccountName specifies the service account name of the executor container. + type: string + title: ExecutorConfig holds configurations of an executor container. + type: object + FCVolumeSource: + description: |- + Fibre Channel volumes can only be mounted as read/write once. + Fibre Channel volumes support ownership management and SELinux relabeling. + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + TODO: how do we prevent errors in the filesystem from compromising the machine + +optional + type: string + lun: + description: |- + lun is Optional: FC target lun number + +optional + format: int32 + type: integer + readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + targetWWNs: + description: |- + targetWWNs is Optional: FC target worldwide names (WWNs) + +optional + items: + type: string + type: array + wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. + +optional + items: + type: string + type: array + title: Represents a Fibre Channel volume. + type: object + FieldsV1: + description: |- + Each key is either a '.' representing the field itself, and will always map to an empty set, + or a string representing a sub-field or item. The string will follow one of these four formats: + 'f:', where is the name of a field in a struct, or key in a map + 'v:', where is the exact json formatted value of a list item + 'i:', where is position of a item in a list + 'k:', where is a map of a list item's key fields to their unique values + If a key maps to an empty Fields value, the field that key represents is part of the set. + + The exact format is defined in sigs.k8s.io/structured-merge-diff + +protobuf.options.(gogoproto.goproto_stringer)=false + title: FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. + type: object + FlexVolumeSource: + description: |- + FlexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + properties: + driver: + description: driver is the name of the driver to use for this volume. + type: string + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. + +optional + type: string + options: + additionalProperties: + type: string + description: |- + options is Optional: this field holds extra command options if any. + +optional + type: object + readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + type: object + FlockerVolumeSource: + description: |- + One and only one of datasetName and datasetUUID should be set. + Flocker volumes do not support ownership management or SELinux relabeling. + properties: + datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated + +optional + type: string + datasetUUID: + description: |- + datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset + +optional + type: string + title: Represents a Flocker volume mounted by the Flocker agent. + type: object + GCEPersistentDiskVolumeSource: + description: |- + A GCE PD must exist before mounting to a container. The disk must + also be in the same GCE project and zone as the kubelet. A GCE PD + can only be mounted as read/write once or read-only many times. GCE + PDs support ownership management and SELinux relabeling. + properties: + fsType: + description: |- + fsType is filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + TODO: how do we prevent errors in the filesystem from compromising the machine + +optional + type: string + partition: + description: |- + partition is the partition in the volume that you want to mount. + If omitted, the default is to mount by volume name. + Examples: For volume /dev/sda1, you specify the partition as "1". + Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + +optional + format: int32 + type: integer + pdName: + description: |- + pdName is unique name of the PD resource in GCE. Used to identify the disk in GCE. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + type: string + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk + +optional + type: boolean + title: Represents a Persistent Disk resource in Google Compute Engine. + type: object + GCSArtifact: + description: GCSArtifact is the location of a GCS artifact + properties: + bucket: + description: Bucket is the name of the bucket + type: string + key: + description: Key is the path in the bucket where the artifact resides + type: string + serviceAccountKeySecret: + $ref: '#/definitions/SecretKeySelector' + type: object + GRPCAction: + properties: + port: + description: Port number of the gRPC service. Number must be in the range 1 to 65535. + format: int32 + type: integer + service: + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. + +optional + +default="" + type: string + type: object + Gauge: + description: Gauge is a Gauge prometheus metric + properties: + operation: + $ref: '#/definitions/GaugeOperation' + realtime: + description: Realtime emits this metric in real time if applicable + type: boolean + value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + type: string + type: object + GaugeOperation: + title: A GaugeOperation is the set of operations that can be used in a gauge metric. + type: string + GitArtifact: + description: GitArtifact is the location of an git artifact + properties: + branch: + description: Branch is the branch to fetch when `SingleBranch` is enabled + type: string + depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip + format: uint64 + type: integer + disableSubmodules: + description: DisableSubmodules disables submodules during git clone + type: boolean + fetch: + description: Fetch specifies a number of refs that should be fetched before checkout + items: + type: string + type: array + insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict host key checking during git clone + type: boolean + passwordSecret: + $ref: '#/definitions/SecretKeySelector' + repo: + description: Repo is the git repository + type: string + revision: + description: Revision is the git commit, tag, branch to checkout + type: string + singleBranch: + description: SingleBranch enables single branch clone, using the `branch` parameter + type: boolean + sshPrivateKeySecret: + $ref: '#/definitions/SecretKeySelector' + usernameSecret: + $ref: '#/definitions/SecretKeySelector' + type: object + GitRepoVolumeSource: + description: |- + DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an + EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir + into the Pod's container. + properties: + directory: + description: |- + directory is the target directory name. + Must not contain or start with '..'. If '.' is supplied, the volume directory will be the + git repository. Otherwise, if specified, the volume will contain the git repository in + the subdirectory with the given name. + +optional + type: string + repository: + description: repository is the URL + type: string + revision: + description: |- + revision is the commit hash for the specified revision. + +optional + type: string + title: |- + Represents a volume that is populated with the contents of a git repository. + Git repo volumes do not support ownership management. + Git repo volumes support SELinux relabeling. + type: object + GlusterfsVolumeSource: + description: Glusterfs volumes do not support ownership management or SELinux relabeling. + properties: + endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + type: string + path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + type: string + readOnly: + description: |- + readOnly here will force the Glusterfs volume to be mounted with read-only permissions. + Defaults to false. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod + +optional + type: boolean + title: Represents a Glusterfs mount that lasts the lifetime of a pod. + type: object + HDFSArtifact: + description: HDFSArtifact is the location of an HDFS artifact + properties: + addresses: + description: Addresses is accessible addresses of HDFS name nodes + items: + type: string + type: array + force: + description: Force copies a file forcibly even if it exists + type: boolean + hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. + type: string + krbCCacheSecret: + $ref: '#/definitions/SecretKeySelector' + krbConfigConfigMap: + $ref: '#/definitions/ConfigMapKeySelector' + krbKeytabSecret: + $ref: '#/definitions/SecretKeySelector' + krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. + type: string + krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. + type: string + krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. + type: string + path: + description: Path is a file path in HDFS + type: string + type: object + HTTP: + properties: + body: + description: Body is content of the HTTP Request + type: string + bodyFrom: + $ref: '#/definitions/HTTPBodySource' + headers: + $ref: '#/definitions/HTTPHeaders' + insecureSkipVerify: + description: InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client + type: boolean + method: + description: Method is HTTP methods for HTTP Request + type: string + successCondition: + description: SuccessCondition is an expression if evaluated to true is considered successful + type: string + timeoutSeconds: + description: TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds + format: int64 + type: integer + url: + description: URL of the HTTP Request + type: string + type: object + HTTPArtifact: + description: HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container + properties: + auth: + $ref: '#/definitions/HTTPAuth' + headers: + description: Headers are an optional list of headers to send with HTTP requests for artifacts + items: + $ref: '#/definitions/Header' + type: array + url: + description: URL of the artifact + type: string + type: object + HTTPAuth: + properties: + basicAuth: + $ref: '#/definitions/BasicAuth' + clientCert: + $ref: '#/definitions/ClientCertAuth' + oauth2: + $ref: '#/definitions/OAuth2Auth' + type: object + HTTPBodySource: + properties: + bytes: + items: + format: uint8 + type: integer + type: array + title: HTTPBodySource contains the source of the HTTP body. + type: object + HTTPGetAction: + properties: + host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. + +optional + type: string + httpHeaders: + description: |- + Custom headers to set in the request. HTTP allows repeated headers. + +optional + items: + $ref: '#/definitions/HTTPHeader' + type: array + path: + description: |- + Path to access on the HTTP server. + +optional + type: string + port: + $ref: '#/definitions/IntOrString' + scheme: + $ref: '#/definitions/URIScheme' + title: HTTPGetAction describes an action based on HTTP Get requests. + type: object + HTTPHeader: + properties: + name: + type: string + value: + type: string + valueFrom: + $ref: '#/definitions/HTTPHeaderSource' + type: object + HTTPHeaderSource: + properties: + secretKeyRef: + $ref: '#/definitions/SecretKeySelector' + type: object + HTTPHeaders: items: - $ref: '#/definitions/EnvFromSource' + $ref: '#/definitions/HTTPHeader' type: array - image: + Header: + description: Header indicate a key-value request header to be used when fetching artifacts over HTTP + properties: + name: + description: Name is the header name + type: string + value: + description: Value is the literal value to use for the header + type: string + type: object + Histogram: + description: Histogram is a Histogram prometheus metric + properties: + buckets: + description: Buckets is a list of bucket divisors for the histogram + items: + $ref: '#/definitions/Amount' + type: array + value: + description: Value is the value of the metric + type: string + type: object + HostAlias: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. + properties: + hostnames: + description: Hostnames for the above IP address. + items: + type: string + type: array + ip: + description: IP address of the host file entry. + type: string + type: object + HostPathType: + description: +enum + type: string + HostPathVolumeSource: + description: Host path volumes do not support ownership management or SELinux relabeling. + properties: + path: + description: |- + path of the directory on the host. + If the path is a symlink, it will follow the link to the real path. + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath + type: string + type: + $ref: '#/definitions/HostPathType' + title: Represents a host path mapped into a pod. + type: object + ISCSIVolumeSource: + description: |- + ISCSI volumes can only be mounted as read/write once. + ISCSI volumes support ownership management and SELinux relabeling. + properties: + chapAuthDiscovery: + description: |- + chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication + +optional + type: boolean + chapAuthSession: + description: |- + chapAuthSession defines whether support iSCSI Session CHAP authentication + +optional + type: boolean + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + TODO: how do we prevent errors in the filesystem from compromising the machine + +optional + type: string + initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. + +optional + type: string + iqn: + description: iqn is the target iSCSI Qualified Name. + type: string + iscsiInterface: + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). + +optional + type: string + lun: + description: lun represents iSCSI Target Lun number. + format: int32 + type: integer + portals: + description: |- + portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). + +optional + items: + type: string + type: array + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + targetPortal: + description: |- + targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port + is other than default (typically TCP ports 860 and 3260). + type: string + title: Represents an ISCSI disk. + type: object + Inputs: + description: Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another + properties: + artifacts: + $ref: '#/definitions/Artifacts' + parameters: + description: |- + Parameters are a list of parameters passed as inputs + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/Parameter' + type: array + type: object + IntOrString: + description: |- + +protobuf=true + +protobuf.options.(gogoproto.goproto_stringer)=false + +k8s:openapi-gen=true + properties: + IntVal: + format: int32 + type: integer + StrVal: + type: string + Type: + $ref: '#/definitions/Type' + title: |- + IntOrString is a type that can hold an int32 or a string. When used in + JSON or YAML marshalling and unmarshalling, it produces or consumes the + inner type. This allows you to have, for example, a JSON field that can + accept a name or number. + TODO: Rename to Int32OrString + type: object + Item: description: |- - Container image name. - More info: https://kubernetes.io/docs/concepts/containers/images - This field is optional to allow higher level config management to default or override - container images in workload controllers like Deployments and StatefulSets. - +optional + +protobuf.options.(gogoproto.goproto_stringer)=false + +kubebuilder:validation:Type=object + title: |- + Item expands a single workflow step into multiple parallel steps + The value of Item can be a map, string, bool, or number + type: object + KeyToPath: + properties: + key: + description: key is the key to project. + type: string + mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + If not specified, the volume defaultMode will be used. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + path: + description: |- + path is the relative path of the file to map the key to. + May not be an absolute path. + May not contain the path element '..'. + May not start with the string '..'. + type: string + title: Maps a string key to a path within a volume. + type: object + LabelSelector: + description: |- + A label selector is a label query over a set of resources. The result of matchLabels and + matchExpressions are ANDed. An empty label selector matches all objects. A null + label selector matches no objects. + +structType=atomic + properties: + matchExpressions: + description: |- + matchExpressions is a list of label selector requirements. The requirements are ANDed. + +optional + items: + $ref: '#/definitions/LabelSelectorRequirement' + type: array + matchLabels: + additionalProperties: + type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + +optional + type: object + type: object + LabelSelectorOperator: + title: A label selector operator is the set of operators that can be used in a selector requirement. + type: string + LabelSelectorRequirement: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. + properties: + key: + description: |- + key is the label key that the selector applies to. + +patchMergeKey=key + +patchStrategy=merge + type: string + operator: + $ref: '#/definitions/LabelSelectorOperator' + values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. + +optional + items: + type: string + type: array + type: object + Lifecycle: + description: |- + Lifecycle describes actions that the management system should take in response to container lifecycle + events. For the PostStart and PreStop lifecycle handlers, management of the container blocks + until the action is complete, unless the container process fails, in which case the handler is aborted. + properties: + postStart: + $ref: '#/definitions/LifecycleHandler' + preStop: + $ref: '#/definitions/LifecycleHandler' + type: object + LifecycleHandler: + description: |- + LifecycleHandler defines a specific action that should be taken in a lifecycle + hook. One and only one of the fields, except TCPSocket must be specified. + properties: + exec: + $ref: '#/definitions/ExecAction' + httpGet: + $ref: '#/definitions/HTTPGetAction' + tcpSocket: + $ref: '#/definitions/TCPSocketAction' + type: object + LifecycleHook: + properties: + arguments: + $ref: '#/definitions/Arguments' + expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored + type: string + template: + description: Template is the name of the template to execute by the hook + type: string + templateRef: + $ref: '#/definitions/TemplateRef' + type: object + LifecycleHooks: + additionalProperties: + $ref: '#/definitions/LifecycleHook' + type: object + LocalObjectReference: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. + +structType=atomic + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + type: object + ManagedFieldsEntry: + description: |- + ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource + that the fieldset applies to. + properties: + apiVersion: + description: |- + APIVersion defines the version of this resource that this field set + applies to. The format is "group/version" just like the top-level + APIVersion field. It is necessary to track the version of a field + set because it cannot be automatically converted. + type: string + fieldsType: + description: |- + FieldsType is the discriminator for the different fields format and version. + There is currently only one possible value: "FieldsV1" + type: string + fieldsV1: + $ref: '#/definitions/FieldsV1' + manager: + description: Manager is an identifier of the workflow managing these fields. + type: string + operation: + $ref: '#/definitions/ManagedFieldsOperationType' + subresource: + description: |- + Subresource is the name of the subresource used to update that object, or + empty string if the object was updated through the main resource. The + value of this field is used to distinguish between managers, even if they + share the same name. For example, a status update will be distinct from a + regular update using the same manager name. + Note that the APIVersion field is not related to the Subresource field and + it always corresponds to the version of the main resource. + type: string + time: + description: |- + Time is the timestamp of when the ManagedFields entry was added. The + timestamp will also be updated if a field is added, the manager + changes any of the owned fields value or removes a field. The + timestamp does not update when a field is removed from the entry + because another manager took it over. + +optional + type: string + type: object + ManagedFieldsOperationType: + title: ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry being created. type: string - imagePullPolicy: - $ref: '#/definitions/PullPolicy' - lifecycle: - $ref: '#/definitions/Lifecycle' - livenessProbe: - $ref: '#/definitions/Probe' - mirrorVolumeMounts: - description: |- - MirrorVolumeMounts will mount the same volumes specified in the main container - to the container (including artifacts), at the same mountPaths. This enables - dind daemon to partially see the same filesystem as the main container in - order to use features such as docker volume binding - type: boolean - name: + ManifestFrom: + properties: + artifact: + $ref: '#/definitions/Artifact' + type: object + Memoize: + description: Memoization enables caching for the Outputs of the template + properties: + cache: + $ref: '#/definitions/Cache' + key: + description: Key is the key to use as the caching key + type: string + maxAge: + description: |- + MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older + than the MaxAge, it will be ignored. + type: string + type: object + Metadata: + description: Pod metdata + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + MetricLabel: + description: MetricLabel is a single label for a prometheus metric + properties: + key: + type: string + value: + type: string + type: object + Metrics: + description: Metrics are a list of metrics emitted from a Workflow/Template + properties: + prometheus: + description: Prometheus is a list of prometheus metrics to be emitted + items: + $ref: '#/definitions/Prometheus' + type: array + type: object + MountPropagationMode: + description: +enum + title: MountPropagationMode describes mount propagation. + type: string + Mutex: + description: Mutex holds Mutex configuration + properties: + name: + description: name of the mutex + type: string + namespace: + default: '[namespace of workflow]' + type: string + type: object + NFSVolumeSource: + description: NFS volumes do not support ownership management or SELinux relabeling. + properties: + path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + type: string + readOnly: + description: |- + readOnly here will force the NFS export to be mounted with read-only permissions. + Defaults to false. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + +optional + type: boolean + server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs + type: string + title: Represents an NFS mount that lasts the lifetime of a pod. + type: object + NodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. + +optional + items: + $ref: '#/definitions/PreferredSchedulingTerm' + type: array + requiredDuringSchedulingIgnoredDuringExecution: + $ref: '#/definitions/NodeSelector' + title: Node affinity is a group of node affinity scheduling rules. + type: object + NodePhase: + title: NodePhase is a label for the condition of a node at the current time. + type: string + NodeResult: + properties: + message: + type: string + outputs: + $ref: '#/definitions/Outputs' + phase: + $ref: '#/definitions/NodePhase' + progress: + $ref: '#/definitions/Progress' + type: object + NodeSelector: + description: |- + A node selector represents the union of the results of one or more label queries + over a set of nodes; that is, it represents the OR of the selectors represented + by the node selector terms. + +structType=atomic + properties: + nodeSelectorTerms: + description: Required. A list of node selector terms. The terms are ORed. + items: + $ref: '#/definitions/NodeSelectorTerm' + type: array + type: object + NodeSelectorOperator: + description: |- + A node selector operator is the set of operators that can be used in + a node selector requirement. + +enum + type: string + NodeSelectorRequirement: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. + properties: + key: + description: The label key that the selector applies to. + type: string + operator: + $ref: '#/definitions/NodeSelectorOperator' + values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. + +optional + items: + type: string + type: array + type: object + NodeSelectorTerm: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. + +structType=atomic + properties: + matchExpressions: + description: |- + A list of node selector requirements by node's labels. + +optional + items: + $ref: '#/definitions/NodeSelectorRequirement' + type: array + matchFields: + description: |- + A list of node selector requirements by node's fields. + +optional + items: + $ref: '#/definitions/NodeSelectorRequirement' + type: array + type: object + NoneStrategy: description: |- - Name of the container specified as a DNS_LABEL. - Each container in a pod must have a unique name (DNS_LABEL). - Cannot be updated. + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. + type: object + OAuth2Auth: + description: OAuth2Auth holds all information for client authentication via OAuth2 tokens + properties: + clientIDSecret: + $ref: '#/definitions/SecretKeySelector' + clientSecretSecret: + $ref: '#/definitions/SecretKeySelector' + endpointParams: + items: + $ref: '#/definitions/OAuth2EndpointParam' + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + $ref: '#/definitions/SecretKeySelector' + type: object + OAuth2EndpointParam: + description: EndpointParam is for requesting optional fields that should be sent in the oauth request + properties: + key: + description: Name is the header name + type: string + value: + description: Value is the literal value to use for the header + type: string + type: object + OSSArtifact: + description: OSSArtifact is the location of an Alibaba Cloud OSS artifact + properties: + accessKeySecret: + $ref: '#/definitions/SecretKeySelector' + bucket: + description: Bucket is the name of the bucket + type: string + createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist + type: boolean + endpoint: + description: Endpoint is the hostname of the bucket endpoint + type: string + key: + description: Key is the path in the bucket where the artifact resides + type: string + lifecycleRule: + $ref: '#/definitions/OSSLifecycleRule' + secretKeySecret: + $ref: '#/definitions/SecretKeySelector' + securityToken: + description: 'SecurityToken is the user''s temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' + type: string + useSDKCreds: + description: UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + type: boolean + type: object + OSSLifecycleRule: + description: OSSLifecycleRule specifies how to manage bucket's lifecycle + properties: + markDeletionAfterDays: + description: MarkDeletionAfterDays is the number of days before we delete objects in the bucket + format: int32 + type: integer + markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type + format: int32 + type: integer + type: object + ObjectFieldSelector: + description: +structType=atomic + properties: + apiVersion: + description: |- + Version of the schema the FieldPath is written in terms of, defaults to "v1". + +optional + type: string + fieldPath: + description: Path of the field to select in the specified API version. + type: string + title: ObjectFieldSelector selects an APIVersioned field of an object. + type: object + ObjectMeta: + properties: + name: + type: string + namespace: + type: string + uid: + type: string + type: object + Outputs: + description: Outputs hold parameters, artifacts, and results from a step + properties: + artifacts: + $ref: '#/definitions/Artifacts' + exitCode: + description: ExitCode holds the exit code of a script template + type: string + parameters: + description: |- + Parameters holds the list of output parameters produced by a step + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/Parameter' + type: array + result: + description: Result holds the result (stdout) of a script template + type: string + type: object + OwnerReference: + description: |- + OwnerReference contains enough information to let you identify an owning + object. An owning object must be in the same namespace as the dependent, or + be cluster-scoped, so there is no namespace field. + +structType=atomic + properties: + apiVersion: + description: API version of the referent. + type: string + blockOwnerDeletion: + description: |- + If true, AND if the owner has the "foregroundDeletion" finalizer, then + the owner cannot be deleted from the key-value store until this + reference is removed. + See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion + for how the garbage collector interacts with this field and enforces the foreground deletion. + Defaults to false. + To set this field, a user needs "delete" permission of the owner, + otherwise 422 (Unprocessable Entity) will be returned. + +optional + type: boolean + controller: + description: |- + If true, this reference points to the managing controller. + +optional + type: boolean + kind: + description: |- + Kind of the referent. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + name: + description: |- + Name of the referent. + More info: http://kubernetes.io/docs/user-guide/identifiers#names + type: string + uid: + $ref: '#/definitions/UID' + type: object + ParallelSteps: + description: +kubebuilder:validation:Type=array + type: object + Parameter: + description: Parameter indicate a passed string parameter to a service template with an optional default value + properties: + default: + $ref: '#/definitions/AnyString' + description: + $ref: '#/definitions/AnyString' + enum: + description: Enum holds a list of string values to choose from, for the actual value of the parameter + items: + $ref: '#/definitions/AnyString' + type: array + globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters + type: string + name: + description: Name is the parameter name + type: string + value: + $ref: '#/definitions/AnyString' + valueFrom: + $ref: '#/definitions/ValueFrom' + type: object + PersistentVolumeAccessMode: + description: +enum + type: string + PersistentVolumeClaimSpec: + description: |- + PersistentVolumeClaimSpec describes the common attributes of storage devices + and allows a Source for provider-specific attributes + properties: + accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 + +optional + items: + $ref: '#/definitions/PersistentVolumeAccessMode' + type: array + dataSource: + $ref: '#/definitions/TypedLocalObjectReference' + dataSourceRef: + $ref: '#/definitions/TypedObjectReference' + resources: + $ref: '#/definitions/ResourceRequirements' + selector: + $ref: '#/definitions/LabelSelector' + storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 + +optional + type: string + volumeMode: + $ref: '#/definitions/PersistentVolumeMode' + volumeName: + description: |- + volumeName is the binding reference to the PersistentVolume backing this claim. + +optional + type: string + type: object + PersistentVolumeClaimTemplate: + description: |- + PersistentVolumeClaimTemplate is used to produce + PersistentVolumeClaim objects as part of an EphemeralVolumeSource. + properties: + annotations: + additionalProperties: + type: string + description: |- + Annotations is an unstructured key value map stored with a resource that may be + set by external tools to store and retrieve arbitrary metadata. They are not + queryable and should be preserved when modifying objects. + More info: http://kubernetes.io/docs/user-guide/annotations + +optional + type: object + creationTimestamp: + description: |- + CreationTimestamp is a timestamp representing the server time when this object was + created. It is not guaranteed to be set in happens-before order across separate operations. + Clients may not set this value. It is represented in RFC3339 form and is in UTC. + + Populated by the system. + Read-only. + Null for lists. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + +optional + type: string + deletionGracePeriodSeconds: + description: |- + Number of seconds allowed for this object to gracefully terminate before + it will be removed from the system. Only set when deletionTimestamp is also set. + May only be shortened. + Read-only. + +optional + format: int64 + type: integer + deletionTimestamp: + description: |- + DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This + field is set by the server when a graceful deletion is requested by the user, and is not + directly settable by a client. The resource is expected to be deleted (no longer visible + from resource lists, and not reachable by name) after the time in this field, once the + finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. + Once the deletionTimestamp is set, this value may not be unset or be set further into the + future, although it may be shortened or the resource may be deleted prior to this time. + For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react + by sending a graceful termination signal to the containers in the pod. After that 30 seconds, + the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, + remove the pod from the API. In the presence of network partitions, this object may still + exist after this timestamp, until an administrator or automated process can determine the + resource is fully terminated. + If not set, graceful deletion of the object has not been requested. + + Populated by the system when a graceful deletion is requested. + Read-only. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + +optional + type: string + finalizers: + description: |- + Must be empty before the object is deleted from the registry. Each entry + is an identifier for the responsible component that will remove the entry + from the list. If the deletionTimestamp of the object is non-nil, entries + in this list can only be removed. + Finalizers may be processed and removed in any order. Order is NOT enforced + because it introduces significant risk of stuck finalizers. + finalizers is a shared field, any actor with permission can reorder it. + If the finalizer list is processed in order, then this can lead to a situation + in which the component responsible for the first finalizer in the list is + waiting for a signal (field value, external system, or other) produced by a + component responsible for a finalizer later in the list, resulting in a deadlock. + Without enforced ordering finalizers are free to order amongst themselves and + are not vulnerable to ordering changes in the list. + +optional + +patchStrategy=merge + items: + type: string + type: array + generateName: + description: |- + GenerateName is an optional prefix, used by the server, to generate a unique + name ONLY IF the Name field has not been provided. + If this field is used, the name returned to the client will be different + than the name passed. This value will also be combined with a unique suffix. + The provided value has the same validation rules as the Name field, + and may be truncated by the length of the suffix required to make the value + unique on the server. + + If this field is specified and the generated name exists, the server will return a 409. + + Applied only if Name is not specified. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency + +optional + type: string + generation: + description: |- + A sequence number representing a specific generation of the desired state. + Populated by the system. Read-only. + +optional + format: int64 + type: integer + labels: + additionalProperties: + type: string + description: |- + Map of string keys and values that can be used to organize and categorize + (scope and select) objects. May match selectors of replication controllers + and services. + More info: http://kubernetes.io/docs/user-guide/labels + +optional + type: object + managedFields: + description: |- + ManagedFields maps workflow-id and version to the set of fields + that are managed by that workflow. This is mostly for internal + housekeeping, and users typically shouldn't need to set or + understand this field. A workflow can be the user's name, a + controller's name, or the name of a specific apply path like + "ci-cd". The set of fields is always in the version that the + workflow used when modifying the object. + + +optional + items: + $ref: '#/definitions/ManagedFieldsEntry' + type: array + name: + description: |- + Name must be unique within a namespace. Is required when creating resources, although + some resources may allow a client to request the generation of an appropriate name + automatically. Name is primarily intended for creation idempotence and configuration + definition. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/identifiers#names + +optional + type: string + namespace: + description: |- + Namespace defines the space within which each name must be unique. An empty namespace is + equivalent to the "default" namespace, but "default" is the canonical representation. + Not all objects are required to be scoped to a namespace - the value of this field for + those objects will be empty. + + Must be a DNS_LABEL. + Cannot be updated. + More info: http://kubernetes.io/docs/user-guide/namespaces + +optional + type: string + ownerReferences: + description: |- + List of objects depended by this object. If ALL objects in the list have + been deleted, this object will be garbage collected. If this object is managed by a controller, + then an entry in this list will point to this controller, with the controller field set to true. + There cannot be more than one managing controller. + +optional + +patchMergeKey=uid + +patchStrategy=merge + items: + $ref: '#/definitions/OwnerReference' + type: array + resourceVersion: + description: |- + An opaque value that represents the internal version of this object that can + be used by clients to determine when objects have changed. May be used for optimistic + concurrency, change detection, and the watch operation on a resource or set of resources. + Clients must treat these values as opaque and passed unmodified back to the server. + They may only be valid for a particular resource or set of resources. + + Populated by the system. + Read-only. + Value must be treated as opaque by clients and . + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency + +optional + type: string + selfLink: + description: |- + Deprecated: selfLink is a legacy read-only field that is no longer populated by the system. + +optional + type: string + spec: + $ref: '#/definitions/PersistentVolumeClaimSpec' + uid: + $ref: '#/definitions/UID' + type: object + PersistentVolumeClaimVolumeSource: + description: |- + This volume finds the bound PV and mounts that volume for the pod. A + PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another + type of volume that is owned by someone else (the system). + properties: + claimName: + description: |- + claimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims + type: string + readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. + +optional + type: boolean + title: PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. + type: object + PersistentVolumeMode: + description: +enum + title: PersistentVolumeMode describes how a volume is intended to be consumed, either Block or Filesystem. + type: string + PhotonPersistentDiskVolumeSource: + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + type: string + pdID: + description: pdID is the ID that identifies Photon Controller persistent disk + type: string + title: Represents a Photon Controller persistent disk resource. + type: object + Plugin: + description: Plugin is an Object with exactly one key + type: object + PodAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. + +optional + items: + $ref: '#/definitions/WeightedPodAffinityTerm' + type: array + requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. + +optional + items: + $ref: '#/definitions/PodAffinityTerm' + type: array + title: Pod affinity is a group of inter pod affinity scheduling rules. + type: object + PodAffinityTerm: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running + properties: + labelSelector: + $ref: '#/definitions/LabelSelector' + namespaceSelector: + $ref: '#/definitions/LabelSelector' + namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". + +optional + items: + type: string + type: array + topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. + type: string + type: object + PodAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. + +optional + items: + $ref: '#/definitions/WeightedPodAffinityTerm' + type: array + requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. + +optional + items: + $ref: '#/definitions/PodAffinityTerm' + type: array + title: Pod anti affinity is a group of inter pod anti affinity scheduling rules. + type: object + PodFSGroupChangePolicy: + description: |- + PodFSGroupChangePolicy holds policies that will be used for applying fsGroup to a volume + when volume is mounted. + +enum + type: string + PodSecurityContext: + description: |- + Some fields are also present in container.securityContext. Field values of + container.securityContext take precedence over field values of PodSecurityContext. + properties: + fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. + +optional + format: int64 + type: integer + fsGroupChangePolicy: + $ref: '#/definitions/PodFSGroupChangePolicy' + runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. + +optional + format: int64 + type: integer + runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + +optional + type: boolean + runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. + +optional + format: int64 + type: integer + seLinuxOptions: + $ref: '#/definitions/SELinuxOptions' + seccompProfile: + $ref: '#/definitions/SeccompProfile' + supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in addition + to the container's primary GID, the fsGroup (if specified), and group memberships + defined in the container image for the uid of the container process. If unspecified, + no additional groups are added to any container. Note that group memberships + defined in the container image for the uid of the container process are still effective, + even if they are not included in this list. + Note that this field cannot be set when spec.os.name is windows. + +optional + items: + format: int64 + type: integer + type: array + sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. + +optional + items: + $ref: '#/definitions/Sysctl' + type: array + windowsOptions: + $ref: '#/definitions/WindowsSecurityContextOptions' + title: PodSecurityContext holds pod-level security attributes and common container settings. + type: object + PortworxVolumeSource: + properties: + fsType: + description: |- + fSType represents the filesystem type to mount + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified. + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + volumeID: + description: volumeID uniquely identifies a Portworx volume + type: string + title: PortworxVolumeSource represents a Portworx volume resource. + type: object + PreferredSchedulingTerm: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). + properties: + preference: + $ref: '#/definitions/NodeSelectorTerm' + weight: + description: Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100. + format: int32 + type: integer + type: object + Probe: + description: |- + Probe describes a health check to be performed against a container to determine whether it is + alive or ready to receive traffic. + properties: + exec: + $ref: '#/definitions/ExecAction' + failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. + +optional + format: int32 + type: integer + grpc: + $ref: '#/definitions/GRPCAction' + httpGet: + $ref: '#/definitions/HTTPGetAction' + initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + +optional + format: int32 + type: integer + periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. + +optional + format: int32 + type: integer + successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. + +optional + format: int32 + type: integer + tcpSocket: + $ref: '#/definitions/TCPSocketAction' + terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. + +optional + format: int64 + type: integer + timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes + +optional + format: int32 + type: integer + type: object + ProcMountType: + description: +enum + type: string + Progress: + title: Progress in N/M format. N is number of task complete. M is number of tasks. + type: string + ProjectedVolumeSource: + description: Represents a projected volume source + properties: + defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + sources: + description: |- + sources is the list of volume projections + +optional + items: + $ref: '#/definitions/VolumeProjection' + type: array + type: object + Prometheus: + description: Prometheus is a prometheus metric to be emitted + properties: + counter: + $ref: '#/definitions/Counter' + gauge: + $ref: '#/definitions/Gauge' + help: + description: Help is a string that describes the metric + type: string + histogram: + $ref: '#/definitions/Histogram' + labels: + description: Labels is a list of metric labels + items: + $ref: '#/definitions/MetricLabel' + type: array + name: + description: Name is the name of the metric + type: string + when: + description: When is a conditional statement that decides when to emit the metric + type: string + type: object + Protocol: + description: +enum + title: Protocol defines network protocols supported for things like container ports. type: string - ports: - description: |- - List of ports to expose from the container. Not specifying a port here - DOES NOT prevent that port from being exposed. Any port which is - listening on the default "0.0.0.0" address inside a container will be - accessible from the network. - Modifying this array with strategic merge patch may corrupt the data. - For more information See https://github.com/kubernetes/kubernetes/issues/108255. - Cannot be updated. - +optional - +patchMergeKey=containerPort - +patchStrategy=merge - +listType=map - +listMapKey=containerPort - +listMapKey=protocol - items: - $ref: '#/definitions/ContainerPort' - type: array - readinessProbe: - $ref: '#/definitions/Probe' - resources: - $ref: '#/definitions/ResourceRequirements' - securityContext: - $ref: '#/definitions/SecurityContext' - startupProbe: - $ref: '#/definitions/Probe' - stdin: - description: |- - Whether this container should allocate a buffer for stdin in the container runtime. If this - is not set, reads from stdin in the container will always result in EOF. - Default is false. - +optional - type: boolean - stdinOnce: - description: |- - Whether the container runtime should close the stdin channel after it has been opened by - a single attach. When stdin is true the stdin stream will remain open across multiple attach - sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the - first client attaches to stdin, and then remains open and accepts data until the client disconnects, - at which time stdin is closed and remains closed until the container is restarted. If this - flag is false, a container processes that reads from stdin will never receive an EOF. - Default is false - +optional - type: boolean - terminationMessagePath: + PullPolicy: description: |- - Optional: Path at which the file to which the container's termination message - will be written is mounted into the container's filesystem. - Message written is intended to be brief final status, such as an assertion failure message. - Will be truncated by the node if greater than 4096 bytes. The total message length across - all containers will be limited to 12kb. - Defaults to /dev/termination-log. - Cannot be updated. - +optional + PullPolicy describes a policy for if/when to pull a container image + +enum type: string - terminationMessagePolicy: - $ref: '#/definitions/TerminationMessagePolicy' - tty: - description: |- - Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. - Default is false. - +optional - type: boolean - volumeDevices: - description: |- - volumeDevices is the list of block devices to be used by the container. - +patchMergeKey=devicePath - +patchStrategy=merge - +optional - items: - $ref: '#/definitions/VolumeDevice' - type: array - volumeMounts: + Quantity: description: |- - Pod volumes to mount into the container's filesystem. - Cannot be updated. - +optional - +patchMergeKey=mountPath - +patchStrategy=merge + The serialization format is: + + ``` + ::= + + (Note that may be empty, from the "" case in .) + + ::= 0 | 1 | ... | 9 + ::= | + ::= | . | . | . + ::= "+" | "-" + ::= | + ::= | | + ::= Ki | Mi | Gi | Ti | Pi | Ei + + (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) + + ::= m | "" | k | M | G | T | P | E + + (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) + + ::= "e" | "E" + ``` + + No matter which of the three exponent forms is used, no quantity may represent + a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal + places. Numbers larger or more precise will be capped or rounded up. + (E.g.: 0.1m will rounded up to 1m.) + This may be extended in the future if we require larger or smaller quantities. + + When a Quantity is parsed from a string, it will remember the type of suffix + it had, and will use the same type again when it is serialized. + + Before serializing, Quantity will be put in "canonical form". + This means that Exponent/suffix will be adjusted up or down (with a + corresponding increase or decrease in Mantissa) such that: + + No precision is lost + No fractional digits will be emitted + The exponent (or suffix) is as large as possible. + + The sign will be omitted unless the number is negative. + + Examples: + + 1.5 will be serialized as "1500m" + 1.5Gi will be serialized as "1536Mi" + + Note that the quantity will NEVER be internally represented by a + floating point number. That is the whole point of this exercise. + + Non-canonical values will still parse as long as they are well formed, + but will be re-emitted in their canonical form. (So always use canonical + form, or don't diff.) + + This format is intended to make it difficult to use these numbers without + writing some sort of special handling code in the hopes that that will + cause implementors to also use a fixed point implementation. + + +protobuf=true + +protobuf.embed=string + +protobuf.options.marshal=false + +protobuf.options.(gogoproto.goproto_stringer)=false + +k8s:deepcopy-gen=true + +k8s:openapi-gen=true + title: |- + Quantity is a fixed-point representation of a number. + It provides convenient marshaling/unmarshaling in JSON and YAML, + in addition to String() and AsInt64() accessors. + type: object + QuobyteVolumeSource: + description: Quobyte volumes do not support ownership management or SELinux relabeling. + properties: + group: + description: |- + group to map volume access to + Default is no group + +optional + type: string + readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. + +optional + type: boolean + registry: + description: |- + registry represents a single or multiple Quobyte Registry services + specified as a string as host:port pair (multiple entries are separated with commas) + which acts as the central registry for volumes + type: string + tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin + +optional + type: string + user: + description: |- + user to map volume access to + Defaults to serivceaccount user + +optional + type: string + volume: + description: volume is a string that references an already created Quobyte volume by name. + type: string + title: Represents a Quobyte mount that lasts the lifetime of a pod. + type: object + RBDVolumeSource: + description: RBD volumes support ownership management and SELinux relabeling. + properties: + fsType: + description: |- + fsType is the filesystem type of the volume that you want to mount. + Tip: Ensure that the filesystem type is supported by the host operating system. + Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + TODO: how do we prevent errors in the filesystem from compromising the machine + +optional + type: string + image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + type: string + keyring: + description: |- + keyring is the path to key ring for RBDUser. + Default is /etc/ceph/keyring. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + +optional + type: string + monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + items: + type: string + type: array + pool: + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + +optional + type: string + readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + user: + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it + +optional + type: string + title: Represents a Rados Block Device mount that lasts the lifetime of a pod. + type: object + RawArtifact: + description: RawArtifact allows raw string content to be placed as an artifact in a container + properties: + data: + description: Data is the string contents of the artifact + type: string + type: object + ResourceClaim: + properties: + name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. + type: string + title: ResourceClaim references one entry in PodSpec.ResourceClaims. + type: object + ResourceFieldSelector: + description: |- + ResourceFieldSelector represents container resources (cpu, memory) and their output format + +structType=atomic + properties: + containerName: + description: |- + Container name: required for volumes, optional for env vars + +optional + type: string + divisor: + $ref: '#/definitions/Quantity' + resource: + description: 'Required: resource to select' + type: string + type: object + ResourceList: + additionalProperties: + $ref: '#/definitions/Quantity' + title: ResourceList is a set of (resource name, quantity) pairs. + type: object + ResourceRequirements: + properties: + claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. + + +listType=map + +listMapKey=name + +featureGate=DynamicResourceAllocation + +optional + items: + $ref: '#/definitions/ResourceClaim' + type: array + limits: + $ref: '#/definitions/ResourceList' + requests: + $ref: '#/definitions/ResourceList' + title: ResourceRequirements describes the compute resource requirements. + type: object + ResourceTemplate: + description: ResourceTemplate is a template subtype to manipulate kubernetes resources + properties: + action: + description: |- + Action is the action to perform to the resource. + Must be one of: get, create, apply, delete, replace, patch + type: string + failureCondition: + description: |- + FailureCondition is a label selector expression which describes the conditions + of the k8s resource in which the step was considered failed + type: string + flags: + description: |- + Flags is a set of additional options passed to kubectl before submitting a resource + I.e. to disable resource validation: + flags: [ + "--validate=false" # disable resource validation + ] + items: + type: string + type: array + manifest: + description: Manifest contains the kubernetes manifest + type: string + manifestFrom: + $ref: '#/definitions/ManifestFrom' + mergeStrategy: + description: |- + MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" + Must be one of: strategic, merge, json + type: string + setOwnerReference: + description: SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource. + type: boolean + successCondition: + description: |- + SuccessCondition is a label selector expression which describes the conditions + of the k8s resource in which it is acceptable to proceed to the following step + type: string + type: object + RetryAffinity: + properties: + nodeAntiAffinity: + $ref: '#/definitions/RetryNodeAntiAffinity' + title: RetryAffinity prevents running steps on the same host. + type: object + RetryNodeAntiAffinity: + description: In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". + title: RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + type: object + RetryPolicy: + type: string + RetryStrategy: + description: RetryStrategy provides controls on how to retry a workflow step + properties: + affinity: + $ref: '#/definitions/RetryAffinity' + backoff: + $ref: '#/definitions/Backoff' + expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored + type: string + limit: + $ref: '#/definitions/IntOrString' + retryPolicy: + $ref: '#/definitions/RetryPolicy' + type: object + S3Artifact: + description: S3Artifact is the location of an S3 artifact + properties: + accessKeySecret: + $ref: '#/definitions/SecretKeySelector' + bucket: + description: Bucket is the name of the bucket + type: string + caSecret: + $ref: '#/definitions/SecretKeySelector' + createBucketIfNotPresent: + $ref: '#/definitions/CreateS3BucketOptions' + encryptionOptions: + $ref: '#/definitions/S3EncryptionOptions' + endpoint: + description: Endpoint is the hostname of the bucket endpoint + type: string + insecure: + description: Insecure will connect to the service with TLS + type: boolean + key: + description: Key is the key in the bucket where the artifact resides + type: string + region: + description: Region contains the optional bucket region + type: string + roleARN: + description: RoleARN is the Amazon Resource Name (ARN) of the role to assume. + type: string + secretKeySecret: + $ref: '#/definitions/SecretKeySelector' + useSDKCreds: + description: UseSDKCreds tells the driver to figure out credentials based on sdk defaults. + type: boolean + type: object + S3EncryptionOptions: + description: S3EncryptionOptions used to determine encryption options during s3 operations + properties: + enableEncryption: + description: EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used + type: boolean + kmsEncryptionContext: + description: KmsEncryptionContext is a json blob that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context for more information + type: string + kmsKeyId: + description: KMSKeyId tells the driver to encrypt the object using the specified KMS Key. + type: string + serverSideCustomerKeySecret: + $ref: '#/definitions/SecretKeySelector' + type: object + SELinuxOptions: + description: SELinuxOptions are the labels to be applied to the container + properties: + level: + description: |- + Level is SELinux level label that applies to the container. + +optional + type: string + role: + description: |- + Role is a SELinux role label that applies to the container. + +optional + type: string + type: + description: |- + Type is a SELinux type label that applies to the container. + +optional + type: string + user: + description: |- + User is a SELinux user label that applies to the container. + +optional + type: string + type: object + ScaleIOVolumeSource: + description: ScaleIOVolumeSource represents a persistent ScaleIO volume + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". + +optional + type: string + gateway: + description: gateway is the host address of the ScaleIO API Gateway. + type: string + protectionDomain: + description: |- + protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. + +optional + type: string + readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + sslEnabled: + description: |- + sslEnabled Flag enable/disable SSL communication with Gateway, default false + +optional + type: boolean + storageMode: + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. + +optional + type: string + storagePool: + description: |- + storagePool is the ScaleIO Storage Pool associated with the protection domain. + +optional + type: string + system: + description: system is the name of the storage system as configured in ScaleIO. + type: string + volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. + type: string + type: object + ScriptTemplate: + description: ScriptTemplate is a template subtype to enable scripting through code steps + properties: + args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + env: + description: |- + List of environment variables to set in the container. + Cannot be updated. + +optional + +patchMergeKey=name + +patchStrategy=merge + items: + $ref: '#/definitions/EnvVar' + type: array + envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. + +optional + items: + $ref: '#/definitions/EnvFromSource' + type: array + image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + +optional + type: string + imagePullPolicy: + $ref: '#/definitions/PullPolicy' + lifecycle: + $ref: '#/definitions/Lifecycle' + livenessProbe: + $ref: '#/definitions/Probe' + name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. + type: string + ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. + +optional + +patchMergeKey=containerPort + +patchStrategy=merge + +listType=map + +listMapKey=containerPort + +listMapKey=protocol + items: + $ref: '#/definitions/ContainerPort' + type: array + readinessProbe: + $ref: '#/definitions/Probe' + resources: + $ref: '#/definitions/ResourceRequirements' + securityContext: + $ref: '#/definitions/SecurityContext' + source: + description: Source contains the source code of the script to execute + type: string + startupProbe: + $ref: '#/definitions/Probe' + stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. + +optional + type: boolean + stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false + +optional + type: boolean + terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. + +optional + type: string + terminationMessagePolicy: + $ref: '#/definitions/TerminationMessagePolicy' + tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. + +optional + type: boolean + volumeDevices: + description: |- + volumeDevices is the list of block devices to be used by the container. + +patchMergeKey=devicePath + +patchStrategy=merge + +optional + items: + $ref: '#/definitions/VolumeDevice' + type: array + volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. + +optional + +patchMergeKey=mountPath + +patchStrategy=merge + items: + $ref: '#/definitions/VolumeMount' + type: array + workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. + +optional + type: string + type: object + SeccompProfile: + description: |- + Only one profile source may be set. + +union + properties: + localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must only be set if type is "Localhost". + +optional + type: string + type: + $ref: '#/definitions/SeccompProfileType' + title: SeccompProfile defines a pod/container's seccomp profile settings. + type: object + SeccompProfileType: + description: +enum + title: SeccompProfileType defines the supported seccomp profile types. + type: string + SecretEnvSource: + description: |- + The contents of the target Secret's Data field will represent the + key-value pairs as environment variables. + properties: + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + Specify whether the Secret must be defined + +optional + type: boolean + title: |- + SecretEnvSource selects a Secret to populate the environment + variables with. + type: object + SecretKeySelector: + description: +structType=atomic + properties: + key: + description: The key of the secret to select from. Must be a valid secret key. + type: string + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + Specify whether the Secret or its key must be defined + +optional + type: boolean + title: SecretKeySelector selects a key of a Secret. + type: object + SecretProjection: + description: |- + The contents of the target Secret's Data field will be presented in a + projected volume as files using the keys in the Data field as the file names. + Note that this is identical to a secret volume source without the default + mode. + properties: + items: + description: |- + items if unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the Secret, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + +optional + items: + $ref: '#/definitions/KeyToPath' + type: array + name: + description: |- + Name of the referent. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + TODO: Add other useful fields. apiVersion, kind, uid? + +optional + type: string + optional: + description: |- + optional field specify whether the Secret or its key must be defined + +optional + type: boolean + title: Adapts a secret into a projected volume. + type: object + SecretVolumeSource: + description: |- + The contents of the target Secret's Data field will be presented in a volume + as files using the keys in the Data field as the file names. + Secret volumes support ownership management and SELinux relabeling. + properties: + defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. Defaults to 0644. + Directories within the path are not affected by this setting. + This might be in conflict with other options that affect the file + mode, like fsGroup, and the result can be other mode bits set. + +optional + format: int32 + type: integer + items: + description: |- + items If unspecified, each key-value pair in the Data field of the referenced + Secret will be projected into the volume as a file whose name is the + key and content is the value. If specified, the listed keys will be + projected into the specified paths, and unlisted keys will not be + present. If a key is specified which is not present in the Secret, + the volume setup will error unless it is marked optional. Paths must be + relative and may not contain the '..' path or start with '..'. + +optional + items: + $ref: '#/definitions/KeyToPath' + type: array + optional: + description: |- + optional field specify whether the Secret or its keys must be defined + +optional + type: boolean + secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret + +optional + type: string + title: Adapts a Secret into a volume. + type: object + SecurityContext: + description: |- + Some fields are present in both SecurityContext and PodSecurityContext. When both + are set, the values in SecurityContext take precedence. + properties: + allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. + +optional + type: boolean + capabilities: + $ref: '#/definitions/Capabilities' + privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. + +optional + type: boolean + procMount: + $ref: '#/definitions/ProcMountType' + readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. + +optional + type: boolean + runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + +optional + format: int64 + type: integer + runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + +optional + type: boolean + runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. + +optional + format: int64 + type: integer + seLinuxOptions: + $ref: '#/definitions/SELinuxOptions' + seccompProfile: + $ref: '#/definitions/SeccompProfile' + windowsOptions: + $ref: '#/definitions/WindowsSecurityContextOptions' + title: SecurityContext holds security configuration that will be applied to a container. + type: object + SemaphoreRef: + description: SemaphoreRef is a reference of Semaphore + properties: + configMapKeyRef: + $ref: '#/definitions/ConfigMapKeySelector' + namespace: + default: '[namespace of workflow]' + type: string + type: object + Sequence: + description: Sequence expands a workflow step into numeric range + properties: + count: + $ref: '#/definitions/IntOrString' + end: + $ref: '#/definitions/IntOrString' + format: + description: Format is a printf format string to format the value in the sequence + type: string + start: + $ref: '#/definitions/IntOrString' + type: object + ServiceAccountTokenProjection: + description: |- + ServiceAccountTokenProjection represents a projected service account token + volume. This projection can be used to insert a service account token into + the pods runtime filesystem for use against APIs (Kubernetes API Server or + otherwise). + properties: + audience: + description: |- + audience is the intended audience of the token. A recipient of a token + must identify itself with an identifier specified in the audience of the + token, and otherwise should reject the token. The audience defaults to the + identifier of the apiserver. + +optional + type: string + expirationSeconds: + description: |- + expirationSeconds is the requested duration of validity of the service + account token. As the token approaches expiration, the kubelet volume + plugin will proactively rotate the service account token. The kubelet will + start trying to rotate the token if the token is older than 80 percent of + its time to live or if the token is older than 24 hours.Defaults to 1 hour + and must be at least 10 minutes. + +optional + format: int64 + type: integer + path: + description: |- + path is the path relative to the mount point of the file to project the + token into. + type: string + type: object + StorageMedium: + title: StorageMedium defines ways that storage can be allocated to a volume. + type: string + StorageOSVolumeSource: + properties: + fsType: + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + +optional + type: string + readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. + +optional + type: boolean + secretRef: + $ref: '#/definitions/LocalObjectReference' + volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. + type: string + volumeNamespace: + description: |- + volumeNamespace specifies the scope of the volume within StorageOS. If no + namespace is specified then the Pod's namespace will be used. This allows the + Kubernetes name scoping to be mirrored within StorageOS for tighter integration. + Set VolumeName to any name to override the default behaviour. + Set to "default" if you are not using namespaces within StorageOS. + Namespaces that do not pre-exist within StorageOS will be created. + +optional + type: string + title: Represents a StorageOS persistent volume resource. + type: object + SuppliedValueFrom: + title: SuppliedValueFrom is a placeholder for a value to be filled in directly, either through the CLI, API, etc. + type: object + SuspendTemplate: + description: SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time + properties: + duration: + description: |- + Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. + Could also be a Duration, e.g.: "2m", "6h" + type: string + type: object + Synchronization: + description: Synchronization holds synchronization lock configuration + properties: + mutex: + $ref: '#/definitions/Mutex' + semaphore: + $ref: '#/definitions/SemaphoreRef' + type: object + Sysctl: + description: Sysctl defines a kernel parameter to be set + properties: + name: + description: Name of a property to set + type: string + value: + description: Value of a property to set + type: string + type: object + TCPSocketAction: + description: TCPSocketAction describes an action based on opening a socket + properties: + host: + description: |- + Optional: Host name to connect to, defaults to the pod IP. + +optional + type: string + port: + $ref: '#/definitions/IntOrString' + type: object + TaintEffect: + description: +enum + type: string + TarStrategy: + description: TarStrategy will tar and gzip the file or directory when saving + properties: + compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. + format: int32 + type: integer + type: object + Template: + description: Template is a reusable and composable unit of execution in a workflow + properties: + activeDeadlineSeconds: + $ref: '#/definitions/IntOrString' + affinity: + $ref: '#/definitions/Affinity' + archiveLocation: + $ref: '#/definitions/ArtifactLocation' + automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. + type: boolean + container: + $ref: '#/definitions/Container' + containerSet: + $ref: '#/definitions/ContainerSetTemplate' + daemon: + description: Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness + type: boolean + dag: + $ref: '#/definitions/DAGTemplate' + data: + $ref: '#/definitions/Data' + executor: + $ref: '#/definitions/ExecutorConfig' + failFast: + description: |- + FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this + template is expanded with `withItems`, etc. + type: boolean + hostAliases: + description: |- + HostAliases is an optional list of hosts and IPs that will be injected into the pod spec + +patchStrategy=merge + +patchMergeKey=ip + items: + $ref: '#/definitions/HostAlias' + type: array + http: + $ref: '#/definitions/HTTP' + initContainers: + description: |- + InitContainers is a list of containers which run before the main container. + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/UserContainer' + type: array + inputs: + $ref: '#/definitions/Inputs' + memoize: + $ref: '#/definitions/Memoize' + metadata: + $ref: '#/definitions/Metadata' + metrics: + $ref: '#/definitions/Metrics' + name: + description: Name is the name of the template + type: string + nodeSelector: + additionalProperties: + type: string + description: |- + NodeSelector is a selector to schedule this step of the workflow to be + run on the selected node(s). Overrides the selector set at the workflow level. + type: object + outputs: + $ref: '#/definitions/Outputs' + parallelism: + description: |- + Parallelism limits the max total parallel pods that can execute at the same time within the + boundaries of this template invocation. If additional steps/dag templates are invoked, the + pods created by those templates will not be counted towards this total. + format: int64 + type: integer + plugin: + $ref: '#/definitions/Plugin' + podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). + type: string + priority: + description: Priority to apply to workflow pods. + format: int32 + type: integer + priorityClassName: + description: PriorityClassName to apply to workflow pods. + type: string + resource: + $ref: '#/definitions/ResourceTemplate' + retryStrategy: + $ref: '#/definitions/RetryStrategy' + schedulerName: + description: |- + If specified, the pod will be dispatched by specified scheduler. + Or it will be dispatched by workflow scope scheduler if specified. + If neither specified, the pod will be dispatched by default scheduler. + +optional + type: string + script: + $ref: '#/definitions/ScriptTemplate' + securityContext: + $ref: '#/definitions/PodSecurityContext' + serviceAccountName: + description: ServiceAccountName to apply to workflow pods + type: string + sidecars: + description: |- + Sidecars is a list of containers which run alongside the main container + Sidecars are automatically killed when the main container completes + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/UserContainer' + type: array + steps: + description: Steps define a series of sequential/parallel workflow steps + items: + $ref: '#/definitions/ParallelSteps' + type: array + suspend: + $ref: '#/definitions/SuspendTemplate' + synchronization: + $ref: '#/definitions/Synchronization' + timeout: + description: |- + Timeout allows to set the total node execution timeout duration counting from the node's start time. + This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. + type: string + tolerations: + description: |- + Tolerations to apply to workflow pods. + +patchStrategy=merge + +patchMergeKey=key + items: + $ref: '#/definitions/Toleration' + type: array + volumes: + description: |- + Volumes is a list of volumes that can be mounted by containers in a template. + +patchStrategy=merge + +patchMergeKey=name + items: + $ref: '#/definitions/Volume' + type: array + type: object + TemplateRef: + properties: + clusterScope: + description: ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate). + type: boolean + name: + description: Name is the resource name of the template. + type: string + template: + description: Template is the name of referred template in the resource. + type: string + title: TemplateRef is a reference of template resource. + type: object + TerminationMessagePolicy: + description: +enum + title: TerminationMessagePolicy describes how termination messages are retrieved from a container. + type: string + Toleration: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . + properties: + effect: + $ref: '#/definitions/TaintEffect' + key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. + +optional + type: string + operator: + $ref: '#/definitions/TolerationOperator' + tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. + +optional + format: int64 + type: integer + value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. + +optional + type: string + type: object + TolerationOperator: + description: +enum + title: A toleration operator is the set of operators that can be used in a toleration. + type: string + Transformation: items: - $ref: '#/definitions/VolumeMount' + $ref: '#/definitions/TransformationStep' type: array - workingDir: - description: |- - Container's working directory. - If not specified, the container runtime's default will be used, which - might be configured in the container image. - Cannot be updated. - +optional - type: string - title: UserContainer is a container specified by a user. - type: object - ValueFrom: - description: ValueFrom describes a location in which to obtain the value to a - parameter - properties: - configMapKeyRef: - $ref: '#/definitions/ConfigMapKeySelector' - default: - $ref: '#/definitions/AnyString' - event: - description: Selector (https://github.com/expr-lang/expr) that is evaluated - against the event to get the value of the parameter. E.g. `payload.message` - type: string - expression: - description: Expression, if defined, is evaluated to specify the value for - the parameter - type: string - jqFilter: - description: JQFilter expression against the resource object in resource templates - type: string - jsonPath: - description: JSONPath of a resource to retrieve an output parameter value - from in resource templates - type: string - parameter: - description: |- - Parameter reference to a step or dag task in which to retrieve an output parameter value from - (e.g. '{{steps.mystep.outputs.myparam}}') - type: string - path: - description: Path in the container to retrieve an output parameter value from - in container templates - type: string - supplied: - $ref: '#/definitions/SuppliedValueFrom' - type: object - Volume: - properties: - awsElasticBlockStore: - $ref: '#/definitions/AWSElasticBlockStoreVolumeSource' - azureDisk: - $ref: '#/definitions/AzureDiskVolumeSource' - azureFile: - $ref: '#/definitions/AzureFileVolumeSource' - cephfs: - $ref: '#/definitions/CephFSVolumeSource' - cinder: - $ref: '#/definitions/CinderVolumeSource' - configMap: - $ref: '#/definitions/ConfigMapVolumeSource' - csi: - $ref: '#/definitions/CSIVolumeSource' - downwardAPI: - $ref: '#/definitions/DownwardAPIVolumeSource' - emptyDir: - $ref: '#/definitions/EmptyDirVolumeSource' - ephemeral: - $ref: '#/definitions/EphemeralVolumeSource' - fc: - $ref: '#/definitions/FCVolumeSource' - flexVolume: - $ref: '#/definitions/FlexVolumeSource' - flocker: - $ref: '#/definitions/FlockerVolumeSource' - gcePersistentDisk: - $ref: '#/definitions/GCEPersistentDiskVolumeSource' - gitRepo: - $ref: '#/definitions/GitRepoVolumeSource' - glusterfs: - $ref: '#/definitions/GlusterfsVolumeSource' - hostPath: - $ref: '#/definitions/HostPathVolumeSource' - iscsi: - $ref: '#/definitions/ISCSIVolumeSource' - name: - description: |- - name of the volume. - Must be a DNS_LABEL and unique within the pod. - More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names - type: string - nfs: - $ref: '#/definitions/NFSVolumeSource' - persistentVolumeClaim: - $ref: '#/definitions/PersistentVolumeClaimVolumeSource' - photonPersistentDisk: - $ref: '#/definitions/PhotonPersistentDiskVolumeSource' - portworxVolume: - $ref: '#/definitions/PortworxVolumeSource' - projected: - $ref: '#/definitions/ProjectedVolumeSource' - quobyte: - $ref: '#/definitions/QuobyteVolumeSource' - rbd: - $ref: '#/definitions/RBDVolumeSource' - scaleIO: - $ref: '#/definitions/ScaleIOVolumeSource' - secret: - $ref: '#/definitions/SecretVolumeSource' - storageos: - $ref: '#/definitions/StorageOSVolumeSource' - vsphereVolume: - $ref: '#/definitions/VsphereVirtualDiskVolumeSource' - title: Volume represents a named volume in a pod that may be accessed by any container - in the pod. - type: object - VolumeDevice: - properties: - devicePath: - description: devicePath is the path inside of the container that the device - will be mapped to. - type: string - name: - description: name must match the name of a persistentVolumeClaim in the pod - type: string - title: volumeDevice describes a mapping of a raw block device within a container. - type: object - VolumeMount: - properties: - mountPath: - description: |- - Path within the container at which the volume should be mounted. Must - not contain ':'. - type: string - mountPropagation: - $ref: '#/definitions/MountPropagationMode' - name: - description: This must match the Name of a Volume. - type: string - readOnly: - description: |- - Mounted read-only if true, read-write otherwise (false or unspecified). - Defaults to false. - +optional - type: boolean - subPath: - description: |- - Path within the volume from which the container's volume should be mounted. - Defaults to "" (volume's root). - +optional - type: string - subPathExpr: - description: |- - Expanded path within the volume from which the container's volume should be mounted. - Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. - Defaults to "" (volume's root). - SubPathExpr and SubPath are mutually exclusive. - +optional - type: string - title: VolumeMount describes a mounting of a Volume within a container. - type: object - VolumeProjection: - description: Projection that may be projected along with other supported volume - types - properties: - configMap: - $ref: '#/definitions/ConfigMapProjection' - downwardAPI: - $ref: '#/definitions/DownwardAPIProjection' - secret: - $ref: '#/definitions/SecretProjection' - serviceAccountToken: - $ref: '#/definitions/ServiceAccountTokenProjection' - type: object - VsphereVirtualDiskVolumeSource: - properties: - fsType: - description: |- - fsType is filesystem type to mount. - Must be a filesystem type supported by the host operating system. - Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. - +optional - type: string - storagePolicyID: - description: |- - storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. - +optional - type: string - storagePolicyName: - description: |- - storagePolicyName is the storage Policy Based Management (SPBM) profile name. - +optional - type: string - volumePath: - description: volumePath is the path that identifies vSphere volume vmdk - type: string - title: Represents a vSphere volume resource. - type: object - WeightedPodAffinityTerm: - description: The weights of all of the matched WeightedPodAffinityTerm fields - are added per-node to find the most preferred node(s) - properties: - podAffinityTerm: - $ref: '#/definitions/PodAffinityTerm' - weight: - description: |- - weight associated with matching the corresponding podAffinityTerm, - in the range 1-100. - format: int32 + TransformationStep: + properties: + expression: + description: Expression defines an expr expression to apply + type: string + type: object + Type: + format: int64 + title: Type represents the stored type of IntOrString. type: integer - type: object - WindowsSecurityContextOptions: - properties: - gmsaCredentialSpec: - description: |- - GMSACredentialSpec is where the GMSA admission webhook - (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the - GMSA credential spec named by the GMSACredentialSpecName field. - +optional - type: string - gmsaCredentialSpecName: - description: |- - GMSACredentialSpecName is the name of the GMSA credential spec to use. - +optional - type: string - hostProcess: - description: |- - HostProcess determines if a container should be run as a 'Host Process' container. - This field is alpha-level and will only be honored by components that enable the - WindowsHostProcessContainers feature flag. Setting this field without the feature - flag will result in errors when validating the Pod. All of a Pod's containers must - have the same effective HostProcess value (it is not allowed to have a mix of HostProcess - containers and non-HostProcess containers). In addition, if HostProcess is true - then HostNetwork must also be set to true. - +optional - type: boolean - runAsUserName: - description: |- - The UserName in Windows to run the entrypoint of the container process. - Defaults to the user specified in image metadata if unspecified. - May also be set in PodSecurityContext. If set in both SecurityContext and - PodSecurityContext, the value specified in SecurityContext takes precedence. - +optional - type: string - title: WindowsSecurityContextOptions contain Windows-specific options and credentials. - type: object - Workflow: - properties: - metadata: - $ref: '#/definitions/ObjectMeta' - required: - - metadata - type: object - ZipStrategy: - description: ZipStrategy will unzip zipped input artifacts - type: object + TypedLocalObjectReference: + description: |- + TypedLocalObjectReference contains enough information to let you locate the + typed referenced object inside the same namespace. + +structType=atomic + properties: + apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. + +optional + type: string + kind: + description: Kind is the type of resource being referenced + type: string + name: + description: Name is the name of resource being referenced + type: string + type: object + TypedObjectReference: + properties: + apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. + +optional + type: string + kind: + description: Kind is the type of resource being referenced + type: string + name: + description: Name is the name of resource being referenced + type: string + namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. + +featureGate=CrossNamespaceVolumeDataSource + +optional + type: string + type: object + UID: + description: |- + UID is a type that holds unique ID values, including UUIDs. Because we + don't ONLY use UUIDs, this is an alias to string. Being a type captures + intent and helps make sure that UIDs and names do not get conflated. + type: string + URIScheme: + description: |- + URIScheme identifies the scheme used for connection to a host for Get actions + +enum + type: string + UserContainer: + properties: + args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell + +optional + items: + type: string + type: array + env: + description: |- + List of environment variables to set in the container. + Cannot be updated. + +optional + +patchMergeKey=name + +patchStrategy=merge + items: + $ref: '#/definitions/EnvVar' + type: array + envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. + +optional + items: + $ref: '#/definitions/EnvFromSource' + type: array + image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. + +optional + type: string + imagePullPolicy: + $ref: '#/definitions/PullPolicy' + lifecycle: + $ref: '#/definitions/Lifecycle' + livenessProbe: + $ref: '#/definitions/Probe' + mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding + type: boolean + name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. + type: string + ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. + +optional + +patchMergeKey=containerPort + +patchStrategy=merge + +listType=map + +listMapKey=containerPort + +listMapKey=protocol + items: + $ref: '#/definitions/ContainerPort' + type: array + readinessProbe: + $ref: '#/definitions/Probe' + resources: + $ref: '#/definitions/ResourceRequirements' + securityContext: + $ref: '#/definitions/SecurityContext' + startupProbe: + $ref: '#/definitions/Probe' + stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. + +optional + type: boolean + stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false + +optional + type: boolean + terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. + +optional + type: string + terminationMessagePolicy: + $ref: '#/definitions/TerminationMessagePolicy' + tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. + +optional + type: boolean + volumeDevices: + description: |- + volumeDevices is the list of block devices to be used by the container. + +patchMergeKey=devicePath + +patchStrategy=merge + +optional + items: + $ref: '#/definitions/VolumeDevice' + type: array + volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. + +optional + +patchMergeKey=mountPath + +patchStrategy=merge + items: + $ref: '#/definitions/VolumeMount' + type: array + workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. + +optional + type: string + title: UserContainer is a container specified by a user. + type: object + ValueFrom: + description: ValueFrom describes a location in which to obtain the value to a parameter + properties: + configMapKeyRef: + $ref: '#/definitions/ConfigMapKeySelector' + default: + $ref: '#/definitions/AnyString' + event: + description: Selector (https://github.com/expr-lang/expr) that is evaluated against the event to get the value of the parameter. E.g. `payload.message` + type: string + expression: + description: Expression, if defined, is evaluated to specify the value for the parameter + type: string + jqFilter: + description: JQFilter expression against the resource object in resource templates + type: string + jsonPath: + description: JSONPath of a resource to retrieve an output parameter value from in resource templates + type: string + parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') + type: string + path: + description: Path in the container to retrieve an output parameter value from in container templates + type: string + supplied: + $ref: '#/definitions/SuppliedValueFrom' + type: object + Volume: + properties: + awsElasticBlockStore: + $ref: '#/definitions/AWSElasticBlockStoreVolumeSource' + azureDisk: + $ref: '#/definitions/AzureDiskVolumeSource' + azureFile: + $ref: '#/definitions/AzureFileVolumeSource' + cephfs: + $ref: '#/definitions/CephFSVolumeSource' + cinder: + $ref: '#/definitions/CinderVolumeSource' + configMap: + $ref: '#/definitions/ConfigMapVolumeSource' + csi: + $ref: '#/definitions/CSIVolumeSource' + downwardAPI: + $ref: '#/definitions/DownwardAPIVolumeSource' + emptyDir: + $ref: '#/definitions/EmptyDirVolumeSource' + ephemeral: + $ref: '#/definitions/EphemeralVolumeSource' + fc: + $ref: '#/definitions/FCVolumeSource' + flexVolume: + $ref: '#/definitions/FlexVolumeSource' + flocker: + $ref: '#/definitions/FlockerVolumeSource' + gcePersistentDisk: + $ref: '#/definitions/GCEPersistentDiskVolumeSource' + gitRepo: + $ref: '#/definitions/GitRepoVolumeSource' + glusterfs: + $ref: '#/definitions/GlusterfsVolumeSource' + hostPath: + $ref: '#/definitions/HostPathVolumeSource' + iscsi: + $ref: '#/definitions/ISCSIVolumeSource' + name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + nfs: + $ref: '#/definitions/NFSVolumeSource' + persistentVolumeClaim: + $ref: '#/definitions/PersistentVolumeClaimVolumeSource' + photonPersistentDisk: + $ref: '#/definitions/PhotonPersistentDiskVolumeSource' + portworxVolume: + $ref: '#/definitions/PortworxVolumeSource' + projected: + $ref: '#/definitions/ProjectedVolumeSource' + quobyte: + $ref: '#/definitions/QuobyteVolumeSource' + rbd: + $ref: '#/definitions/RBDVolumeSource' + scaleIO: + $ref: '#/definitions/ScaleIOVolumeSource' + secret: + $ref: '#/definitions/SecretVolumeSource' + storageos: + $ref: '#/definitions/StorageOSVolumeSource' + vsphereVolume: + $ref: '#/definitions/VsphereVirtualDiskVolumeSource' + title: Volume represents a named volume in a pod that may be accessed by any container in the pod. + type: object + VolumeDevice: + properties: + devicePath: + description: devicePath is the path inside of the container that the device will be mapped to. + type: string + name: + description: name must match the name of a persistentVolumeClaim in the pod + type: string + title: volumeDevice describes a mapping of a raw block device within a container. + type: object + VolumeMount: + properties: + mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. + type: string + mountPropagation: + $ref: '#/definitions/MountPropagationMode' + name: + description: This must match the Name of a Volume. + type: string + readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. + +optional + type: boolean + subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). + +optional + type: string + subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. + +optional + type: string + title: VolumeMount describes a mounting of a Volume within a container. + type: object + VolumeProjection: + description: Projection that may be projected along with other supported volume types + properties: + configMap: + $ref: '#/definitions/ConfigMapProjection' + downwardAPI: + $ref: '#/definitions/DownwardAPIProjection' + secret: + $ref: '#/definitions/SecretProjection' + serviceAccountToken: + $ref: '#/definitions/ServiceAccountTokenProjection' + type: object + VsphereVirtualDiskVolumeSource: + properties: + fsType: + description: |- + fsType is filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. + +optional + type: string + storagePolicyID: + description: |- + storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. + +optional + type: string + storagePolicyName: + description: |- + storagePolicyName is the storage Policy Based Management (SPBM) profile name. + +optional + type: string + volumePath: + description: volumePath is the path that identifies vSphere volume vmdk + type: string + title: Represents a vSphere volume resource. + type: object + WeightedPodAffinityTerm: + description: The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s) + properties: + podAffinityTerm: + $ref: '#/definitions/PodAffinityTerm' + weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. + format: int32 + type: integer + type: object + WindowsSecurityContextOptions: + properties: + gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. + +optional + type: string + gmsaCredentialSpecName: + description: |- + GMSACredentialSpecName is the name of the GMSA credential spec to use. + +optional + type: string + hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + This field is alpha-level and will only be honored by components that enable the + WindowsHostProcessContainers feature flag. Setting this field without the feature + flag will result in errors when validating the Pod. All of a Pod's containers must + have the same effective HostProcess value (it is not allowed to have a mix of HostProcess + containers and non-HostProcess containers). In addition, if HostProcess is true + then HostNetwork must also be set to true. + +optional + type: boolean + runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + +optional + type: string + title: WindowsSecurityContextOptions contain Windows-specific options and credentials. + type: object + Workflow: + properties: + metadata: + $ref: '#/definitions/ObjectMeta' + required: + - metadata + type: object + ZipStrategy: + description: ZipStrategy will unzip zipped input artifacts + type: object host: localhost info: - title: The API for an executor plugin. - version: 0.0.1 + title: The API for an executor plugin. + version: 0.0.1 paths: - /template.execute: - post: - operationId: executeTemplate - parameters: - - in: body - name: Body - required: true - schema: - $ref: '#/definitions/ExecuteTemplateArgs' - responses: - "200": - $ref: '#/responses/executeTemplate' + /template.execute: + post: + operationId: executeTemplate + parameters: + - in: body + name: Body + required: true + schema: + $ref: '#/definitions/ExecuteTemplateArgs' + responses: + "200": + $ref: '#/responses/executeTemplate' produces: -- application/json + - application/json responses: - executeTemplate: - description: "" - schema: - $ref: '#/definitions/ExecuteTemplateReply' + executeTemplate: + description: "" + schema: + $ref: '#/definitions/ExecuteTemplateReply' schemes: -- http + - http swagger: "2.0" diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md deleted file mode 100644 index 02b9c0c456a9..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1ArtifactGCSpec - -ArtifactGCSpec specifies the Artifacts that need to be deleted - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifactsByNode** | [**Map<String, IoArgoprojWorkflowV1alpha1ArtifactNodeSpec>**](IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md) | ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md deleted file mode 100644 index 63f11f2494d8..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1ArtifactGCStatus - -ArtifactGCStatus describes the result of the deletion - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifactResultsByNode** | [**Map<String, IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus>**](IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md) | ArtifactResultsByNode maps Node name to result | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md deleted file mode 100644 index 5c34893e4c8f..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - -ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**archiveLocation** | [**IoArgoprojWorkflowV1alpha1ArtifactLocation**](IoArgoprojWorkflowV1alpha1ArtifactLocation.md) | | [optional] -**artifacts** | [**Map<String, IoArgoprojWorkflowV1alpha1Artifact>**](IoArgoprojWorkflowV1alpha1Artifact.md) | Artifacts maps artifact name to Artifact description | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md deleted file mode 100644 index 761300b2d9d0..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1ArtifactResult - -ArtifactResult describes the result of attempting to delete a given Artifact - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | **String** | Error is an optional error message which should be set if Success==false | [optional] -**name** | **String** | Name is the name of the Artifact | -**success** | **Boolean** | Success describes whether the deletion succeeded | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md deleted file mode 100644 index 4f1607a798b8..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - -ArtifactResultNodeStatus describes the result of the deletion on a given node - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifactResults** | [**Map<String, IoArgoprojWorkflowV1alpha1ArtifactResult>**](IoArgoprojWorkflowV1alpha1ArtifactResult.md) | ArtifactResults maps Artifact name to result of the deletion | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md deleted file mode 100644 index 176f1a29dc73..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1NodeResult - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**outputs** | [**IoArgoprojWorkflowV1alpha1Outputs**](IoArgoprojWorkflowV1alpha1Outputs.md) | | [optional] -**phase** | **String** | | [optional] -**progress** | **String** | | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md deleted file mode 100644 index 3bdecc0b6a25..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tasks** | [**Map<String, IoArgoprojWorkflowV1alpha1Template>**](IoArgoprojWorkflowV1alpha1Template.md) | | [optional] - - - diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md deleted file mode 100644 index b50a08b6fd30..000000000000 --- a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nodes** | [**Map<String, IoArgoprojWorkflowV1alpha1NodeResult>**](IoArgoprojWorkflowV1alpha1NodeResult.md) | | [optional] - - - diff --git a/sdks/java/client/docs/StatusCause.md b/sdks/java/client/docs/StatusCause.md deleted file mode 100644 index b0b1bc163a05..000000000000 --- a/sdks/java/client/docs/StatusCause.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# StatusCause - -StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field** | **String** | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" | [optional] -**message** | **String** | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | [optional] -**reason** | **String** | A machine-readable description of the cause of the error. If this value is empty there is no information available. | [optional] - - - diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py deleted file mode 100644 index 980053beb018..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_spec.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_node_spec import IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - globals()['IoArgoprojWorkflowV1alpha1ArtifactNodeSpec'] = IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - - -class IoArgoprojWorkflowV1alpha1ArtifactGCSpec(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'artifacts_by_node': ({str: (IoArgoprojWorkflowV1alpha1ArtifactNodeSpec,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'artifacts_by_node': 'artifactsByNode', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactGCSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifacts_by_node ({str: (IoArgoprojWorkflowV1alpha1ArtifactNodeSpec,)}): ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactGCSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifacts_by_node ({str: (IoArgoprojWorkflowV1alpha1ArtifactNodeSpec,)}): ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py deleted file mode 100644 index c572129cf8fe..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_gc_status.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_result_node_status import IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - globals()['IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus'] = IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - - -class IoArgoprojWorkflowV1alpha1ArtifactGCStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'artifact_results_by_node': ({str: (IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'artifact_results_by_node': 'artifactResultsByNode', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactGCStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifact_results_by_node ({str: (IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus,)}): ArtifactResultsByNode maps Node name to result. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactGCStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifact_results_by_node ({str: (IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus,)}): ArtifactResultsByNode maps Node name to result. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py deleted file mode 100644 index 9a9738702e47..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_node_spec.py +++ /dev/null @@ -1,267 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact import IoArgoprojWorkflowV1alpha1Artifact - from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_location import IoArgoprojWorkflowV1alpha1ArtifactLocation - globals()['IoArgoprojWorkflowV1alpha1Artifact'] = IoArgoprojWorkflowV1alpha1Artifact - globals()['IoArgoprojWorkflowV1alpha1ArtifactLocation'] = IoArgoprojWorkflowV1alpha1ArtifactLocation - - -class IoArgoprojWorkflowV1alpha1ArtifactNodeSpec(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'archive_location': (IoArgoprojWorkflowV1alpha1ArtifactLocation,), # noqa: E501 - 'artifacts': ({str: (IoArgoprojWorkflowV1alpha1Artifact,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'archive_location': 'archiveLocation', # noqa: E501 - 'artifacts': 'artifacts', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - archive_location (IoArgoprojWorkflowV1alpha1ArtifactLocation): [optional] # noqa: E501 - artifacts ({str: (IoArgoprojWorkflowV1alpha1Artifact,)}): Artifacts maps artifact name to Artifact description. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - archive_location (IoArgoprojWorkflowV1alpha1ArtifactLocation): [optional] # noqa: E501 - artifacts ({str: (IoArgoprojWorkflowV1alpha1Artifact,)}): Artifacts maps artifact name to Artifact description. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py deleted file mode 100644 index e7499b43b44b..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - - -class IoArgoprojWorkflowV1alpha1ArtifactResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'error': (str,), # noqa: E501 - 'success': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'error': 'error', # noqa: E501 - 'success': 'success', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactResult - a model defined in OpenAPI - - Args: - name (str): Name is the name of the Artifact - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): Error is an optional error message which should be set if Success==false. [optional] # noqa: E501 - success (bool): Success describes whether the deletion succeeded. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactResult - a model defined in OpenAPI - - Args: - name (str): Name is the name of the Artifact - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): Error is an optional error message which should be set if Success==false. [optional] # noqa: E501 - success (bool): Success describes whether the deletion succeeded. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py deleted file mode 100644 index 67c623b2be37..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_result_node_status.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_result import IoArgoprojWorkflowV1alpha1ArtifactResult - globals()['IoArgoprojWorkflowV1alpha1ArtifactResult'] = IoArgoprojWorkflowV1alpha1ArtifactResult - - -class IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'artifact_results': ({str: (IoArgoprojWorkflowV1alpha1ArtifactResult,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'artifact_results': 'artifactResults', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifact_results ({str: (IoArgoprojWorkflowV1alpha1ArtifactResult,)}): ArtifactResults maps Artifact name to result of the deletion. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - artifact_results ({str: (IoArgoprojWorkflowV1alpha1ArtifactResult,)}): ArtifactResults maps Artifact name to result of the deletion. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py deleted file mode 100644 index cba548a9cc84..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_node_result.py +++ /dev/null @@ -1,273 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_outputs import IoArgoprojWorkflowV1alpha1Outputs - globals()['IoArgoprojWorkflowV1alpha1Outputs'] = IoArgoprojWorkflowV1alpha1Outputs - - -class IoArgoprojWorkflowV1alpha1NodeResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'message': (str,), # noqa: E501 - 'outputs': (IoArgoprojWorkflowV1alpha1Outputs,), # noqa: E501 - 'phase': (str,), # noqa: E501 - 'progress': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - 'outputs': 'outputs', # noqa: E501 - 'phase': 'phase', # noqa: E501 - 'progress': 'progress', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1NodeResult - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - outputs (IoArgoprojWorkflowV1alpha1Outputs): [optional] # noqa: E501 - phase (str): [optional] # noqa: E501 - progress (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1NodeResult - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - outputs (IoArgoprojWorkflowV1alpha1Outputs): [optional] # noqa: E501 - phase (str): [optional] # noqa: E501 - progress (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py deleted file mode 100644 index b081782c627c..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_spec.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_template import IoArgoprojWorkflowV1alpha1Template - globals()['IoArgoprojWorkflowV1alpha1Template'] = IoArgoprojWorkflowV1alpha1Template - - -class IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'tasks': ({str: (IoArgoprojWorkflowV1alpha1Template,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'tasks': 'tasks', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - tasks ({str: (IoArgoprojWorkflowV1alpha1Template,)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - tasks ({str: (IoArgoprojWorkflowV1alpha1Template,)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py deleted file mode 100644 index f45a852ab6b7..000000000000 --- a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_task_set_status.py +++ /dev/null @@ -1,261 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - -def lazy_import(): - from argo_workflows.model.io_argoproj_workflow_v1alpha1_node_result import IoArgoprojWorkflowV1alpha1NodeResult - globals()['IoArgoprojWorkflowV1alpha1NodeResult'] = IoArgoprojWorkflowV1alpha1NodeResult - - -class IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'nodes': ({str: (IoArgoprojWorkflowV1alpha1NodeResult,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'nodes': 'nodes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - nodes ({str: (IoArgoprojWorkflowV1alpha1NodeResult,)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - nodes ({str: (IoArgoprojWorkflowV1alpha1NodeResult,)}): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/model/status_cause.py b/sdks/python/client/argo_workflows/model/status_cause.py deleted file mode 100644 index a90e092af2d6..000000000000 --- a/sdks/python/client/argo_workflows/model/status_cause.py +++ /dev/null @@ -1,263 +0,0 @@ -""" - Argo Workflows API - - Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argo-workflows.readthedocs.io/en/latest/ # noqa: E501 - - The version of the OpenAPI document: VERSION - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from argo_workflows.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, - OpenApiModel -) -from argo_workflows.exceptions import ApiAttributeError - - - -class StatusCause(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'field': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'reason': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'field': 'field', # noqa: E501 - 'message': 'message', # noqa: E501 - 'reason': 'reason', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """StatusCause - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - field (str): The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\". [optional] # noqa: E501 - message (str): A human-readable description of the cause of the error. This field may be presented as-is to a reader.. [optional] # noqa: E501 - reason (str): A machine-readable description of the cause of the error. If this value is empty there is no information available.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """StatusCause - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - field (str): The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\". [optional] # noqa: E501 - message (str): A human-readable description of the cause of the error. This field may be presented as-is to a reader.. [optional] # noqa: E501 - reason (str): A machine-readable description of the cause of the error. If this value is empty there is no information available.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/sdks/python/client/argo_workflows/models/__init__.py b/sdks/python/client/argo_workflows/models/__init__.py index 44ef0697df2c..54f6ea4c1319 100644 --- a/sdks/python/client/argo_workflows/models/__init__.py +++ b/sdks/python/client/argo_workflows/models/__init__.py @@ -179,16 +179,11 @@ from argo_workflows.model.io_argoproj_workflow_v1alpha1_art_gc_status import IoArgoprojWorkflowV1alpha1ArtGCStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact import IoArgoprojWorkflowV1alpha1Artifact from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_gc import IoArgoprojWorkflowV1alpha1ArtifactGC -from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_gc_spec import IoArgoprojWorkflowV1alpha1ArtifactGCSpec -from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_gc_status import IoArgoprojWorkflowV1alpha1ArtifactGCStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_location import IoArgoprojWorkflowV1alpha1ArtifactLocation -from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_node_spec import IoArgoprojWorkflowV1alpha1ArtifactNodeSpec from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_paths import IoArgoprojWorkflowV1alpha1ArtifactPaths from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_repository import IoArgoprojWorkflowV1alpha1ArtifactRepository from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_repository_ref import IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_repository_ref_status import IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus -from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_result import IoArgoprojWorkflowV1alpha1ArtifactResult -from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_result_node_status import IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifactory_artifact import IoArgoprojWorkflowV1alpha1ArtifactoryArtifact from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifactory_artifact_repository import IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository from argo_workflows.model.io_argoproj_workflow_v1alpha1_azure_artifact import IoArgoprojWorkflowV1alpha1AzureArtifact @@ -258,7 +253,6 @@ from argo_workflows.model.io_argoproj_workflow_v1alpha1_mutex_holding import IoArgoprojWorkflowV1alpha1MutexHolding from argo_workflows.model.io_argoproj_workflow_v1alpha1_mutex_status import IoArgoprojWorkflowV1alpha1MutexStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_node_flag import IoArgoprojWorkflowV1alpha1NodeFlag -from argo_workflows.model.io_argoproj_workflow_v1alpha1_node_result import IoArgoprojWorkflowV1alpha1NodeResult from argo_workflows.model.io_argoproj_workflow_v1alpha1_node_status import IoArgoprojWorkflowV1alpha1NodeStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_node_synchronization_status import IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_o_auth2_auth import IoArgoprojWorkflowV1alpha1OAuth2Auth @@ -320,8 +314,6 @@ from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_stop_request import IoArgoprojWorkflowV1alpha1WorkflowStopRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_submit_request import IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_suspend_request import IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest -from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_task_set_spec import IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec -from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_task_set_status import IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_template import IoArgoprojWorkflowV1alpha1WorkflowTemplate from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_template_create_request import IoArgoprojWorkflowV1alpha1WorkflowTemplateCreateRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_template_lint_request import IoArgoprojWorkflowV1alpha1WorkflowTemplateLintRequest @@ -383,7 +375,6 @@ from argo_workflows.model.sensor_update_sensor_request import SensorUpdateSensorRequest from argo_workflows.model.service_account_token_projection import ServiceAccountTokenProjection from argo_workflows.model.service_port import ServicePort -from argo_workflows.model.status_cause import StatusCause from argo_workflows.model.storage_os_volume_source import StorageOSVolumeSource from argo_workflows.model.stream_result_of_event import StreamResultOfEvent from argo_workflows.model.stream_result_of_eventsource_event_source_watch_event import StreamResultOfEventsourceEventSourceWatchEvent diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md deleted file mode 100644 index f6a6a22eb920..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCSpec.md +++ /dev/null @@ -1,13 +0,0 @@ -# IoArgoprojWorkflowV1alpha1ArtifactGCSpec - -ArtifactGCSpec specifies the Artifacts that need to be deleted - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifacts_by_node** | [**{str: (IoArgoprojWorkflowV1alpha1ArtifactNodeSpec,)}**](IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md) | ArtifactsByNode maps Node name to information pertaining to Artifacts on that Node | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md deleted file mode 100644 index 05cedb1701e4..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactGCStatus.md +++ /dev/null @@ -1,13 +0,0 @@ -# IoArgoprojWorkflowV1alpha1ArtifactGCStatus - -ArtifactGCStatus describes the result of the deletion - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifact_results_by_node** | [**{str: (IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus,)}**](IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md) | ArtifactResultsByNode maps Node name to result | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md deleted file mode 100644 index 4217c51c7e00..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactNodeSpec.md +++ /dev/null @@ -1,14 +0,0 @@ -# IoArgoprojWorkflowV1alpha1ArtifactNodeSpec - -ArtifactNodeSpec specifies the Artifacts that need to be deleted for a given Node - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**archive_location** | [**IoArgoprojWorkflowV1alpha1ArtifactLocation**](IoArgoprojWorkflowV1alpha1ArtifactLocation.md) | | [optional] -**artifacts** | [**{str: (IoArgoprojWorkflowV1alpha1Artifact,)}**](IoArgoprojWorkflowV1alpha1Artifact.md) | Artifacts maps artifact name to Artifact description | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md deleted file mode 100644 index dad97f7d325f..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResult.md +++ /dev/null @@ -1,15 +0,0 @@ -# IoArgoprojWorkflowV1alpha1ArtifactResult - -ArtifactResult describes the result of attempting to delete a given Artifact - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | Name is the name of the Artifact | -**error** | **str** | Error is an optional error message which should be set if Success==false | [optional] -**success** | **bool** | Success describes whether the deletion succeeded | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md deleted file mode 100644 index 8677a87b5933..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus.md +++ /dev/null @@ -1,13 +0,0 @@ -# IoArgoprojWorkflowV1alpha1ArtifactResultNodeStatus - -ArtifactResultNodeStatus describes the result of the deletion on a given node - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**artifact_results** | [**{str: (IoArgoprojWorkflowV1alpha1ArtifactResult,)}**](IoArgoprojWorkflowV1alpha1ArtifactResult.md) | ArtifactResults maps Artifact name to result of the deletion | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md deleted file mode 100644 index 9790ceffb93c..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1NodeResult.md +++ /dev/null @@ -1,15 +0,0 @@ -# IoArgoprojWorkflowV1alpha1NodeResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**outputs** | [**IoArgoprojWorkflowV1alpha1Outputs**](IoArgoprojWorkflowV1alpha1Outputs.md) | | [optional] -**phase** | **str** | | [optional] -**progress** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md deleted file mode 100644 index f60e79575ea9..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec.md +++ /dev/null @@ -1,12 +0,0 @@ -# IoArgoprojWorkflowV1alpha1WorkflowTaskSetSpec - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tasks** | [**{str: (IoArgoprojWorkflowV1alpha1Template,)}**](IoArgoprojWorkflowV1alpha1Template.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md deleted file mode 100644 index 733dd32854c4..000000000000 --- a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus.md +++ /dev/null @@ -1,12 +0,0 @@ -# IoArgoprojWorkflowV1alpha1WorkflowTaskSetStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nodes** | [**{str: (IoArgoprojWorkflowV1alpha1NodeResult,)}**](IoArgoprojWorkflowV1alpha1NodeResult.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/sdks/python/client/docs/StatusCause.md b/sdks/python/client/docs/StatusCause.md deleted file mode 100644 index 3f3260473e13..000000000000 --- a/sdks/python/client/docs/StatusCause.md +++ /dev/null @@ -1,15 +0,0 @@ -# StatusCause - -StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**field** | **str** | The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\" | [optional] -**message** | **str** | A human-readable description of the cause of the error. This field may be presented as-is to a reader. | [optional] -**reason** | **str** | A machine-readable description of the cause of the error. If this value is empty there is no information available. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - From 8ace23ae581c15495c3f3e40f8b2b215eef3b762 Mon Sep 17 00:00:00 2001 From: "william.vanhevelingen" Date: Fri, 28 Jun 2024 11:03:38 -0700 Subject: [PATCH 2/2] chore(deps): update dockerfile to go1.22 Signed-off-by: william.vanhevelingen --- Dockerfile | 2 +- Dockerfile.windows | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6b49a7c0d2c..4ca8f0ddc440 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG GIT_COMMIT=unknown ARG GIT_TAG=unknown ARG GIT_TREE_STATE=unknown -FROM golang:1.21-alpine3.18 as builder +FROM golang:1.22-alpine3.18 as builder RUN apk update && apk add --no-cache \ git \ diff --git a/Dockerfile.windows b/Dockerfile.windows index d092e75729ae..e5711efb73b4 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -11,7 +11,7 @@ ARG GIT_TREE_STATE=unknown # had issues with official golange image for windows so I'm using plain servercore FROM mcr.microsoft.com/windows/servercore:${IMAGE_OS_VERSION} as builder -ENV GOLANG_VERSION=1.21 +ENV GOLANG_VERSION=1.22 SHELL ["powershell", "-Command"] # install chocolatey package manager diff --git a/go.mod b/go.mod index 4c7f99556590..4292675b9e02 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/argoproj/argo-workflows/v3 -go 1.21 +go 1.22 require ( cloud.google.com/go/storage v1.36.0