diff --git a/Makefile b/Makefile
index b324d746cc53..47692db38735 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,30 @@ GIT_BRANCH := $(shell git rev-parse --symbolic-full-name --verify --q
RELEASE_TAG := $(shell if [[ "$(GIT_TAG)" =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$$ ]]; then echo "true"; else echo "false"; fi)
DEV_BRANCH := $(shell [ "$(GIT_BRANCH)" = main ] || [ `echo $(GIT_BRANCH) | cut -c -8` = release- ] || [ `echo $(GIT_BRANCH) | cut -c -4` = dev- ] || [ $(RELEASE_TAG) = true ] && echo false || echo true)
SRC := $(GOPATH)/src/github.com/argoproj/argo-workflows
+
+GREP_LOGS := ""
+
+
+# docker image publishing options
+IMAGE_NAMESPACE ?= quay.io/argoproj
+DEV_IMAGE ?= $(shell [ `uname -s` = Darwin ] && echo true || echo false)
+
+# declares which cluster to import to in case it's not the default name
+K3D_CLUSTER_NAME ?= k3s-default
+
+# The name of the namespace where Kubernetes resources/RBAC will be installed
+KUBE_NAMESPACE ?= argo
+MANAGED_NAMESPACE ?= $(KUBE_NAMESPACE)
+
+# Timeout for wait conditions
+E2E_WAIT_TIMEOUT ?= 1m
+
+E2E_PARALLEL ?= 20
+E2E_SUITE_TIMEOUT ?= 15m
+
VERSION := latest
+DOCKER_PUSH := false
+
# VERSION is the version to be used for files in manifests and should always be latest unless we are releasing
# we assume HEAD means you are on a tag
ifeq ($(RELEASE_TAG),true)
diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json
index 8d3403bf644a..be9c5a9e03f2 100644
--- a/api/jsonschema/schema.json
+++ b/api/jsonschema/schema.json
@@ -4012,6 +4012,17 @@
],
"type": "object"
},
+ "io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
+ "properties": {
+ "workflow": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
+ }
+ },
+ "required": [
+ "workflow"
+ ],
+ "type": "object"
+ },
"io.argoproj.workflow.v1alpha1.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": {
diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json
index 6d73c0cf962c..c5bc43eea164 100644
--- a/api/openapi-spec/swagger.json
+++ b/api/openapi-spec/swagger.json
@@ -3854,6 +3854,48 @@
}
}
},
+ "/artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an output artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetOutputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
+ },
"/artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
@@ -3948,6 +3990,48 @@
}
}
},
+ "/input-artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an output artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetInputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
+ },
"/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}": {
"get": {
"tags": [
@@ -4041,6 +4125,90 @@
}
}
}
+ },
+ "/artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an output artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetOutputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
+ },
+ "/input-artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an inputs artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetInputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -8054,6 +8222,17 @@
}
}
},
+ "io.argoproj.workflow.v1alpha1.ArtifactByManifestRequest": {
+ "type": "object",
+ "required": [
+ "workflow"
+ ],
+ "properties": {
+ "workflow": {
+ "$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Workflow"
+ }
+ }
+ },
"io.argoproj.workflow.v1alpha1.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",
"type": "object",
@@ -15583,4 +15762,4 @@
"BearerToken": []
}
]
-}
\ No newline at end of file
+}
diff --git a/pkg/apiclient/_.primary.swagger.json b/pkg/apiclient/_.primary.swagger.json
index d517b5df6a89..5f6428b48361 100644
--- a/pkg/apiclient/_.primary.swagger.json
+++ b/pkg/apiclient/_.primary.swagger.json
@@ -30,6 +30,90 @@
}
],
"paths": {
+ "/artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an output artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetOutputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
+ },
+ "/input-artifacts-by-manifest/{podName}/{artifactName}": {
+ "post": {
+ "tags": [
+ "ArtifactService"
+ ],
+ "summary": "Get an output artifact by a full workflow manifest.",
+ "operationId": "ArtifactService_GetInputArtifactByManifest",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest"
+ }
+ },
+ {
+ "type": "string",
+ "name": "podName",
+ "in": "path",
+ "required": true
+ },
+ {
+ "type": "string",
+ "name": "artifactName",
+ "in": "path",
+ "required": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An artifact file."
+ },
+ "default": {
+ "description": "An unexpected error response.",
+ "schema": {
+ "$ref": "#/definitions/grpc.gateway.runtime.Error"
+ }
+ }
+ }
+ }
+ },
"/artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}": {
"get": {
"tags": [
@@ -289,6 +373,17 @@
}
},
"definitions": {
+ "github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.ArtifactByManifestRequest": {
+ "type": "object",
+ "required": [
+ "workflow"
+ ],
+ "properties": {
+ "workflow": {
+ "$ref": "#/definitions/github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Workflow"
+ }
+ }
+ },
"io.k8s.apimachinery.pkg.runtime.Object": {
"title": "This is a hack do deal with this problem: https://github.com/kubernetes/kube-openapi/issues/174"
},
diff --git a/sdks/java/client/docs/ArtifactServiceApi.md b/sdks/java/client/docs/ArtifactServiceApi.md
index 9ab8693dc3dd..788d2f5ea181 100644
--- a/sdks/java/client/docs/ArtifactServiceApi.md
+++ b/sdks/java/client/docs/ArtifactServiceApi.md
@@ -6,8 +6,10 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**artifactServiceGetArtifactFile**](ArtifactServiceApi.md#artifactServiceGetArtifactFile) | **GET** /artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName} | Get an artifact.
[**artifactServiceGetInputArtifact**](ArtifactServiceApi.md#artifactServiceGetInputArtifact) | **GET** /input-artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an input artifact.
+[**artifactServiceGetInputArtifactByManifest**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByManifest) | **POST** /input-artifacts-by-manifest/{podName}/{artifactName} | Get an output artifact by a full workflow manifest.
[**artifactServiceGetInputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetInputArtifactByUID) | **GET** /input-artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an input artifact by UID.
[**artifactServiceGetOutputArtifact**](ArtifactServiceApi.md#artifactServiceGetOutputArtifact) | **GET** /artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an output artifact.
+[**artifactServiceGetOutputArtifactByManifest**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByManifest) | **POST** /artifacts-by-manifest/{podName}/{artifactName} | Get an output artifact by a full workflow manifest.
[**artifactServiceGetOutputArtifactByUID**](ArtifactServiceApi.md#artifactServiceGetOutputArtifactByUID) | **GET** /artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an output artifact by UID.
@@ -163,6 +165,77 @@ Name | Type | Description | Notes
**200** | An artifact file. | - |
**0** | An unexpected error response. | - |
+
+# **artifactServiceGetInputArtifactByManifest**
+> artifactServiceGetInputArtifactByManifest(podName, artifactName, body)
+
+Get an output artifact by a full workflow manifest.
+
+### Example
+```java
+// Import classes:
+import io.argoproj.workflow.ApiClient;
+import io.argoproj.workflow.ApiException;
+import io.argoproj.workflow.Configuration;
+import io.argoproj.workflow.auth.*;
+import io.argoproj.workflow.models.*;
+import io.argoproj.workflow.apis.ArtifactServiceApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://localhost:2746");
+
+ // Configure API key authorization: BearerToken
+ ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
+ BearerToken.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //BearerToken.setApiKeyPrefix("Token");
+
+ ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
+ String podName = "podName_example"; // String |
+ String artifactName = "artifactName_example"; // String |
+ IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest body = new IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest(); // IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest |
+ try {
+ apiInstance.artifactServiceGetInputArtifactByManifest(podName, artifactName, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetInputArtifactByManifest");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **podName** | **String**| |
+ **artifactName** | **String**| |
+ **body** | [**IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest**](IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[BearerToken](../README.md#BearerToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | An artifact file. | - |
+**0** | An unexpected error response. | - |
+
# **artifactServiceGetInputArtifactByUID**
> File artifactServiceGetInputArtifactByUID(uid, nodeId, artifactName)
@@ -309,6 +382,77 @@ Name | Type | Description | Notes
**200** | An artifact file. | - |
**0** | An unexpected error response. | - |
+
+# **artifactServiceGetOutputArtifactByManifest**
+> artifactServiceGetOutputArtifactByManifest(podName, artifactName, body)
+
+Get an output artifact by a full workflow manifest.
+
+### Example
+```java
+// Import classes:
+import io.argoproj.workflow.ApiClient;
+import io.argoproj.workflow.ApiException;
+import io.argoproj.workflow.Configuration;
+import io.argoproj.workflow.auth.*;
+import io.argoproj.workflow.models.*;
+import io.argoproj.workflow.apis.ArtifactServiceApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://localhost:2746");
+
+ // Configure API key authorization: BearerToken
+ ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
+ BearerToken.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //BearerToken.setApiKeyPrefix("Token");
+
+ ArtifactServiceApi apiInstance = new ArtifactServiceApi(defaultClient);
+ String podName = "podName_example"; // String |
+ String artifactName = "artifactName_example"; // String |
+ IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest body = new IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest(); // IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest |
+ try {
+ apiInstance.artifactServiceGetOutputArtifactByManifest(podName, artifactName, body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ArtifactServiceApi#artifactServiceGetOutputArtifactByManifest");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **podName** | **String**| |
+ **artifactName** | **String**| |
+ **body** | [**IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest**](IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md)| |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[BearerToken](../README.md#BearerToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | An artifact file. | - |
+**0** | An unexpected error response. | - |
+
# **artifactServiceGetOutputArtifactByUID**
> File artifactServiceGetOutputArtifactByUID(uid, nodeId, artifactName)
diff --git a/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md
new file mode 100644
index 000000000000..0f8011aaa516
--- /dev/null
+++ b/sdks/java/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md
@@ -0,0 +1,13 @@
+
+
+# IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
+
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**workflow** | [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) | |
+
+
+
diff --git a/sdks/python/client/argo_workflows/api/artifact_service_api.py b/sdks/python/client/argo_workflows/api/artifact_service_api.py
index 3fa74630e3bc..ccc360ff73e9 100644
--- a/sdks/python/client/argo_workflows/api/artifact_service_api.py
+++ b/sdks/python/client/argo_workflows/api/artifact_service_api.py
@@ -22,6 +22,7 @@
validate_and_convert_types
)
from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
+from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_by_manifest_request import IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
class ArtifactServiceApi(object):
@@ -196,6 +197,70 @@ def __init__(self, api_client=None):
},
api_client=api_client
)
+ self.get_input_artifact_by_manifest_endpoint = _Endpoint(
+ settings={
+ 'response_type': None,
+ 'auth': [
+ 'BearerToken'
+ ],
+ 'endpoint_path': '/input-artifacts-by-manifest/{podName}/{artifactName}',
+ 'operation_id': 'get_input_artifact_by_manifest',
+ 'http_method': 'POST',
+ 'servers': None,
+ },
+ params_map={
+ 'all': [
+ 'pod_name',
+ 'artifact_name',
+ 'body',
+ ],
+ 'required': [
+ 'pod_name',
+ 'artifact_name',
+ 'body',
+ ],
+ 'nullable': [
+ ],
+ 'enum': [
+ ],
+ 'validation': [
+ ]
+ },
+ root_map={
+ 'validations': {
+ },
+ 'allowed_values': {
+ },
+ 'openapi_types': {
+ 'pod_name':
+ (str,),
+ 'artifact_name':
+ (str,),
+ 'body':
+ (IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest,),
+ },
+ 'attribute_map': {
+ 'pod_name': 'podName',
+ 'artifact_name': 'artifactName',
+ },
+ 'location_map': {
+ 'pod_name': 'path',
+ 'artifact_name': 'path',
+ 'body': 'body',
+ },
+ 'collection_format_map': {
+ }
+ },
+ headers_map={
+ 'accept': [
+ 'application/json'
+ ],
+ 'content_type': [
+ 'application/json'
+ ]
+ },
+ api_client=api_client
+ )
self.get_input_artifact_by_uid_endpoint = _Endpoint(
settings={
'response_type': (file_type,),
@@ -328,6 +393,70 @@ def __init__(self, api_client=None):
},
api_client=api_client
)
+ self.get_output_artifact_by_manifest_endpoint = _Endpoint(
+ settings={
+ 'response_type': None,
+ 'auth': [
+ 'BearerToken'
+ ],
+ 'endpoint_path': '/artifacts-by-manifest/{podName}/{artifactName}',
+ 'operation_id': 'get_output_artifact_by_manifest',
+ 'http_method': 'POST',
+ 'servers': None,
+ },
+ params_map={
+ 'all': [
+ 'pod_name',
+ 'artifact_name',
+ 'body',
+ ],
+ 'required': [
+ 'pod_name',
+ 'artifact_name',
+ 'body',
+ ],
+ 'nullable': [
+ ],
+ 'enum': [
+ ],
+ 'validation': [
+ ]
+ },
+ root_map={
+ 'validations': {
+ },
+ 'allowed_values': {
+ },
+ 'openapi_types': {
+ 'pod_name':
+ (str,),
+ 'artifact_name':
+ (str,),
+ 'body':
+ (IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest,),
+ },
+ 'attribute_map': {
+ 'pod_name': 'podName',
+ 'artifact_name': 'artifactName',
+ },
+ 'location_map': {
+ 'pod_name': 'path',
+ 'artifact_name': 'path',
+ 'body': 'body',
+ },
+ 'collection_format_map': {
+ }
+ },
+ headers_map={
+ 'accept': [
+ 'application/json'
+ ],
+ 'content_type': [
+ 'application/json'
+ ]
+ },
+ api_client=api_client
+ )
self.get_output_artifact_by_uid_endpoint = _Endpoint(
settings={
'response_type': (file_type,),
@@ -578,6 +707,91 @@ def get_input_artifact(
artifact_name
return self.get_input_artifact_endpoint.call_with_http_info(**kwargs)
+ def get_input_artifact_by_manifest(
+ self,
+ pod_name,
+ artifact_name,
+ body,
+ **kwargs
+ ):
+ """Get an output artifact by a full workflow manifest. # noqa: E501
+
+ This method makes a synchronous HTTP request by default. To make an
+ asynchronous HTTP request, please pass async_req=True
+
+ >>> thread = api.get_input_artifact_by_manifest(pod_name, artifact_name, body, async_req=True)
+ >>> result = thread.get()
+
+ Args:
+ pod_name (str):
+ artifact_name (str):
+ body (IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest):
+
+ Keyword Args:
+ _return_http_data_only (bool): response data without head status
+ code and headers. Default is True.
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
+ will be returned without reading/decoding response data.
+ Default is True.
+ _request_timeout (int/float/tuple): timeout setting for this request. If
+ one number provided, it will be total request timeout. It can also
+ be a pair (tuple) of (connection, read) timeouts.
+ Default is None.
+ _check_input_type (bool): specifies if type checking
+ should be done one the data sent to the server.
+ Default is True.
+ _check_return_type (bool): specifies if type checking
+ should be done one the data received from the server.
+ Default is True.
+ _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)
+ _content_type (str/None): force body content-type.
+ Default is None and content-type will be predicted by allowed
+ content-types and body.
+ _host_index (int/None): specifies the index of the server
+ that we want to use.
+ Default is read from the configuration.
+ async_req (bool): execute request asynchronously
+
+ Returns:
+ None
+ If the method is called asynchronously, returns the request
+ thread.
+ """
+ kwargs['async_req'] = kwargs.get(
+ 'async_req', False
+ )
+ kwargs['_return_http_data_only'] = kwargs.get(
+ '_return_http_data_only', True
+ )
+ kwargs['_preload_content'] = kwargs.get(
+ '_preload_content', True
+ )
+ kwargs['_request_timeout'] = kwargs.get(
+ '_request_timeout', None
+ )
+ kwargs['_check_input_type'] = kwargs.get(
+ '_check_input_type', True
+ )
+ kwargs['_check_return_type'] = kwargs.get(
+ '_check_return_type', True
+ )
+ kwargs['_spec_property_naming'] = kwargs.get(
+ '_spec_property_naming', False
+ )
+ kwargs['_content_type'] = kwargs.get(
+ '_content_type')
+ kwargs['_host_index'] = kwargs.get('_host_index')
+ kwargs['pod_name'] = \
+ pod_name
+ kwargs['artifact_name'] = \
+ artifact_name
+ kwargs['body'] = \
+ body
+ return self.get_input_artifact_by_manifest_endpoint.call_with_http_info(**kwargs)
+
def get_input_artifact_by_uid(
self,
uid,
@@ -752,6 +966,91 @@ def get_output_artifact(
artifact_name
return self.get_output_artifact_endpoint.call_with_http_info(**kwargs)
+ def get_output_artifact_by_manifest(
+ self,
+ pod_name,
+ artifact_name,
+ body,
+ **kwargs
+ ):
+ """Get an output artifact by a full workflow manifest. # noqa: E501
+
+ This method makes a synchronous HTTP request by default. To make an
+ asynchronous HTTP request, please pass async_req=True
+
+ >>> thread = api.get_output_artifact_by_manifest(pod_name, artifact_name, body, async_req=True)
+ >>> result = thread.get()
+
+ Args:
+ pod_name (str):
+ artifact_name (str):
+ body (IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest):
+
+ Keyword Args:
+ _return_http_data_only (bool): response data without head status
+ code and headers. Default is True.
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
+ will be returned without reading/decoding response data.
+ Default is True.
+ _request_timeout (int/float/tuple): timeout setting for this request. If
+ one number provided, it will be total request timeout. It can also
+ be a pair (tuple) of (connection, read) timeouts.
+ Default is None.
+ _check_input_type (bool): specifies if type checking
+ should be done one the data sent to the server.
+ Default is True.
+ _check_return_type (bool): specifies if type checking
+ should be done one the data received from the server.
+ Default is True.
+ _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)
+ _content_type (str/None): force body content-type.
+ Default is None and content-type will be predicted by allowed
+ content-types and body.
+ _host_index (int/None): specifies the index of the server
+ that we want to use.
+ Default is read from the configuration.
+ async_req (bool): execute request asynchronously
+
+ Returns:
+ None
+ If the method is called asynchronously, returns the request
+ thread.
+ """
+ kwargs['async_req'] = kwargs.get(
+ 'async_req', False
+ )
+ kwargs['_return_http_data_only'] = kwargs.get(
+ '_return_http_data_only', True
+ )
+ kwargs['_preload_content'] = kwargs.get(
+ '_preload_content', True
+ )
+ kwargs['_request_timeout'] = kwargs.get(
+ '_request_timeout', None
+ )
+ kwargs['_check_input_type'] = kwargs.get(
+ '_check_input_type', True
+ )
+ kwargs['_check_return_type'] = kwargs.get(
+ '_check_return_type', True
+ )
+ kwargs['_spec_property_naming'] = kwargs.get(
+ '_spec_property_naming', False
+ )
+ kwargs['_content_type'] = kwargs.get(
+ '_content_type')
+ kwargs['_host_index'] = kwargs.get('_host_index')
+ kwargs['pod_name'] = \
+ pod_name
+ kwargs['artifact_name'] = \
+ artifact_name
+ kwargs['body'] = \
+ body
+ return self.get_output_artifact_by_manifest_endpoint.call_with_http_info(**kwargs)
+
def get_output_artifact_by_uid(
self,
uid,
diff --git a/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_by_manifest_request.py b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_by_manifest_request.py
new file mode 100644
index 000000000000..a5df3512d8c1
--- /dev/null
+++ b/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_artifact_by_manifest_request.py
@@ -0,0 +1,267 @@
+"""
+ 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://argoproj.github.io/argo-workflows/ # 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_workflow import IoArgoprojWorkflowV1alpha1Workflow
+ globals()['IoArgoprojWorkflowV1alpha1Workflow'] = IoArgoprojWorkflowV1alpha1Workflow
+
+
+class IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest(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 {
+ 'workflow': (IoArgoprojWorkflowV1alpha1Workflow,), # noqa: E501
+ }
+
+ @cached_property
+ def discriminator():
+ return None
+
+
+ attribute_map = {
+ 'workflow': 'workflow', # noqa: E501
+ }
+
+ read_only_vars = {
+ }
+
+ _composed_schemas = {}
+
+ @classmethod
+ @convert_js_args_to_python_args
+ def _from_openapi_data(cls, workflow, *args, **kwargs): # noqa: E501
+ """IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest - a model defined in OpenAPI
+
+ Args:
+ workflow (IoArgoprojWorkflowV1alpha1Workflow):
+
+ 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,)
+ """
+
+ _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.workflow = workflow
+ 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, workflow, *args, **kwargs): # noqa: E501
+ """IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest - a model defined in OpenAPI
+
+ Args:
+ workflow (IoArgoprojWorkflowV1alpha1Workflow):
+
+ 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,)
+ """
+
+ _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.workflow = workflow
+ 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 1864145b25cc..4b2f194d0a3b 100644
--- a/sdks/python/client/argo_workflows/models/__init__.py
+++ b/sdks/python/client/argo_workflows/models/__init__.py
@@ -180,6 +180,7 @@
from argo_workflows.model.io_argoproj_workflow_v1alpha1_arguments import IoArgoprojWorkflowV1alpha1Arguments
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_by_manifest_request import IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_gc import IoArgoprojWorkflowV1alpha1ArtifactGC
from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_location import IoArgoprojWorkflowV1alpha1ArtifactLocation
from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_paths import IoArgoprojWorkflowV1alpha1ArtifactPaths
diff --git a/sdks/python/client/docs/ArtifactServiceApi.md b/sdks/python/client/docs/ArtifactServiceApi.md
index d27b7e680de1..2133917fe44a 100644
--- a/sdks/python/client/docs/ArtifactServiceApi.md
+++ b/sdks/python/client/docs/ArtifactServiceApi.md
@@ -6,8 +6,10 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**get_artifact_file**](ArtifactServiceApi.md#get_artifact_file) | **GET** /artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName} | Get an artifact.
[**get_input_artifact**](ArtifactServiceApi.md#get_input_artifact) | **GET** /input-artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an input artifact.
+[**get_input_artifact_by_manifest**](ArtifactServiceApi.md#get_input_artifact_by_manifest) | **POST** /input-artifacts-by-manifest/{podName}/{artifactName} | Get an output artifact by a full workflow manifest.
[**get_input_artifact_by_uid**](ArtifactServiceApi.md#get_input_artifact_by_uid) | **GET** /input-artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an input artifact by UID.
[**get_output_artifact**](ArtifactServiceApi.md#get_output_artifact) | **GET** /artifacts/{namespace}/{name}/{nodeId}/{artifactName} | Get an output artifact.
+[**get_output_artifact_by_manifest**](ArtifactServiceApi.md#get_output_artifact_by_manifest) | **POST** /artifacts-by-manifest/{podName}/{artifactName} | Get an output artifact by a full workflow manifest.
[**get_output_artifact_by_uid**](ArtifactServiceApi.md#get_output_artifact_by_uid) | **GET** /artifacts-by-uid/{uid}/{nodeId}/{artifactName} | Get an output artifact by UID.
@@ -171,6 +173,27094 @@ Name | Type | Description | Notes
- **Accept**: application/json
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | An artifact file. | - |
+**0** | An unexpected error response. | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **get_input_artifact_by_manifest**
+> get_input_artifact_by_manifest(pod_name, artifact_name, body)
+
+Get an output artifact by a full workflow manifest.
+
+### Example
+
+* Api Key Authentication (BearerToken):
+
+```python
+import time
+import argo_workflows
+from argo_workflows.api import artifact_service_api
+from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
+from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_by_manifest_request import IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
+from pprint import pprint
+# Defining the host is optional and defaults to http://localhost:2746
+# See configuration.py for a list of all supported configuration parameters.
+configuration = argo_workflows.Configuration(
+ host = "http://localhost:2746"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: BearerToken
+configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['BearerToken'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with argo_workflows.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = artifact_service_api.ArtifactServiceApi(api_client)
+ pod_name = "podName_example" # str |
+ artifact_name = "artifactName_example" # str |
+ body = IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest(
+ workflow=IoArgoprojWorkflowV1alpha1Workflow(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=IoArgoprojWorkflowV1alpha1WorkflowSpec(
+ active_deadline_seconds=1,
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_logs=True,
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef(
+ config_map="config_map_example",
+ key="key_example",
+ ),
+ automount_service_account_token=True,
+ dns_config=PodDNSConfig(
+ nameservers=[
+ "nameservers_example",
+ ],
+ options=[
+ PodDNSConfigOption(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ searches=[
+ "searches_example",
+ ],
+ ),
+ dns_policy="dns_policy_example",
+ entrypoint="entrypoint_example",
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ host_network=True,
+ image_pull_secrets=[
+ LocalObjectReference(
+ name="name_example",
+ ),
+ ],
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ node_selector={
+ "key": "key_example",
+ },
+ on_exit="on_exit_example",
+ parallelism=1,
+ pod_disruption_budget=IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(
+ max_unavailable="max_unavailable_example",
+ min_available="min_available_example",
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ ),
+ pod_gc=IoArgoprojWorkflowV1alpha1PodGC(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ strategy="strategy_example",
+ ),
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ pod_priority=1,
+ pod_priority_class_name="pod_priority_class_name_example",
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ shutdown="shutdown_example",
+ suspend=True,
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ template_defaults=IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ templates=[
+ IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ ],
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ ttl_strategy=IoArgoprojWorkflowV1alpha1TTLStrategy(
+ seconds_after_completion=1,
+ seconds_after_failure=1,
+ seconds_after_success=1,
+ ),
+ volume_claim_gc=IoArgoprojWorkflowV1alpha1VolumeClaimGC(
+ strategy="strategy_example",
+ ),
+ volume_claim_templates=[
+ PersistentVolumeClaim(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ status=PersistentVolumeClaimStatus(
+ access_modes=[
+ "access_modes_example",
+ ],
+ allocated_resources={
+ "key": "key_example",
+ },
+ capacity={
+ "key": "key_example",
+ },
+ conditions=[
+ PersistentVolumeClaimCondition(
+ last_probe_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ last_transition_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ reason="reason_example",
+ status="status_example",
+ type="FileSystemResizePending",
+ ),
+ ],
+ phase="Bound",
+ resize_status="resize_status_example",
+ ),
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ workflow_metadata=IoArgoprojWorkflowV1alpha1WorkflowMetadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ labels_from={
+ "key": IoArgoprojWorkflowV1alpha1LabelValueFrom(
+ expression="expression_example",
+ ),
+ },
+ ),
+ workflow_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ ),
+ ),
+ status=IoArgoprojWorkflowV1alpha1WorkflowStatus(
+ artifact_gc_status=IoArgoprojWorkflowV1alpha1ArtGCStatus(
+ not_specified=True,
+ pods_recouped={
+ "key": True,
+ },
+ strategies_processed={
+ "key": True,
+ },
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus(
+ artifact_repository=IoArgoprojWorkflowV1alpha1ArtifactRepository(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo_url="repo_url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifactRepository(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob_name_format="blob_name_format_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifactRepository(
+ bucket="bucket_example",
+ key_format="key_format_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifactRepository(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path_format="path_format_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifactRepository(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key_format="key_format_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3ArtifactRepository(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key_format="key_format_example",
+ key_prefix="key_prefix_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ config_map="config_map_example",
+ default=True,
+ key="key_example",
+ namespace="namespace_example",
+ ),
+ compressed_nodes="compressed_nodes_example",
+ conditions=[
+ IoArgoprojWorkflowV1alpha1Condition(
+ message="message_example",
+ status="status_example",
+ type="type_example",
+ ),
+ ],
+ estimated_duration=1,
+ finished_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ nodes={
+ "key": IoArgoprojWorkflowV1alpha1NodeStatus(
+ boundary_id="boundary_id_example",
+ children=[
+ "children_example",
+ ],
+ daemoned=True,
+ display_name="display_name_example",
+ estimated_duration=1,
+ finished_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ host_node_name="host_node_name_example",
+ id="id_example",
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoization_status=IoArgoprojWorkflowV1alpha1MemoizationStatus(
+ cache_name="cache_name_example",
+ hit=True,
+ key="key_example",
+ ),
+ message="message_example",
+ name="name_example",
+ outbound_nodes=[
+ "outbound_nodes_example",
+ ],
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ phase="phase_example",
+ pod_ip="pod_ip_example",
+ progress="progress_example",
+ resources_duration={
+ "key": 1,
+ },
+ started_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ synchronization_status=IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus(
+ waiting="waiting_example",
+ ),
+ template_name="template_name_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ template_scope="template_scope_example",
+ type="type_example",
+ ),
+ },
+ offload_node_status_version="offload_node_status_version_example",
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ persistent_volume_claims=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ phase="phase_example",
+ progress="progress_example",
+ resources_duration={
+ "key": 1,
+ },
+ started_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ stored_templates={
+ "key": IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ },
+ stored_workflow_template_spec=IoArgoprojWorkflowV1alpha1WorkflowSpec(
+ active_deadline_seconds=1,
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_logs=True,
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef(
+ config_map="config_map_example",
+ key="key_example",
+ ),
+ automount_service_account_token=True,
+ dns_config=PodDNSConfig(
+ nameservers=[
+ "nameservers_example",
+ ],
+ options=[
+ PodDNSConfigOption(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ searches=[
+ "searches_example",
+ ],
+ ),
+ dns_policy="dns_policy_example",
+ entrypoint="entrypoint_example",
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ host_network=True,
+ image_pull_secrets=[
+ LocalObjectReference(
+ name="name_example",
+ ),
+ ],
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ node_selector={
+ "key": "key_example",
+ },
+ on_exit="on_exit_example",
+ parallelism=1,
+ pod_disruption_budget=IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(
+ max_unavailable="max_unavailable_example",
+ min_available="min_available_example",
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ ),
+ pod_gc=IoArgoprojWorkflowV1alpha1PodGC(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ strategy="strategy_example",
+ ),
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ pod_priority=1,
+ pod_priority_class_name="pod_priority_class_name_example",
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ shutdown="shutdown_example",
+ suspend=True,
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ template_defaults=IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ templates=[
+ IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ ],
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ ttl_strategy=IoArgoprojWorkflowV1alpha1TTLStrategy(
+ seconds_after_completion=1,
+ seconds_after_failure=1,
+ seconds_after_success=1,
+ ),
+ volume_claim_gc=IoArgoprojWorkflowV1alpha1VolumeClaimGC(
+ strategy="strategy_example",
+ ),
+ volume_claim_templates=[
+ PersistentVolumeClaim(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ status=PersistentVolumeClaimStatus(
+ access_modes=[
+ "access_modes_example",
+ ],
+ allocated_resources={
+ "key": "key_example",
+ },
+ capacity={
+ "key": "key_example",
+ },
+ conditions=[
+ PersistentVolumeClaimCondition(
+ last_probe_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ last_transition_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ reason="reason_example",
+ status="status_example",
+ type="FileSystemResizePending",
+ ),
+ ],
+ phase="Bound",
+ resize_status="resize_status_example",
+ ),
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ workflow_metadata=IoArgoprojWorkflowV1alpha1WorkflowMetadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ labels_from={
+ "key": IoArgoprojWorkflowV1alpha1LabelValueFrom(
+ expression="expression_example",
+ ),
+ },
+ ),
+ workflow_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ ),
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1SynchronizationStatus(
+ mutex=IoArgoprojWorkflowV1alpha1MutexStatus(
+ holding=[
+ IoArgoprojWorkflowV1alpha1MutexHolding(
+ holder="holder_example",
+ mutex="mutex_example",
+ ),
+ ],
+ waiting=[
+ IoArgoprojWorkflowV1alpha1MutexHolding(
+ holder="holder_example",
+ mutex="mutex_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreStatus(
+ holding=[
+ IoArgoprojWorkflowV1alpha1SemaphoreHolding(
+ holders=[
+ "holders_example",
+ ],
+ semaphore="semaphore_example",
+ ),
+ ],
+ waiting=[
+ IoArgoprojWorkflowV1alpha1SemaphoreHolding(
+ holders=[
+ "holders_example",
+ ],
+ semaphore="semaphore_example",
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ) # IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest |
+
+ # example passing only required values which don't have defaults set
+ try:
+ # Get an output artifact by a full workflow manifest.
+ api_instance.get_input_artifact_by_manifest(pod_name, artifact_name, body)
+ except argo_workflows.ApiException as e:
+ print("Exception when calling ArtifactServiceApi->get_input_artifact_by_manifest: %s\n" % e)
+```
+
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **pod_name** | **str**| |
+ **artifact_name** | **str**| |
+ **body** | [**IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest**](IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md)| |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[BearerToken](../README.md#BearerToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
### HTTP response details
| Status code | Description | Response headers |
@@ -335,6 +27425,27094 @@ Name | Type | Description | Notes
- **Accept**: application/json
+### HTTP response details
+
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+**200** | An artifact file. | - |
+**0** | An unexpected error response. | - |
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **get_output_artifact_by_manifest**
+> get_output_artifact_by_manifest(pod_name, artifact_name, body)
+
+Get an output artifact by a full workflow manifest.
+
+### Example
+
+* Api Key Authentication (BearerToken):
+
+```python
+import time
+import argo_workflows
+from argo_workflows.api import artifact_service_api
+from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError
+from argo_workflows.model.io_argoproj_workflow_v1alpha1_artifact_by_manifest_request import IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
+from pprint import pprint
+# Defining the host is optional and defaults to http://localhost:2746
+# See configuration.py for a list of all supported configuration parameters.
+configuration = argo_workflows.Configuration(
+ host = "http://localhost:2746"
+)
+
+# The client must configure the authentication and authorization parameters
+# in accordance with the API server security policy.
+# Examples for each auth method are provided below, use the example that
+# satisfies your auth use case.
+
+# Configure API key authorization: BearerToken
+configuration.api_key['BearerToken'] = 'YOUR_API_KEY'
+
+# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+# configuration.api_key_prefix['BearerToken'] = 'Bearer'
+
+# Enter a context with an instance of the API client
+with argo_workflows.ApiClient(configuration) as api_client:
+ # Create an instance of the API class
+ api_instance = artifact_service_api.ArtifactServiceApi(api_client)
+ pod_name = "podName_example" # str |
+ artifact_name = "artifactName_example" # str |
+ body = IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest(
+ workflow=IoArgoprojWorkflowV1alpha1Workflow(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=IoArgoprojWorkflowV1alpha1WorkflowSpec(
+ active_deadline_seconds=1,
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_logs=True,
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef(
+ config_map="config_map_example",
+ key="key_example",
+ ),
+ automount_service_account_token=True,
+ dns_config=PodDNSConfig(
+ nameservers=[
+ "nameservers_example",
+ ],
+ options=[
+ PodDNSConfigOption(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ searches=[
+ "searches_example",
+ ],
+ ),
+ dns_policy="dns_policy_example",
+ entrypoint="entrypoint_example",
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ host_network=True,
+ image_pull_secrets=[
+ LocalObjectReference(
+ name="name_example",
+ ),
+ ],
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ node_selector={
+ "key": "key_example",
+ },
+ on_exit="on_exit_example",
+ parallelism=1,
+ pod_disruption_budget=IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(
+ max_unavailable="max_unavailable_example",
+ min_available="min_available_example",
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ ),
+ pod_gc=IoArgoprojWorkflowV1alpha1PodGC(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ strategy="strategy_example",
+ ),
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ pod_priority=1,
+ pod_priority_class_name="pod_priority_class_name_example",
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ shutdown="shutdown_example",
+ suspend=True,
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ template_defaults=IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ templates=[
+ IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ ],
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ ttl_strategy=IoArgoprojWorkflowV1alpha1TTLStrategy(
+ seconds_after_completion=1,
+ seconds_after_failure=1,
+ seconds_after_success=1,
+ ),
+ volume_claim_gc=IoArgoprojWorkflowV1alpha1VolumeClaimGC(
+ strategy="strategy_example",
+ ),
+ volume_claim_templates=[
+ PersistentVolumeClaim(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ status=PersistentVolumeClaimStatus(
+ access_modes=[
+ "access_modes_example",
+ ],
+ allocated_resources={
+ "key": "key_example",
+ },
+ capacity={
+ "key": "key_example",
+ },
+ conditions=[
+ PersistentVolumeClaimCondition(
+ last_probe_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ last_transition_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ reason="reason_example",
+ status="status_example",
+ type="FileSystemResizePending",
+ ),
+ ],
+ phase="Bound",
+ resize_status="resize_status_example",
+ ),
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ workflow_metadata=IoArgoprojWorkflowV1alpha1WorkflowMetadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ labels_from={
+ "key": IoArgoprojWorkflowV1alpha1LabelValueFrom(
+ expression="expression_example",
+ ),
+ },
+ ),
+ workflow_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ ),
+ ),
+ status=IoArgoprojWorkflowV1alpha1WorkflowStatus(
+ artifact_gc_status=IoArgoprojWorkflowV1alpha1ArtGCStatus(
+ not_specified=True,
+ pods_recouped={
+ "key": True,
+ },
+ strategies_processed={
+ "key": True,
+ },
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRefStatus(
+ artifact_repository=IoArgoprojWorkflowV1alpha1ArtifactRepository(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifactRepository(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo_url="repo_url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifactRepository(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob_name_format="blob_name_format_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifactRepository(
+ bucket="bucket_example",
+ key_format="key_format_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifactRepository(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path_format="path_format_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifactRepository(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key_format="key_format_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3ArtifactRepository(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key_format="key_format_example",
+ key_prefix="key_prefix_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ config_map="config_map_example",
+ default=True,
+ key="key_example",
+ namespace="namespace_example",
+ ),
+ compressed_nodes="compressed_nodes_example",
+ conditions=[
+ IoArgoprojWorkflowV1alpha1Condition(
+ message="message_example",
+ status="status_example",
+ type="type_example",
+ ),
+ ],
+ estimated_duration=1,
+ finished_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ nodes={
+ "key": IoArgoprojWorkflowV1alpha1NodeStatus(
+ boundary_id="boundary_id_example",
+ children=[
+ "children_example",
+ ],
+ daemoned=True,
+ display_name="display_name_example",
+ estimated_duration=1,
+ finished_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ host_node_name="host_node_name_example",
+ id="id_example",
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoization_status=IoArgoprojWorkflowV1alpha1MemoizationStatus(
+ cache_name="cache_name_example",
+ hit=True,
+ key="key_example",
+ ),
+ message="message_example",
+ name="name_example",
+ outbound_nodes=[
+ "outbound_nodes_example",
+ ],
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ phase="phase_example",
+ pod_ip="pod_ip_example",
+ progress="progress_example",
+ resources_duration={
+ "key": 1,
+ },
+ started_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ synchronization_status=IoArgoprojWorkflowV1alpha1NodeSynchronizationStatus(
+ waiting="waiting_example",
+ ),
+ template_name="template_name_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ template_scope="template_scope_example",
+ type="type_example",
+ ),
+ },
+ offload_node_status_version="offload_node_status_version_example",
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ persistent_volume_claims=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ phase="phase_example",
+ progress="progress_example",
+ resources_duration={
+ "key": 1,
+ },
+ started_at=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ stored_templates={
+ "key": IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ },
+ stored_workflow_template_spec=IoArgoprojWorkflowV1alpha1WorkflowSpec(
+ active_deadline_seconds=1,
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_logs=True,
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifact_repository_ref=IoArgoprojWorkflowV1alpha1ArtifactRepositoryRef(
+ config_map="config_map_example",
+ key="key_example",
+ ),
+ automount_service_account_token=True,
+ dns_config=PodDNSConfig(
+ nameservers=[
+ "nameservers_example",
+ ],
+ options=[
+ PodDNSConfigOption(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ searches=[
+ "searches_example",
+ ],
+ ),
+ dns_policy="dns_policy_example",
+ entrypoint="entrypoint_example",
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ host_network=True,
+ image_pull_secrets=[
+ LocalObjectReference(
+ name="name_example",
+ ),
+ ],
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ node_selector={
+ "key": "key_example",
+ },
+ on_exit="on_exit_example",
+ parallelism=1,
+ pod_disruption_budget=IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec(
+ max_unavailable="max_unavailable_example",
+ min_available="min_available_example",
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ ),
+ pod_gc=IoArgoprojWorkflowV1alpha1PodGC(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ strategy="strategy_example",
+ ),
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ pod_priority=1,
+ pod_priority_class_name="pod_priority_class_name_example",
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ shutdown="shutdown_example",
+ suspend=True,
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ template_defaults=IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ templates=[
+ IoArgoprojWorkflowV1alpha1Template(
+ active_deadline_seconds="active_deadline_seconds_example",
+ affinity=Affinity(
+ node_affinity=NodeAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ PreferredSchedulingTerm(
+ preference=NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=NodeSelector(
+ node_selector_terms=[
+ NodeSelectorTerm(
+ match_expressions=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_fields=[
+ NodeSelectorRequirement(
+ key="key_example",
+ operator="DoesNotExist",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ ),
+ ],
+ ),
+ ),
+ pod_affinity=PodAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ pod_anti_affinity=PodAntiAffinity(
+ preferred_during_scheduling_ignored_during_execution=[
+ WeightedPodAffinityTerm(
+ pod_affinity_term=PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ weight=1,
+ ),
+ ],
+ required_during_scheduling_ignored_during_execution=[
+ PodAffinityTerm(
+ label_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespace_selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ namespaces=[
+ "namespaces_example",
+ ],
+ topology_key="topology_key_example",
+ ),
+ ],
+ ),
+ ),
+ archive_location=IoArgoprojWorkflowV1alpha1ArtifactLocation(
+ archive_logs=True,
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ ),
+ automount_service_account_token=True,
+ container=Container(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="Always",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="FallbackToLogsOnError",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ container_set=IoArgoprojWorkflowV1alpha1ContainerSetTemplate(
+ containers=[
+ IoArgoprojWorkflowV1alpha1ContainerNode(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ dependencies=[
+ "dependencies_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ retry_strategy=IoArgoprojWorkflowV1alpha1ContainerSetRetryStrategy(
+ duration="duration_example",
+ retries="retries_example",
+ ),
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ ),
+ daemon=True,
+ dag=IoArgoprojWorkflowV1alpha1DAGTemplate(
+ fail_fast=True,
+ target="target_example",
+ tasks=[
+ IoArgoprojWorkflowV1alpha1DAGTask(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ dependencies=[
+ "dependencies_example",
+ ],
+ depends="depends_example",
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ],
+ ),
+ data=IoArgoprojWorkflowV1alpha1Data(
+ source=IoArgoprojWorkflowV1alpha1DataSource(
+ artifact_paths=IoArgoprojWorkflowV1alpha1ArtifactPaths(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ transformation=[
+ IoArgoprojWorkflowV1alpha1TransformationStep(
+ expression="expression_example",
+ ),
+ ],
+ ),
+ executor=IoArgoprojWorkflowV1alpha1ExecutorConfig(
+ service_account_name="service_account_name_example",
+ ),
+ fail_fast=True,
+ host_aliases=[
+ HostAlias(
+ hostnames=[
+ "hostnames_example",
+ ],
+ ip="ip_example",
+ ),
+ ],
+ http=IoArgoprojWorkflowV1alpha1HTTP(
+ body="body_example",
+ body_from=IoArgoprojWorkflowV1alpha1HTTPBodySource(
+ bytes='YQ==',
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1HTTPHeader(
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource(
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ insecure_skip_verify=True,
+ method="method_example",
+ success_condition="success_condition_example",
+ timeout_seconds=1,
+ url="url_example",
+ ),
+ init_containers=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ inputs=IoArgoprojWorkflowV1alpha1Inputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ memoize=IoArgoprojWorkflowV1alpha1Memoize(
+ cache=IoArgoprojWorkflowV1alpha1Cache(
+ config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ key="key_example",
+ max_age="max_age_example",
+ ),
+ metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ metrics=IoArgoprojWorkflowV1alpha1Metrics(
+ prometheus=[
+ IoArgoprojWorkflowV1alpha1Prometheus(
+ counter=IoArgoprojWorkflowV1alpha1Counter(
+ value="value_example",
+ ),
+ gauge=IoArgoprojWorkflowV1alpha1Gauge(
+ realtime=True,
+ value="value_example",
+ ),
+ help="help_example",
+ histogram=IoArgoprojWorkflowV1alpha1Histogram(
+ buckets=[
+ 3.14,
+ ],
+ value="value_example",
+ ),
+ labels=[
+ IoArgoprojWorkflowV1alpha1MetricLabel(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ name="name_example",
+ when="when_example",
+ ),
+ ],
+ ),
+ name="name_example",
+ node_selector={
+ "key": "key_example",
+ },
+ outputs=IoArgoprojWorkflowV1alpha1Outputs(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ exit_code="exit_code_example",
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ result="result_example",
+ ),
+ parallelism=1,
+ plugin={},
+ pod_spec_patch="pod_spec_patch_example",
+ priority=1,
+ priority_class_name="priority_class_name_example",
+ resource=IoArgoprojWorkflowV1alpha1ResourceTemplate(
+ action="action_example",
+ failure_condition="failure_condition_example",
+ flags=[
+ "flags_example",
+ ],
+ manifest="manifest_example",
+ manifest_from=IoArgoprojWorkflowV1alpha1ManifestFrom(
+ artifact=IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ),
+ merge_strategy="merge_strategy_example",
+ set_owner_reference=True,
+ success_condition="success_condition_example",
+ ),
+ retry_strategy=IoArgoprojWorkflowV1alpha1RetryStrategy(
+ affinity=IoArgoprojWorkflowV1alpha1RetryAffinity(
+ node_anti_affinity={},
+ ),
+ backoff=IoArgoprojWorkflowV1alpha1Backoff(
+ duration="duration_example",
+ factor="factor_example",
+ max_duration="max_duration_example",
+ ),
+ expression="expression_example",
+ limit="limit_example",
+ retry_policy="retry_policy_example",
+ ),
+ scheduler_name="scheduler_name_example",
+ script=IoArgoprojWorkflowV1alpha1ScriptTemplate(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ source="source_example",
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ security_context=PodSecurityContext(
+ fs_group=1,
+ fs_group_change_policy="fs_group_change_policy_example",
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ supplemental_groups=[
+ 1,
+ ],
+ sysctls=[
+ Sysctl(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ service_account_name="service_account_name_example",
+ sidecars=[
+ IoArgoprojWorkflowV1alpha1UserContainer(
+ args=[
+ "args_example",
+ ],
+ command=[
+ "command_example",
+ ],
+ env=[
+ EnvVar(
+ name="name_example",
+ value="value_example",
+ value_from=EnvVarSource(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ secret_key_ref=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ ],
+ env_from=[
+ EnvFromSource(
+ config_map_ref=ConfigMapEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ prefix="prefix_example",
+ secret_ref=SecretEnvSource(
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ],
+ image="image_example",
+ image_pull_policy="image_pull_policy_example",
+ lifecycle=Lifecycle(
+ post_start=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ pre_stop=LifecycleHandler(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ ),
+ ),
+ liveness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ mirror_volume_mounts=True,
+ name="name_example",
+ ports=[
+ ContainerPort(
+ container_port=1,
+ host_ip="host_ip_example",
+ host_port=1,
+ name="name_example",
+ protocol="SCTP",
+ ),
+ ],
+ readiness_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ security_context=SecurityContext(
+ allow_privilege_escalation=True,
+ capabilities=Capabilities(
+ add=[
+ "add_example",
+ ],
+ drop=[
+ "drop_example",
+ ],
+ ),
+ privileged=True,
+ proc_mount="proc_mount_example",
+ read_only_root_filesystem=True,
+ run_as_group=1,
+ run_as_non_root=True,
+ run_as_user=1,
+ se_linux_options=SELinuxOptions(
+ level="level_example",
+ role="role_example",
+ type="type_example",
+ user="user_example",
+ ),
+ seccomp_profile=SeccompProfile(
+ localhost_profile="localhost_profile_example",
+ type="Localhost",
+ ),
+ windows_options=WindowsSecurityContextOptions(
+ gmsa_credential_spec="gmsa_credential_spec_example",
+ gmsa_credential_spec_name="gmsa_credential_spec_name_example",
+ host_process=True,
+ run_as_user_name="run_as_user_name_example",
+ ),
+ ),
+ startup_probe=Probe(
+ _exec=ExecAction(
+ command=[
+ "command_example",
+ ],
+ ),
+ failure_threshold=1,
+ grpc=GRPCAction(
+ port=1,
+ service="service_example",
+ ),
+ http_get=HTTPGetAction(
+ host="host_example",
+ http_headers=[
+ HTTPHeader(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ path="path_example",
+ port="port_example",
+ scheme="HTTP",
+ ),
+ initial_delay_seconds=1,
+ period_seconds=1,
+ success_threshold=1,
+ tcp_socket=TCPSocketAction(
+ host="host_example",
+ port="port_example",
+ ),
+ termination_grace_period_seconds=1,
+ timeout_seconds=1,
+ ),
+ stdin=True,
+ stdin_once=True,
+ termination_message_path="termination_message_path_example",
+ termination_message_policy="termination_message_policy_example",
+ tty=True,
+ volume_devices=[
+ VolumeDevice(
+ device_path="device_path_example",
+ name="name_example",
+ ),
+ ],
+ volume_mounts=[
+ VolumeMount(
+ mount_path="mount_path_example",
+ mount_propagation="mount_propagation_example",
+ name="name_example",
+ read_only=True,
+ sub_path="sub_path_example",
+ sub_path_expr="sub_path_expr_example",
+ ),
+ ],
+ working_dir="working_dir_example",
+ ),
+ ],
+ steps=[
+ IoArgoprojWorkflowV1alpha1ParallelSteps([
+ IoArgoprojWorkflowV1alpha1WorkflowStep(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ continue_on=IoArgoprojWorkflowV1alpha1ContinueOn(
+ error=True,
+ failed=True,
+ ),
+ hooks={
+ "key": IoArgoprojWorkflowV1alpha1LifecycleHook(
+ arguments=IoArgoprojWorkflowV1alpha1Arguments(
+ artifacts=[
+ IoArgoprojWorkflowV1alpha1Artifact(
+ archive=IoArgoprojWorkflowV1alpha1ArchiveStrategy(
+ _none={},
+ tar=IoArgoprojWorkflowV1alpha1TarStrategy(
+ compression_level=1,
+ ),
+ zip={},
+ ),
+ archive_logs=True,
+ artifact_gc=IoArgoprojWorkflowV1alpha1ArtifactGC(
+ pod_metadata=IoArgoprojWorkflowV1alpha1Metadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ ),
+ service_account_name="service_account_name_example",
+ strategy="strategy_example",
+ ),
+ artifactory=IoArgoprojWorkflowV1alpha1ArtifactoryArtifact(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ url="url_example",
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ azure=IoArgoprojWorkflowV1alpha1AzureArtifact(
+ account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ blob="blob_example",
+ container="container_example",
+ endpoint="endpoint_example",
+ use_sdk_creds=True,
+ ),
+ deleted=True,
+ _from="_from_example",
+ from_expression="from_expression_example",
+ gcs=IoArgoprojWorkflowV1alpha1GCSArtifact(
+ bucket="bucket_example",
+ key="key_example",
+ service_account_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ git=IoArgoprojWorkflowV1alpha1GitArtifact(
+ branch="branch_example",
+ depth=1,
+ disable_submodules=True,
+ fetch=[
+ "fetch_example",
+ ],
+ insecure_ignore_host_key=True,
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ repo="repo_example",
+ revision="revision_example",
+ single_branch=True,
+ ssh_private_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ global_name="global_name_example",
+ hdfs=IoArgoprojWorkflowV1alpha1HDFSArtifact(
+ addresses=[
+ "addresses_example",
+ ],
+ force=True,
+ hdfs_user="hdfs_user_example",
+ krb_c_cache_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_config_config_map=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_keytab_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ krb_realm="krb_realm_example",
+ krb_service_principal_name="krb_service_principal_name_example",
+ krb_username="krb_username_example",
+ path="path_example",
+ ),
+ http=IoArgoprojWorkflowV1alpha1HTTPArtifact(
+ auth=IoArgoprojWorkflowV1alpha1HTTPAuth(
+ basic_auth=IoArgoprojWorkflowV1alpha1BasicAuth(
+ password_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ username_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ client_cert=IoArgoprojWorkflowV1alpha1ClientCertAuth(
+ client_cert_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ oauth2=IoArgoprojWorkflowV1alpha1OAuth2Auth(
+ client_id_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ client_secret_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ endpoint_params=[
+ IoArgoprojWorkflowV1alpha1OAuth2EndpointParam(
+ key="key_example",
+ value="value_example",
+ ),
+ ],
+ scopes=[
+ "scopes_example",
+ ],
+ token_url_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ ),
+ headers=[
+ IoArgoprojWorkflowV1alpha1Header(
+ name="name_example",
+ value="value_example",
+ ),
+ ],
+ url="url_example",
+ ),
+ mode=1,
+ name="name_example",
+ optional=True,
+ oss=IoArgoprojWorkflowV1alpha1OSSArtifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=True,
+ endpoint="endpoint_example",
+ key="key_example",
+ lifecycle_rule=IoArgoprojWorkflowV1alpha1OSSLifecycleRule(
+ mark_deletion_after_days=1,
+ mark_infrequent_access_after_days=1,
+ ),
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ security_token="security_token_example",
+ ),
+ path="path_example",
+ raw=IoArgoprojWorkflowV1alpha1RawArtifact(
+ data="data_example",
+ ),
+ recurse_mode=True,
+ s3=IoArgoprojWorkflowV1alpha1S3Artifact(
+ access_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ bucket="bucket_example",
+ create_bucket_if_not_present=IoArgoprojWorkflowV1alpha1CreateS3BucketOptions(
+ object_locking=True,
+ ),
+ encryption_options=IoArgoprojWorkflowV1alpha1S3EncryptionOptions(
+ enable_encryption=True,
+ kms_encryption_context="kms_encryption_context_example",
+ kms_key_id="kms_key_id_example",
+ server_side_customer_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ ),
+ endpoint="endpoint_example",
+ insecure=True,
+ key="key_example",
+ region="region_example",
+ role_arn="role_arn_example",
+ secret_key_secret=SecretKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ use_sdk_creds=True,
+ ),
+ sub_path="sub_path_example",
+ ),
+ ],
+ parameters=[
+ IoArgoprojWorkflowV1alpha1Parameter(
+ default="default_example",
+ description="description_example",
+ enum=[
+ "enum_example",
+ ],
+ global_name="global_name_example",
+ name="name_example",
+ value="value_example",
+ value_from=IoArgoprojWorkflowV1alpha1ValueFrom(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ default="default_example",
+ event="event_example",
+ expression="expression_example",
+ jq_filter="jq_filter_example",
+ json_path="json_path_example",
+ parameter="parameter_example",
+ path="path_example",
+ supplied={},
+ ),
+ ),
+ ],
+ ),
+ expression="expression_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ ),
+ },
+ inline=IoArgoprojWorkflowV1alpha1Template(),
+ name="name_example",
+ on_exit="on_exit_example",
+ template="template_example",
+ template_ref=IoArgoprojWorkflowV1alpha1TemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ template="template_example",
+ ),
+ when="when_example",
+ with_items=[
+ {},
+ ],
+ with_param="with_param_example",
+ with_sequence=IoArgoprojWorkflowV1alpha1Sequence(
+ count="count_example",
+ end="end_example",
+ format="format_example",
+ start="start_example",
+ ),
+ ),
+ ]),
+ ],
+ suspend=IoArgoprojWorkflowV1alpha1SuspendTemplate(
+ duration="duration_example",
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1Synchronization(
+ mutex=IoArgoprojWorkflowV1alpha1Mutex(
+ name="name_example",
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef(
+ config_map_key_ref=ConfigMapKeySelector(
+ key="key_example",
+ name="name_example",
+ optional=True,
+ ),
+ selectors=[
+ IoArgoprojWorkflowV1alpha1SyncSelector(
+ name="name_example",
+ template="template_example",
+ ),
+ ],
+ ),
+ ),
+ timeout="timeout_example",
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ ),
+ ],
+ tolerations=[
+ Toleration(
+ effect="NoExecute",
+ key="key_example",
+ operator="Equal",
+ toleration_seconds=1,
+ value="value_example",
+ ),
+ ],
+ ttl_strategy=IoArgoprojWorkflowV1alpha1TTLStrategy(
+ seconds_after_completion=1,
+ seconds_after_failure=1,
+ seconds_after_success=1,
+ ),
+ volume_claim_gc=IoArgoprojWorkflowV1alpha1VolumeClaimGC(
+ strategy="strategy_example",
+ ),
+ volume_claim_templates=[
+ PersistentVolumeClaim(
+ api_version="api_version_example",
+ kind="kind_example",
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ status=PersistentVolumeClaimStatus(
+ access_modes=[
+ "access_modes_example",
+ ],
+ allocated_resources={
+ "key": "key_example",
+ },
+ capacity={
+ "key": "key_example",
+ },
+ conditions=[
+ PersistentVolumeClaimCondition(
+ last_probe_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ last_transition_time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ message="message_example",
+ reason="reason_example",
+ status="status_example",
+ type="FileSystemResizePending",
+ ),
+ ],
+ phase="Bound",
+ resize_status="resize_status_example",
+ ),
+ ),
+ ],
+ volumes=[
+ Volume(
+ aws_elastic_block_store=AWSElasticBlockStoreVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ azure_disk=AzureDiskVolumeSource(
+ caching_mode="caching_mode_example",
+ disk_name="disk_name_example",
+ disk_uri="disk_uri_example",
+ fs_type="fs_type_example",
+ kind="kind_example",
+ read_only=True,
+ ),
+ azure_file=AzureFileVolumeSource(
+ read_only=True,
+ secret_name="secret_name_example",
+ share_name="share_name_example",
+ ),
+ cephfs=CephFSVolumeSource(
+ monitors=[
+ "monitors_example",
+ ],
+ path="path_example",
+ read_only=True,
+ secret_file="secret_file_example",
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ cinder=CinderVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_id="volume_id_example",
+ ),
+ config_map=ConfigMapVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ csi=CSIVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ node_publish_secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ read_only=True,
+ volume_attributes={
+ "key": "key_example",
+ },
+ ),
+ downward_api=DownwardAPIVolumeSource(
+ default_mode=1,
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ empty_dir=EmptyDirVolumeSource(
+ medium="medium_example",
+ size_limit="size_limit_example",
+ ),
+ ephemeral=EphemeralVolumeSource(
+ volume_claim_template=PersistentVolumeClaimTemplate(
+ metadata=ObjectMeta(
+ annotations={
+ "key": "key_example",
+ },
+ cluster_name="cluster_name_example",
+ creation_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ deletion_grace_period_seconds=1,
+ deletion_timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ finalizers=[
+ "finalizers_example",
+ ],
+ generate_name="generate_name_example",
+ generation=1,
+ labels={
+ "key": "key_example",
+ },
+ managed_fields=[
+ ManagedFieldsEntry(
+ api_version="api_version_example",
+ fields_type="fields_type_example",
+ fields_v1={},
+ manager="manager_example",
+ operation="operation_example",
+ subresource="subresource_example",
+ time=dateutil_parser('1970-01-01T00:00:00.00Z'),
+ ),
+ ],
+ name="name_example",
+ namespace="namespace_example",
+ owner_references=[
+ OwnerReference(
+ api_version="api_version_example",
+ block_owner_deletion=True,
+ controller=True,
+ kind="kind_example",
+ name="name_example",
+ uid="uid_example",
+ ),
+ ],
+ resource_version="resource_version_example",
+ self_link="self_link_example",
+ uid="uid_example",
+ ),
+ spec=PersistentVolumeClaimSpec(
+ access_modes=[
+ "access_modes_example",
+ ],
+ data_source=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ data_source_ref=TypedLocalObjectReference(
+ api_group="api_group_example",
+ kind="kind_example",
+ name="name_example",
+ ),
+ resources=ResourceRequirements(
+ limits={
+ "key": "key_example",
+ },
+ requests={
+ "key": "key_example",
+ },
+ ),
+ selector=LabelSelector(
+ match_expressions=[
+ LabelSelectorRequirement(
+ key="key_example",
+ operator="operator_example",
+ values=[
+ "values_example",
+ ],
+ ),
+ ],
+ match_labels={
+ "key": "key_example",
+ },
+ ),
+ storage_class_name="storage_class_name_example",
+ volume_mode="volume_mode_example",
+ volume_name="volume_name_example",
+ ),
+ ),
+ ),
+ fc=FCVolumeSource(
+ fs_type="fs_type_example",
+ lun=1,
+ read_only=True,
+ target_wwns=[
+ "target_wwns_example",
+ ],
+ wwids=[
+ "wwids_example",
+ ],
+ ),
+ flex_volume=FlexVolumeSource(
+ driver="driver_example",
+ fs_type="fs_type_example",
+ options={
+ "key": "key_example",
+ },
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ),
+ flocker=FlockerVolumeSource(
+ dataset_name="dataset_name_example",
+ dataset_uuid="dataset_uuid_example",
+ ),
+ gce_persistent_disk=GCEPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ partition=1,
+ pd_name="pd_name_example",
+ read_only=True,
+ ),
+ git_repo=GitRepoVolumeSource(
+ directory="directory_example",
+ repository="repository_example",
+ revision="revision_example",
+ ),
+ glusterfs=GlusterfsVolumeSource(
+ endpoints="endpoints_example",
+ path="path_example",
+ read_only=True,
+ ),
+ host_path=HostPathVolumeSource(
+ path="path_example",
+ type="type_example",
+ ),
+ iscsi=ISCSIVolumeSource(
+ chap_auth_discovery=True,
+ chap_auth_session=True,
+ fs_type="fs_type_example",
+ initiator_name="initiator_name_example",
+ iqn="iqn_example",
+ iscsi_interface="iscsi_interface_example",
+ lun=1,
+ portals=[
+ "portals_example",
+ ],
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ target_portal="target_portal_example",
+ ),
+ name="name_example",
+ nfs=NFSVolumeSource(
+ path="path_example",
+ read_only=True,
+ server="server_example",
+ ),
+ persistent_volume_claim=PersistentVolumeClaimVolumeSource(
+ claim_name="claim_name_example",
+ read_only=True,
+ ),
+ photon_persistent_disk=PhotonPersistentDiskVolumeSource(
+ fs_type="fs_type_example",
+ pd_id="pd_id_example",
+ ),
+ portworx_volume=PortworxVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ volume_id="volume_id_example",
+ ),
+ projected=ProjectedVolumeSource(
+ default_mode=1,
+ sources=[
+ VolumeProjection(
+ config_map=ConfigMapProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ downward_api=DownwardAPIProjection(
+ items=[
+ DownwardAPIVolumeFile(
+ field_ref=ObjectFieldSelector(
+ api_version="api_version_example",
+ field_path="field_path_example",
+ ),
+ mode=1,
+ path="path_example",
+ resource_field_ref=ResourceFieldSelector(
+ container_name="container_name_example",
+ divisor="divisor_example",
+ resource="resource_example",
+ ),
+ ),
+ ],
+ ),
+ secret=SecretProjection(
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ name="name_example",
+ optional=True,
+ ),
+ service_account_token=ServiceAccountTokenProjection(
+ audience="audience_example",
+ expiration_seconds=1,
+ path="path_example",
+ ),
+ ),
+ ],
+ ),
+ quobyte=QuobyteVolumeSource(
+ group="group_example",
+ read_only=True,
+ registry="registry_example",
+ tenant="tenant_example",
+ user="user_example",
+ volume="volume_example",
+ ),
+ rbd=RBDVolumeSource(
+ fs_type="fs_type_example",
+ image="image_example",
+ keyring="keyring_example",
+ monitors=[
+ "monitors_example",
+ ],
+ pool="pool_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ user="user_example",
+ ),
+ scale_io=ScaleIOVolumeSource(
+ fs_type="fs_type_example",
+ gateway="gateway_example",
+ protection_domain="protection_domain_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ ssl_enabled=True,
+ storage_mode="storage_mode_example",
+ storage_pool="storage_pool_example",
+ system="system_example",
+ volume_name="volume_name_example",
+ ),
+ secret=SecretVolumeSource(
+ default_mode=1,
+ items=[
+ KeyToPath(
+ key="key_example",
+ mode=1,
+ path="path_example",
+ ),
+ ],
+ optional=True,
+ secret_name="secret_name_example",
+ ),
+ storageos=StorageOSVolumeSource(
+ fs_type="fs_type_example",
+ read_only=True,
+ secret_ref=LocalObjectReference(
+ name="name_example",
+ ),
+ volume_name="volume_name_example",
+ volume_namespace="volume_namespace_example",
+ ),
+ vsphere_volume=VsphereVirtualDiskVolumeSource(
+ fs_type="fs_type_example",
+ storage_policy_id="storage_policy_id_example",
+ storage_policy_name="storage_policy_name_example",
+ volume_path="volume_path_example",
+ ),
+ ),
+ ],
+ workflow_metadata=IoArgoprojWorkflowV1alpha1WorkflowMetadata(
+ annotations={
+ "key": "key_example",
+ },
+ labels={
+ "key": "key_example",
+ },
+ labels_from={
+ "key": IoArgoprojWorkflowV1alpha1LabelValueFrom(
+ expression="expression_example",
+ ),
+ },
+ ),
+ workflow_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef(
+ cluster_scope=True,
+ name="name_example",
+ ),
+ ),
+ synchronization=IoArgoprojWorkflowV1alpha1SynchronizationStatus(
+ mutex=IoArgoprojWorkflowV1alpha1MutexStatus(
+ holding=[
+ IoArgoprojWorkflowV1alpha1MutexHolding(
+ holder="holder_example",
+ mutex="mutex_example",
+ ),
+ ],
+ waiting=[
+ IoArgoprojWorkflowV1alpha1MutexHolding(
+ holder="holder_example",
+ mutex="mutex_example",
+ ),
+ ],
+ ),
+ semaphore=IoArgoprojWorkflowV1alpha1SemaphoreStatus(
+ holding=[
+ IoArgoprojWorkflowV1alpha1SemaphoreHolding(
+ holders=[
+ "holders_example",
+ ],
+ semaphore="semaphore_example",
+ ),
+ ],
+ waiting=[
+ IoArgoprojWorkflowV1alpha1SemaphoreHolding(
+ holders=[
+ "holders_example",
+ ],
+ semaphore="semaphore_example",
+ ),
+ ],
+ ),
+ ),
+ ),
+ ),
+ ) # IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest |
+
+ # example passing only required values which don't have defaults set
+ try:
+ # Get an output artifact by a full workflow manifest.
+ api_instance.get_output_artifact_by_manifest(pod_name, artifact_name, body)
+ except argo_workflows.ApiException as e:
+ print("Exception when calling ArtifactServiceApi->get_output_artifact_by_manifest: %s\n" % e)
+```
+
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **pod_name** | **str**| |
+ **artifact_name** | **str**| |
+ **body** | [**IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest**](IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md)| |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[BearerToken](../README.md#BearerToken)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
### HTTP response details
| Status code | Description | Response headers |
diff --git a/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md
new file mode 100644
index 000000000000..45b897579ad5
--- /dev/null
+++ b/sdks/python/client/docs/IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest.md
@@ -0,0 +1,12 @@
+# IoArgoprojWorkflowV1alpha1ArtifactByManifestRequest
+
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**workflow** | [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) | |
+**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/server/artifacts/artifact_server.go b/server/artifacts/artifact_server.go
index 28d1dfbdd6ff..711c54cfc1db 100644
--- a/server/artifacts/artifact_server.go
+++ b/server/artifacts/artifact_server.go
@@ -166,6 +166,11 @@ func (a *ArtifactServer) GetArtifactFile(w http.ResponseWriter, r *http.Request)
return
}
+ a.getArtifactFromPath(artifact, driver, w, r)
+
+}
+
+func (a *ArtifactServer) getArtifactFromPath(artifact *wfv1.Artifact, driver common.ArtifactDriver, w http.ResponseWriter, r *http.Request) {
isDir := strings.HasSuffix(r.URL.Path, "/")
if !isDir {
@@ -234,15 +239,13 @@ func (a *ArtifactServer) GetArtifactFile(w http.ResponseWriter, r *http.Request)
} else { // stream the file itself
log.Debugf("not a directory, artifact: %+v", artifact)
- err = a.returnArtifact(w, artifact, driver)
+ err := a.returnArtifact(w, artifact, driver)
if err != nil {
a.httpFromError(err, w)
}
}
-
}
-
func (a *ArtifactServer) getArtifact(w http.ResponseWriter, r *http.Request, isInput bool) {
requestPath := strings.SplitN(r.URL.Path, "/", 6)
if len(requestPath) != 6 {
@@ -312,24 +315,35 @@ func (a *ArtifactServer) getArtifactByManifest(w http.ResponseWriter, r *http.Re
}
uid := wf.UID
- path := strings.SplitN(r.URL.Path, "/", 6)
- nodeId := path[2]
- artifactName := path[3]
+ requestPath := strings.SplitN(r.URL.Path, "/", 6)
- log.WithFields(log.Fields{"uid": uid, "nodeId": nodeId, "artifactName": artifactName, "isInput": isInput}).Info("Download artifact by manifest")
+ nodeIdIndex := 2
+ artifactNameIndex := 3
+ fileNameFirstIndex := 4
- art, driver, err := a.getArtifactAndDriver(ctx, nodeId, artifactName, isInput, wf, nil)
- if err != nil {
- a.serverInternalError(err, w)
+ var fileName *string
+ if len(requestPath) >= fileNameFirstIndex+1 { // they included a file path in the URL (not just artifact name)
+ joined := strings.Join(requestPath[fileNameFirstIndex:], "/")
+ // sanitize file name
+ cleanedPath := path.Clean(joined)
+ fileName = &cleanedPath
+ } else if len(requestPath) < artifactNameIndex+1 {
+ a.httpBadRequestError(w)
return
}
- err = a.returnArtifact(w, art, driver)
+ nodeId := requestPath[nodeIdIndex]
+ artifactName := requestPath[artifactNameIndex]
+ log.WithFields(log.Fields{"uid": uid, "nodeId": nodeId, "artifactName": artifactName, "isInput": isInput}).Info("Download artifact by manifest")
+
+ art, driver, err := a.getArtifactAndDriver(ctx, nodeId, artifactName, isInput, wf, fileName)
if err != nil {
a.serverInternalError(err, w)
return
}
+
+ a.getArtifactFromPath(art, driver, w, r)
}
func (a *ArtifactServer) GetOutputArtifactByUID(w http.ResponseWriter, r *http.Request) {