# argo_workflows.WorkflowServiceApi All URIs are relative to *http://localhost:2746* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_workflow**](WorkflowServiceApi.md#create_workflow) | **POST** /api/v1/workflows/{namespace} | [**delete_workflow**](WorkflowServiceApi.md#delete_workflow) | **DELETE** /api/v1/workflows/{namespace}/{name} | [**get_workflow**](WorkflowServiceApi.md#get_workflow) | **GET** /api/v1/workflows/{namespace}/{name} | [**lint_workflow**](WorkflowServiceApi.md#lint_workflow) | **POST** /api/v1/workflows/{namespace}/lint | [**list_workflows**](WorkflowServiceApi.md#list_workflows) | **GET** /api/v1/workflows/{namespace} | [**pod_logs**](WorkflowServiceApi.md#pod_logs) | **GET** /api/v1/workflows/{namespace}/{name}/{podName}/log | DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. [**resubmit_workflow**](WorkflowServiceApi.md#resubmit_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resubmit | [**resume_workflow**](WorkflowServiceApi.md#resume_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/resume | [**retry_workflow**](WorkflowServiceApi.md#retry_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/retry | [**set_workflow**](WorkflowServiceApi.md#set_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/set | [**stop_workflow**](WorkflowServiceApi.md#stop_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/stop | [**submit_workflow**](WorkflowServiceApi.md#submit_workflow) | **POST** /api/v1/workflows/{namespace}/submit | [**suspend_workflow**](WorkflowServiceApi.md#suspend_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/suspend | [**terminate_workflow**](WorkflowServiceApi.md#terminate_workflow) | **PUT** /api/v1/workflows/{namespace}/{name}/terminate | [**watch_events**](WorkflowServiceApi.md#watch_events) | **GET** /api/v1/stream/events/{namespace} | [**watch_workflows**](WorkflowServiceApi.md#watch_workflows) | **GET** /api/v1/workflow-events/{namespace} | [**workflow_logs**](WorkflowServiceApi.md#workflow_logs) | **GET** /api/v1/workflows/{namespace}/{name}/log | # **create_workflow** > IoArgoprojWorkflowV1alpha1Workflow create_workflow(namespace, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_create_request import IoArgoprojWorkflowV1alpha1WorkflowCreateRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowCreateRequest( create_options=CreateOptions( dry_run=[ "dry_run_example", ], field_manager="field_manager_example", ), instance_id="instance_id_example", namespace="namespace_example", server_dry_run=True, 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", 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, 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, ), ), _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( 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", 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( 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_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, 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, ), ), _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( 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", 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( 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, 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", ), 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", 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="effect_example", key="key_example", operator="operator_example", 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", 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", ), 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", ], 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="type_example", ), ], phase="phase_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", ), 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_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef( cluster_scope=True, name="name_example", ), ), status=IoArgoprojWorkflowV1alpha1WorkflowStatus( 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, ), ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, 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, ), ), _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( 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", 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( 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_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, 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, ), ), _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( 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", 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( 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, 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", ), 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", 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="effect_example", key="key_example", operator="operator_example", 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", 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", ), 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", ], 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="type_example", ), ], phase="phase_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", ), 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_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", ), ], ), ), ), ), ) # IoArgoprojWorkflowV1alpha1WorkflowCreateRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.create_workflow(namespace, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->create_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowCreateRequest**](IoArgoprojWorkflowV1alpha1WorkflowCreateRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **delete_workflow** > bool, date, datetime, dict, float, int, list, str, none_type delete_workflow(namespace, name) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | delete_options_grace_period_seconds = "deleteOptions.gracePeriodSeconds_example" # str | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. (optional) delete_options_preconditions_uid = "deleteOptions.preconditions.uid_example" # str | Specifies the target UID. +optional. (optional) delete_options_preconditions_resource_version = "deleteOptions.preconditions.resourceVersion_example" # str | Specifies the target ResourceVersion +optional. (optional) delete_options_orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. (optional) delete_options_propagation_policy = "deleteOptions.propagationPolicy_example" # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional. (optional) delete_options_dry_run = [ "deleteOptions.dryRun_example", ] # [str] | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.delete_workflow(namespace, name) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->delete_workflow: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.delete_workflow(namespace, name, delete_options_grace_period_seconds=delete_options_grace_period_seconds, delete_options_preconditions_uid=delete_options_preconditions_uid, delete_options_preconditions_resource_version=delete_options_preconditions_resource_version, delete_options_orphan_dependents=delete_options_orphan_dependents, delete_options_propagation_policy=delete_options_propagation_policy, delete_options_dry_run=delete_options_dry_run) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->delete_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **delete_options_grace_period_seconds** | **str**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. +optional. | [optional] **delete_options_preconditions_uid** | **str**| Specifies the target UID. +optional. | [optional] **delete_options_preconditions_resource_version** | **str**| Specifies the target ResourceVersion +optional. | [optional] **delete_options_orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional. | [optional] **delete_options_propagation_policy** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +optional. | [optional] **delete_options_dry_run** | **[str]**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +optional. | [optional] ### Return type **bool, date, datetime, dict, float, int, list, str, none_type** ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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_workflow** > IoArgoprojWorkflowV1alpha1Workflow get_workflow(namespace, name) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | get_options_resource_version = "getOptions.resourceVersion_example" # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) fields = "fields_example" # str | Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.get_workflow(namespace, name) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->get_workflow: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.get_workflow(namespace, name, get_options_resource_version=get_options_resource_version, fields=fields) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->get_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **get_options_resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **fields** | **str**| Fields to be included or excluded in the response. e.g. \"spec,status.phase\", \"-status.nodes\". | [optional] ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **lint_workflow** > IoArgoprojWorkflowV1alpha1Workflow lint_workflow(namespace, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_lint_request import IoArgoprojWorkflowV1alpha1WorkflowLintRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowLintRequest( namespace="namespace_example", 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", 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, 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, ), ), _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( 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", 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( 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_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, 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, ), ), _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( 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", 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( 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, 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", ), 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", 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="effect_example", key="key_example", operator="operator_example", 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", 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", ), 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", ], 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="type_example", ), ], phase="phase_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", ), 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_template_ref=IoArgoprojWorkflowV1alpha1WorkflowTemplateRef( cluster_scope=True, name="name_example", ), ), status=IoArgoprojWorkflowV1alpha1WorkflowStatus( 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, ), ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, 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, ), ), _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( 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", 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( 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_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, 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, ), ), _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( 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", 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( 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, 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", ), 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", 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], ), weight=1, ), ], required_during_scheduling_ignored_during_execution=NodeSelector( node_selector_terms=[ NodeSelectorTerm( match_expressions=[ NodeSelectorRequirement( key="key_example", operator="operator_example", values=[ "values_example", ], ), ], match_fields=[ NodeSelectorRequirement( key="key_example", operator="operator_example", 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", }, ), 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", }, ), 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", }, ), 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", }, ), 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, ), ), gcs=IoArgoprojWorkflowV1alpha1GCSArtifact( bucket="bucket_example", key="key_example", service_account_key_secret=SecretKeySelector( key="key_example", name="name_example", optional=True, ), ), git=IoArgoprojWorkflowV1alpha1GitArtifact( 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", 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( 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="image_pull_policy_example", lifecycle=Lifecycle( post_start=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), ], 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", headers=[ IoArgoprojWorkflowV1alpha1HTTPHeader( name="name_example", value="value_example", value_from=IoArgoprojWorkflowV1alpha1HTTPHeaderSource( secret_key_ref=SecretKeySelector( key="key_example", name="name_example", optional=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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), timeout_seconds=1, ), name="name_example", ports=[ ContainerPort( container_port=1, host_ip="host_ip_example", host_port=1, name="name_example", protocol="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), source="source_example", startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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", ), 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", 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=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), pre_stop=Handler( _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="scheme_example", ), tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), ), ), liveness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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="protocol_example", ), ], readiness_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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", ), windows_options=WindowsSecurityContextOptions( gmsa_credential_spec="gmsa_credential_spec_example", gmsa_credential_spec_name="gmsa_credential_spec_name_example", run_as_user_name="run_as_user_name_example", ), ), startup_probe=Probe( _exec=ExecAction( command=[ "command_example", ], ), failure_threshold=1, http_get=HTTPGetAction( host="host_example", http_headers=[ HTTPHeader( name="name_example", value="value_example", ), ], path="path_example", port="port_example", scheme="scheme_example", ), initial_delay_seconds=1, period_seconds=1, success_threshold=1, tcp_socket=TCPSocketAction( host="host_example", port="port_example", ), 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, 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, ), ), _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( 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", 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( 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, 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, ), ), _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( 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", 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( 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", ), semaphore=IoArgoprojWorkflowV1alpha1SemaphoreRef( config_map_key_ref=ConfigMapKeySelector( key="key_example", name="name_example", optional=True, ), ), ), timeout="timeout_example", tolerations=[ Toleration( effect="effect_example", key="key_example", operator="operator_example", 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", ), 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="effect_example", key="key_example", operator="operator_example", 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", 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", ), 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", ], 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="type_example", ), ], phase="phase_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", ), 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_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", ), ], ), ), ), ), ) # IoArgoprojWorkflowV1alpha1WorkflowLintRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.lint_workflow(namespace, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->lint_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowLintRequest**](IoArgoprojWorkflowV1alpha1WorkflowLintRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **list_workflows** > IoArgoprojWorkflowV1alpha1WorkflowList list_workflows(namespace) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_list import IoArgoprojWorkflowV1alpha1WorkflowList 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | list_options_label_selector = "listOptions.labelSelector_example" # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) list_options_field_selector = "listOptions.fieldSelector_example" # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) list_options_watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) list_options_allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. (optional) list_options_resource_version = "listOptions.resourceVersion_example" # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_resource_version_match = "listOptions.resourceVersionMatch_example" # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_timeout_seconds = "listOptions.timeoutSeconds_example" # str | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) list_options_limit = "listOptions.limit_example" # str | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) list_options_continue = "listOptions.continue_example" # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) fields = "fields_example" # str | Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.list_workflows(namespace) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->list_workflows: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.list_workflows(namespace, list_options_label_selector=list_options_label_selector, list_options_field_selector=list_options_field_selector, list_options_watch=list_options_watch, list_options_allow_watch_bookmarks=list_options_allow_watch_bookmarks, list_options_resource_version=list_options_resource_version, list_options_resource_version_match=list_options_resource_version_match, list_options_timeout_seconds=list_options_timeout_seconds, list_options_limit=list_options_limit, list_options_continue=list_options_continue, fields=fields) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->list_workflows: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **list_options_label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | [optional] **list_options_field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | [optional] **list_options_watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | [optional] **list_options_allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. | [optional] **list_options_resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_timeout_seconds** | **str**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | [optional] **list_options_limit** | **str**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **list_options_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fields** | **str**| Fields to be included or excluded in the response. e.g. \"items.spec,items.status.phase\", \"-items.status.nodes\". | [optional] ### Return type [**IoArgoprojWorkflowV1alpha1WorkflowList**](IoArgoprojWorkflowV1alpha1WorkflowList.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **pod_logs** > StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry pod_logs(namespace, name, pod_name) DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.stream_result_of_io_argoproj_workflow_v1alpha1_log_entry import StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | pod_name = "podName_example" # str | log_options_container = "logOptions.container_example" # str | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) log_options_follow = True # bool | Follow the log stream of the pod. Defaults to false. +optional. (optional) log_options_previous = True # bool | Return previous terminated container logs. Defaults to false. +optional. (optional) log_options_since_seconds = "logOptions.sinceSeconds_example" # str | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. (optional) log_options_since_time_seconds = "logOptions.sinceTime.seconds_example" # str | Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. (optional) log_options_since_time_nanos = 1 # int | Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. (optional) log_options_timestamps = True # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) log_options_tail_lines = "logOptions.tailLines_example" # str | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. (optional) log_options_limit_bytes = "logOptions.limitBytes_example" # str | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. (optional) log_options_insecure_skip_tls_verify_backend = True # bool | insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. (optional) grep = "grep_example" # str | (optional) selector = "selector_example" # str | (optional) # example passing only required values which don't have defaults set try: # DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. api_response = api_instance.pod_logs(namespace, name, pod_name) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->pod_logs: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: # DEPRECATED: Cannot work via HTTP if podName is an empty string. Use WorkflowLogs. api_response = api_instance.pod_logs(namespace, name, pod_name, log_options_container=log_options_container, log_options_follow=log_options_follow, log_options_previous=log_options_previous, log_options_since_seconds=log_options_since_seconds, log_options_since_time_seconds=log_options_since_time_seconds, log_options_since_time_nanos=log_options_since_time_nanos, log_options_timestamps=log_options_timestamps, log_options_tail_lines=log_options_tail_lines, log_options_limit_bytes=log_options_limit_bytes, log_options_insecure_skip_tls_verify_backend=log_options_insecure_skip_tls_verify_backend, grep=grep, selector=selector) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->pod_logs: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **pod_name** | **str**| | **log_options_container** | **str**| The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | [optional] **log_options_follow** | **bool**| Follow the log stream of the pod. Defaults to false. +optional. | [optional] **log_options_previous** | **bool**| Return previous terminated container logs. Defaults to false. +optional. | [optional] **log_options_since_seconds** | **str**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. | [optional] **log_options_since_time_seconds** | **str**| Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. | [optional] **log_options_since_time_nanos** | **int**| Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. | [optional] **log_options_timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | [optional] **log_options_tail_lines** | **str**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. | [optional] **log_options_limit_bytes** | **str**| If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. | [optional] **log_options_insecure_skip_tls_verify_backend** | **bool**| insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. | [optional] **grep** | **str**| | [optional] **selector** | **str**| | [optional] ### Return type [**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry**](StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | **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) # **resubmit_workflow** > IoArgoprojWorkflowV1alpha1Workflow resubmit_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_resubmit_request import IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest( memoized=True, name="name_example", namespace="namespace_example", ) # IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.resubmit_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->resubmit_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest**](IoArgoprojWorkflowV1alpha1WorkflowResubmitRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **resume_workflow** > IoArgoprojWorkflowV1alpha1Workflow resume_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_resume_request import IoArgoprojWorkflowV1alpha1WorkflowResumeRequest 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowResumeRequest( name="name_example", namespace="namespace_example", node_field_selector="node_field_selector_example", ) # IoArgoprojWorkflowV1alpha1WorkflowResumeRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.resume_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->resume_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowResumeRequest**](IoArgoprojWorkflowV1alpha1WorkflowResumeRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **retry_workflow** > IoArgoprojWorkflowV1alpha1Workflow retry_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_retry_request import IoArgoprojWorkflowV1alpha1WorkflowRetryRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowRetryRequest( name="name_example", namespace="namespace_example", node_field_selector="node_field_selector_example", restart_successful=True, ) # IoArgoprojWorkflowV1alpha1WorkflowRetryRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.retry_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->retry_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowRetryRequest**](IoArgoprojWorkflowV1alpha1WorkflowRetryRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **set_workflow** > IoArgoprojWorkflowV1alpha1Workflow set_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_set_request import IoArgoprojWorkflowV1alpha1WorkflowSetRequest 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowSetRequest( message="message_example", name="name_example", namespace="namespace_example", node_field_selector="node_field_selector_example", output_parameters="output_parameters_example", phase="phase_example", ) # IoArgoprojWorkflowV1alpha1WorkflowSetRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.set_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->set_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowSetRequest**](IoArgoprojWorkflowV1alpha1WorkflowSetRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **stop_workflow** > IoArgoprojWorkflowV1alpha1Workflow stop_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_stop_request import IoArgoprojWorkflowV1alpha1WorkflowStopRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowStopRequest( message="message_example", name="name_example", namespace="namespace_example", node_field_selector="node_field_selector_example", ) # IoArgoprojWorkflowV1alpha1WorkflowStopRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.stop_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->stop_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowStopRequest**](IoArgoprojWorkflowV1alpha1WorkflowStopRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **submit_workflow** > IoArgoprojWorkflowV1alpha1Workflow submit_workflow(namespace, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_submit_request import IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest( namespace="namespace_example", resource_kind="resource_kind_example", resource_name="resource_name_example", submit_options=IoArgoprojWorkflowV1alpha1SubmitOpts( annotations="annotations_example", dry_run=True, entry_point="entry_point_example", generate_name="generate_name_example", labels="labels_example", name="name_example", owner_reference=OwnerReference( api_version="api_version_example", block_owner_deletion=True, controller=True, kind="kind_example", name="name_example", uid="uid_example", ), parameter_file="parameter_file_example", parameters=[ "parameters_example", ], pod_priority_class_name="pod_priority_class_name_example", priority=1, server_dry_run=True, service_account="service_account_example", ), ) # IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.submit_workflow(namespace, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->submit_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest**](IoArgoprojWorkflowV1alpha1WorkflowSubmitRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **suspend_workflow** > IoArgoprojWorkflowV1alpha1Workflow suspend_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_suspend_request import IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest( name="name_example", namespace="namespace_example", ) # IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.suspend_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->suspend_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest**](IoArgoprojWorkflowV1alpha1WorkflowSuspendRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **terminate_workflow** > IoArgoprojWorkflowV1alpha1Workflow terminate_workflow(namespace, name, body) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow import IoArgoprojWorkflowV1alpha1Workflow from argo_workflows.model.io_argoproj_workflow_v1alpha1_workflow_terminate_request import IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | body = IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest( name="name_example", namespace="namespace_example", ) # IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest | # example passing only required values which don't have defaults set try: api_response = api_instance.terminate_workflow(namespace, name, body) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->terminate_workflow: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **body** | [**IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest**](IoArgoprojWorkflowV1alpha1WorkflowTerminateRequest.md)| | ### Return type [**IoArgoprojWorkflowV1alpha1Workflow**](IoArgoprojWorkflowV1alpha1Workflow.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response. | - | **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) # **watch_events** > StreamResultOfEvent watch_events(namespace) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.stream_result_of_event import StreamResultOfEvent 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | list_options_label_selector = "listOptions.labelSelector_example" # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) list_options_field_selector = "listOptions.fieldSelector_example" # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) list_options_watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) list_options_allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. (optional) list_options_resource_version = "listOptions.resourceVersion_example" # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_resource_version_match = "listOptions.resourceVersionMatch_example" # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_timeout_seconds = "listOptions.timeoutSeconds_example" # str | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) list_options_limit = "listOptions.limit_example" # str | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) list_options_continue = "listOptions.continue_example" # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.watch_events(namespace) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->watch_events: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.watch_events(namespace, list_options_label_selector=list_options_label_selector, list_options_field_selector=list_options_field_selector, list_options_watch=list_options_watch, list_options_allow_watch_bookmarks=list_options_allow_watch_bookmarks, list_options_resource_version=list_options_resource_version, list_options_resource_version_match=list_options_resource_version_match, list_options_timeout_seconds=list_options_timeout_seconds, list_options_limit=list_options_limit, list_options_continue=list_options_continue) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->watch_events: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **list_options_label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | [optional] **list_options_field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | [optional] **list_options_watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | [optional] **list_options_allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. | [optional] **list_options_resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_timeout_seconds** | **str**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | [optional] **list_options_limit** | **str**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **list_options_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] ### Return type [**StreamResultOfEvent**](StreamResultOfEvent.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | **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) # **watch_workflows** > StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent watch_workflows(namespace) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.stream_result_of_io_argoproj_workflow_v1alpha1_workflow_watch_event import StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | list_options_label_selector = "listOptions.labelSelector_example" # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. (optional) list_options_field_selector = "listOptions.fieldSelector_example" # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. (optional) list_options_watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. (optional) list_options_allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. (optional) list_options_resource_version = "listOptions.resourceVersion_example" # str | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_resource_version_match = "listOptions.resourceVersionMatch_example" # str | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional (optional) list_options_timeout_seconds = "listOptions.timeoutSeconds_example" # str | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. (optional) list_options_limit = "listOptions.limit_example" # str | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. (optional) list_options_continue = "listOptions.continue_example" # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) fields = "fields_example" # str | (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.watch_workflows(namespace) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->watch_workflows: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.watch_workflows(namespace, list_options_label_selector=list_options_label_selector, list_options_field_selector=list_options_field_selector, list_options_watch=list_options_watch, list_options_allow_watch_bookmarks=list_options_allow_watch_bookmarks, list_options_resource_version=list_options_resource_version, list_options_resource_version_match=list_options_resource_version_match, list_options_timeout_seconds=list_options_timeout_seconds, list_options_limit=list_options_limit, list_options_continue=list_options_continue, fields=fields) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->watch_workflows: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **list_options_label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. +optional. | [optional] **list_options_field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. +optional. | [optional] **list_options_watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +optional. | [optional] **list_options_allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. +optional. | [optional] **list_options_resource_version** | **str**| resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_resource_version_match** | **str**| resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset +optional | [optional] **list_options_timeout_seconds** | **str**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. +optional. | [optional] **list_options_limit** | **str**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **list_options_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **fields** | **str**| | [optional] ### Return type [**StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent**](StreamResultOfIoArgoprojWorkflowV1alpha1WorkflowWatchEvent.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | **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) # **workflow_logs** > StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry workflow_logs(namespace, name) ### Example ```python import time import argo_workflows from argo_workflows.api import workflow_service_api from argo_workflows.model.grpc_gateway_runtime_error import GrpcGatewayRuntimeError from argo_workflows.model.stream_result_of_io_argoproj_workflow_v1alpha1_log_entry import StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry 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" ) # Enter a context with an instance of the API client with argo_workflows.ApiClient() as api_client: # Create an instance of the API class api_instance = workflow_service_api.WorkflowServiceApi(api_client) namespace = "namespace_example" # str | name = "name_example" # str | pod_name = "podName_example" # str | (optional) log_options_container = "logOptions.container_example" # str | The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. (optional) log_options_follow = True # bool | Follow the log stream of the pod. Defaults to false. +optional. (optional) log_options_previous = True # bool | Return previous terminated container logs. Defaults to false. +optional. (optional) log_options_since_seconds = "logOptions.sinceSeconds_example" # str | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. (optional) log_options_since_time_seconds = "logOptions.sinceTime.seconds_example" # str | Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. (optional) log_options_since_time_nanos = 1 # int | Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. (optional) log_options_timestamps = True # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. (optional) log_options_tail_lines = "logOptions.tailLines_example" # str | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. (optional) log_options_limit_bytes = "logOptions.limitBytes_example" # str | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. (optional) log_options_insecure_skip_tls_verify_backend = True # bool | insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. (optional) grep = "grep_example" # str | (optional) selector = "selector_example" # str | (optional) # example passing only required values which don't have defaults set try: api_response = api_instance.workflow_logs(namespace, name) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->workflow_logs: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: api_response = api_instance.workflow_logs(namespace, name, pod_name=pod_name, log_options_container=log_options_container, log_options_follow=log_options_follow, log_options_previous=log_options_previous, log_options_since_seconds=log_options_since_seconds, log_options_since_time_seconds=log_options_since_time_seconds, log_options_since_time_nanos=log_options_since_time_nanos, log_options_timestamps=log_options_timestamps, log_options_tail_lines=log_options_tail_lines, log_options_limit_bytes=log_options_limit_bytes, log_options_insecure_skip_tls_verify_backend=log_options_insecure_skip_tls_verify_backend, grep=grep, selector=selector) pprint(api_response) except argo_workflows.ApiException as e: print("Exception when calling WorkflowServiceApi->workflow_logs: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| | **name** | **str**| | **pod_name** | **str**| | [optional] **log_options_container** | **str**| The container for which to stream logs. Defaults to only container if there is one container in the pod. +optional. | [optional] **log_options_follow** | **bool**| Follow the log stream of the pod. Defaults to false. +optional. | [optional] **log_options_previous** | **bool**| Return previous terminated container logs. Defaults to false. +optional. | [optional] **log_options_since_seconds** | **str**| A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. +optional. | [optional] **log_options_since_time_seconds** | **str**| Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. | [optional] **log_options_since_time_nanos** | **int**| Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context. | [optional] **log_options_timestamps** | **bool**| If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. +optional. | [optional] **log_options_tail_lines** | **str**| If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime +optional. | [optional] **log_options_limit_bytes** | **str**| If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. +optional. | [optional] **log_options_insecure_skip_tls_verify_backend** | **bool**| insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). +optional. | [optional] **grep** | **str**| | [optional] **selector** | **str**| | [optional] ### Return type [**StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry**](StreamResultOfIoArgoprojWorkflowV1alpha1LogEntry.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | A successful response.(streaming responses) | - | **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)