workflow.v1alpha1.resourceTemplate
"ResourceTemplate is a template subtype to manipulate kubernetes resources"
Index
fn withAction(action)
fn withFailureCondition(failureCondition)
fn withFlags(flags)
fn withFlagsMixin(flags)
fn withManifest(manifest)
fn withMergeStrategy(mergeStrategy)
fn withSetOwnerReference(setOwnerReference)
fn withSuccessCondition(successCondition)
obj manifestFrom
obj manifestFrom.artifact
fn withArchiveLogs(archiveLogs)
fn withDeleted(deleted)
fn withFrom(from)
fn withFromExpression(fromExpression)
fn withGlobalName(globalName)
fn withMode(mode)
fn withName(name)
fn withOptional(optional)
fn withPath(path)
fn withRecurseMode(recurseMode)
fn withSubPath(subPath)
obj manifestFrom.artifact.archive
obj manifestFrom.artifact.artifactGC
obj manifestFrom.artifact.artifactory
obj manifestFrom.artifact.azure
obj manifestFrom.artifact.gcs
obj manifestFrom.artifact.git
fn withBranch(branch)
fn withDepth(depth)
fn withDisableSubmodules(disableSubmodules)
fn withFetch(fetch)
fn withFetchMixin(fetch)
fn withInsecureIgnoreHostKey(insecureIgnoreHostKey)
fn withRepo(repo)
fn withRevision(revision)
fn withSingleBranch(singleBranch)
obj manifestFrom.artifact.git.passwordSecret
obj manifestFrom.artifact.git.sshPrivateKeySecret
obj manifestFrom.artifact.git.usernameSecret
obj manifestFrom.artifact.hdfs
fn withAddresses(addresses)
fn withAddressesMixin(addresses)
fn withForce(force)
fn withHdfsUser(hdfsUser)
fn withKrbRealm(krbRealm)
fn withKrbServicePrincipalName(krbServicePrincipalName)
fn withKrbUsername(krbUsername)
fn withPath(path)
obj manifestFrom.artifact.hdfs.krbCCacheSecret
obj manifestFrom.artifact.hdfs.krbConfigConfigMap
obj manifestFrom.artifact.hdfs.krbKeytabSecret
obj manifestFrom.artifact.http
fn withHeaders(headers)
fn withHeadersMixin(headers)
fn withUrl(url)
obj manifestFrom.artifact.http.auth
obj manifestFrom.artifact.http.auth.basicAuth
obj manifestFrom.artifact.http.auth.clientCert
obj manifestFrom.artifact.http.auth.oauth2
fn withEndpointParams(endpointParams)
fn withEndpointParamsMixin(endpointParams)
fn withScopes(scopes)
fn withScopesMixin(scopes)
obj manifestFrom.artifact.http.auth.oauth2.clientIDSecret
obj manifestFrom.artifact.http.auth.oauth2.clientSecretSecret
obj manifestFrom.artifact.http.auth.oauth2.tokenURLSecret
obj manifestFrom.artifact.oss
fn withBucket(bucket)
fn withCreateBucketIfNotPresent(createBucketIfNotPresent)
fn withEndpoint(endpoint)
fn withKey(key)
fn withSecurityToken(securityToken)
fn withUseSDKCreds(useSDKCreds)
obj manifestFrom.artifact.oss.accessKeySecret
obj manifestFrom.artifact.oss.lifecycleRule
obj manifestFrom.artifact.oss.secretKeySecret
obj manifestFrom.artifact.raw
obj manifestFrom.artifact.s3
fn withBucket(bucket)
fn withEndpoint(endpoint)
fn withInsecure(insecure)
fn withKey(key)
fn withRegion(region)
fn withRoleARN(roleARN)
fn withUseSDKCreds(useSDKCreds)
obj manifestFrom.artifact.s3.accessKeySecret
obj manifestFrom.artifact.s3.caSecret
obj manifestFrom.artifact.s3.createBucketIfNotPresent
obj manifestFrom.artifact.s3.encryptionOptions
obj manifestFrom.artifact.s3.secretKeySecret
Fields
fn withAction
withAction(action)
"Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch"
fn withFailureCondition
withFailureCondition(failureCondition)
"FailureCondition is a label selector expression which describes the conditions of the k8s resource in which the step was considered failed"
fn withFlags
withFlags(flags)
"Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [\n\t\"--validate=false\" # disable resource validation\n]"
fn withFlagsMixin
withFlagsMixin(flags)
"Flags is a set of additional options passed to kubectl before submitting a resource I.e. to disable resource validation: flags: [\n\t\"--validate=false\" # disable resource validation\n]"
Note: This function appends passed data to existing values
fn withManifest
withManifest(manifest)
"Manifest contains the kubernetes manifest"
fn withMergeStrategy
withMergeStrategy(mergeStrategy)
"MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json"
fn withSetOwnerReference
withSetOwnerReference(setOwnerReference)
"SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource."
fn withSuccessCondition
withSuccessCondition(successCondition)
"SuccessCondition is a label selector expression which describes the conditions of the k8s resource in which it is acceptable to proceed to the following step"
obj manifestFrom
obj manifestFrom.artifact
"Artifact indicates an artifact to place at a specified path"
fn manifestFrom.artifact.withArchiveLogs
withArchiveLogs(archiveLogs)
"ArchiveLogs indicates if the container logs should be archived"
fn manifestFrom.artifact.withDeleted
withDeleted(deleted)
"Has this been deleted?"
fn manifestFrom.artifact.withFrom
withFrom(from)
"From allows an artifact to reference an artifact from a previous step"
fn manifestFrom.artifact.withFromExpression
withFromExpression(fromExpression)
"FromExpression, if defined, is evaluated to specify the value for the artifact"
fn manifestFrom.artifact.withGlobalName
withGlobalName(globalName)
"GlobalName exports an output artifact to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts"
fn manifestFrom.artifact.withMode
withMode(mode)
"mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts."
fn manifestFrom.artifact.withName
withName(name)
"name of the artifact. must be unique within a template's inputs/outputs."
fn manifestFrom.artifact.withOptional
withOptional(optional)
"Make Artifacts optional, if Artifacts doesn't generate or exist"
fn manifestFrom.artifact.withPath
withPath(path)
"Path is the container path to the artifact"
fn manifestFrom.artifact.withRecurseMode
withRecurseMode(recurseMode)
"If mode is set, apply the permission recursively into the artifact if it is a folder"
fn manifestFrom.artifact.withSubPath
withSubPath(subPath)
"SubPath allows an artifact to be sourced from a subpath within the specified source"
obj manifestFrom.artifact.archive
"ArchiveStrategy describes how to archive files/directory when saving artifacts"
fn manifestFrom.artifact.archive.withNone
withNone(none)
"NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately."
fn manifestFrom.artifact.archive.withNoneMixin
withNoneMixin(none)
"NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately."
Note: This function appends passed data to existing values
fn manifestFrom.artifact.archive.withZip
withZip(zip)
"ZipStrategy will unzip zipped input artifacts"
fn manifestFrom.artifact.archive.withZipMixin
withZipMixin(zip)
"ZipStrategy will unzip zipped input artifacts"
Note: This function appends passed data to existing values
obj manifestFrom.artifact.archive.tar
"TarStrategy will tar and gzip the file or directory when saving"
fn manifestFrom.artifact.archive.tar.withCompressionLevel
withCompressionLevel(compressionLevel)
"CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression."
obj manifestFrom.artifact.artifactGC
"ArtifactGC describes how to delete artifacts from completed Workflows - this is embedded into the WorkflowLevelArtifactGC, and also used for individual Artifacts to override that as needed"
fn manifestFrom.artifact.artifactGC.withServiceAccountName
withServiceAccountName(serviceAccountName)
"ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion"
fn manifestFrom.artifact.artifactGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use."
obj manifestFrom.artifact.artifactGC.podMetadata
"Pod metdata"
fn manifestFrom.artifact.artifactGC.podMetadata.withAnnotations
withAnnotations(annotations)
fn manifestFrom.artifact.artifactGC.podMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn manifestFrom.artifact.artifactGC.podMetadata.withLabels
withLabels(labels)
fn manifestFrom.artifact.artifactGC.podMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj manifestFrom.artifact.artifactory
"ArtifactoryArtifact is the location of an artifactory artifact"
fn manifestFrom.artifact.artifactory.withUrl
withUrl(url)
"URL of the artifact"
obj manifestFrom.artifact.artifactory.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.artifactory.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.artifactory.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.artifactory.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.artifactory.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.artifactory.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.artifactory.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.artifactory.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.azure
"AzureArtifact is the location of a an Azure Storage artifact"
fn manifestFrom.artifact.azure.withBlob
withBlob(blob)
"Blob is the blob name (i.e., path) in the container where the artifact resides"
fn manifestFrom.artifact.azure.withContainer
withContainer(container)
"Container is the container where resources will be stored"
fn manifestFrom.artifact.azure.withEndpoint
withEndpoint(endpoint)
"Endpoint is the service url associated with an account. It is most likely \"https://
fn manifestFrom.artifact.azure.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj manifestFrom.artifact.azure.accountKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.azure.accountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.azure.accountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.azure.accountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.gcs
"GCSArtifact is the location of a GCS artifact"
fn manifestFrom.artifact.gcs.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn manifestFrom.artifact.gcs.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
obj manifestFrom.artifact.gcs.serviceAccountKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.gcs.serviceAccountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.gcs.serviceAccountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.gcs.serviceAccountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.git
"GitArtifact is the location of an git artifact"
fn manifestFrom.artifact.git.withBranch
withBranch(branch)
"Branch is the branch to fetch when SingleBranch
is enabled"
fn manifestFrom.artifact.git.withDepth
withDepth(depth)
"Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip"
fn manifestFrom.artifact.git.withDisableSubmodules
withDisableSubmodules(disableSubmodules)
"DisableSubmodules disables submodules during git clone"
fn manifestFrom.artifact.git.withFetch
withFetch(fetch)
"Fetch specifies a number of refs that should be fetched before checkout"
fn manifestFrom.artifact.git.withFetchMixin
withFetchMixin(fetch)
"Fetch specifies a number of refs that should be fetched before checkout"
Note: This function appends passed data to existing values
fn manifestFrom.artifact.git.withInsecureIgnoreHostKey
withInsecureIgnoreHostKey(insecureIgnoreHostKey)
"InsecureIgnoreHostKey disables SSH strict host key checking during git clone"
fn manifestFrom.artifact.git.withRepo
withRepo(repo)
"Repo is the git repository"
fn manifestFrom.artifact.git.withRevision
withRevision(revision)
"Revision is the git commit, tag, branch to checkout"
fn manifestFrom.artifact.git.withSingleBranch
withSingleBranch(singleBranch)
"SingleBranch enables single branch clone, using the branch
parameter"
obj manifestFrom.artifact.git.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.git.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.git.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.git.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.git.sshPrivateKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.git.sshPrivateKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.git.sshPrivateKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.git.sshPrivateKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.git.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.git.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.git.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.git.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.hdfs
"HDFSArtifact is the location of an HDFS artifact"
fn manifestFrom.artifact.hdfs.withAddresses
withAddresses(addresses)
"Addresses is accessible addresses of HDFS name nodes"
fn manifestFrom.artifact.hdfs.withAddressesMixin
withAddressesMixin(addresses)
"Addresses is accessible addresses of HDFS name nodes"
Note: This function appends passed data to existing values
fn manifestFrom.artifact.hdfs.withForce
withForce(force)
"Force copies a file forcibly even if it exists"
fn manifestFrom.artifact.hdfs.withHdfsUser
withHdfsUser(hdfsUser)
"HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used."
fn manifestFrom.artifact.hdfs.withKrbRealm
withKrbRealm(krbRealm)
"KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used."
fn manifestFrom.artifact.hdfs.withKrbServicePrincipalName
withKrbServicePrincipalName(krbServicePrincipalName)
"KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used."
fn manifestFrom.artifact.hdfs.withKrbUsername
withKrbUsername(krbUsername)
"KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used."
fn manifestFrom.artifact.hdfs.withPath
withPath(path)
"Path is a file path in HDFS"
obj manifestFrom.artifact.hdfs.krbCCacheSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.hdfs.krbCCacheSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.hdfs.krbCCacheSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.hdfs.krbCCacheSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.hdfs.krbConfigConfigMap
"Selects a key from a ConfigMap."
fn manifestFrom.artifact.hdfs.krbConfigConfigMap.withKey
withKey(key)
"The key to select."
fn manifestFrom.artifact.hdfs.krbConfigConfigMap.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.hdfs.krbConfigConfigMap.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj manifestFrom.artifact.hdfs.krbKeytabSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.hdfs.krbKeytabSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.hdfs.krbKeytabSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.hdfs.krbKeytabSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http
"HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container"
fn manifestFrom.artifact.http.withHeaders
withHeaders(headers)
"Headers are an optional list of headers to send with HTTP requests for artifacts"
fn manifestFrom.artifact.http.withHeadersMixin
withHeadersMixin(headers)
"Headers are an optional list of headers to send with HTTP requests for artifacts"
Note: This function appends passed data to existing values
fn manifestFrom.artifact.http.withUrl
withUrl(url)
"URL of the artifact"
obj manifestFrom.artifact.http.auth
obj manifestFrom.artifact.http.auth.basicAuth
"BasicAuth describes the secret selectors required for basic authentication"
obj manifestFrom.artifact.http.auth.basicAuth.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.basicAuth.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.basicAuth.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.basicAuth.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.basicAuth.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.basicAuth.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.basicAuth.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.basicAuth.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.clientCert
"ClientCertAuth holds necessary information for client authentication via certificates"
obj manifestFrom.artifact.http.auth.clientCert.clientCertSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.clientCert.clientCertSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.clientCert.clientCertSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.clientCert.clientCertSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.clientCert.clientKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.clientCert.clientKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.clientCert.clientKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.clientCert.clientKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.oauth2
"OAuth2Auth holds all information for client authentication via OAuth2 tokens"
fn manifestFrom.artifact.http.auth.oauth2.withEndpointParams
withEndpointParams(endpointParams)
fn manifestFrom.artifact.http.auth.oauth2.withEndpointParamsMixin
withEndpointParamsMixin(endpointParams)
Note: This function appends passed data to existing values
fn manifestFrom.artifact.http.auth.oauth2.withScopes
withScopes(scopes)
fn manifestFrom.artifact.http.auth.oauth2.withScopesMixin
withScopesMixin(scopes)
Note: This function appends passed data to existing values
obj manifestFrom.artifact.http.auth.oauth2.clientIDSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.oauth2.clientIDSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.oauth2.clientIDSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.oauth2.clientIDSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.oauth2.clientSecretSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.oauth2.clientSecretSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.oauth2.clientSecretSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.oauth2.clientSecretSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.http.auth.oauth2.tokenURLSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.http.auth.oauth2.tokenURLSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.http.auth.oauth2.tokenURLSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.http.auth.oauth2.tokenURLSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.oss
"OSSArtifact is the location of an Alibaba Cloud OSS artifact"
fn manifestFrom.artifact.oss.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn manifestFrom.artifact.oss.withCreateBucketIfNotPresent
withCreateBucketIfNotPresent(createBucketIfNotPresent)
"CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist"
fn manifestFrom.artifact.oss.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn manifestFrom.artifact.oss.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
fn manifestFrom.artifact.oss.withSecurityToken
withSecurityToken(securityToken)
"SecurityToken is the user's temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm"
fn manifestFrom.artifact.oss.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj manifestFrom.artifact.oss.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.oss.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.oss.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.oss.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.oss.lifecycleRule
"OSSLifecycleRule specifies how to manage bucket's lifecycle"
fn manifestFrom.artifact.oss.lifecycleRule.withMarkDeletionAfterDays
withMarkDeletionAfterDays(markDeletionAfterDays)
"MarkDeletionAfterDays is the number of days before we delete objects in the bucket"
fn manifestFrom.artifact.oss.lifecycleRule.withMarkInfrequentAccessAfterDays
withMarkInfrequentAccessAfterDays(markInfrequentAccessAfterDays)
"MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type"
obj manifestFrom.artifact.oss.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.oss.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.oss.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.oss.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.raw
"RawArtifact allows raw string content to be placed as an artifact in a container"
fn manifestFrom.artifact.raw.withData
withData(data)
"Data is the string contents of the artifact"
obj manifestFrom.artifact.s3
"S3Artifact is the location of an S3 artifact"
fn manifestFrom.artifact.s3.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn manifestFrom.artifact.s3.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn manifestFrom.artifact.s3.withInsecure
withInsecure(insecure)
"Insecure will connect to the service with TLS"
fn manifestFrom.artifact.s3.withKey
withKey(key)
"Key is the key in the bucket where the artifact resides"
fn manifestFrom.artifact.s3.withRegion
withRegion(region)
"Region contains the optional bucket region"
fn manifestFrom.artifact.s3.withRoleARN
withRoleARN(roleARN)
"RoleARN is the Amazon Resource Name (ARN) of the role to assume."
fn manifestFrom.artifact.s3.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj manifestFrom.artifact.s3.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.s3.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.s3.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.s3.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.s3.caSecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.s3.caSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.s3.caSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.s3.caSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.s3.createBucketIfNotPresent
"CreateS3BucketOptions options used to determine automatic automatic bucket-creation process"
fn manifestFrom.artifact.s3.createBucketIfNotPresent.withObjectLocking
withObjectLocking(objectLocking)
"ObjectLocking Enable object locking"
obj manifestFrom.artifact.s3.encryptionOptions
"S3EncryptionOptions used to determine encryption options during s3 operations"
fn manifestFrom.artifact.s3.encryptionOptions.withEnableEncryption
withEnableEncryption(enableEncryption)
"EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used"
fn manifestFrom.artifact.s3.encryptionOptions.withKmsEncryptionContext
withKmsEncryptionContext(kmsEncryptionContext)
"KmsEncryptionContext is a json blob that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context for more information"
fn manifestFrom.artifact.s3.encryptionOptions.withKmsKeyId
withKmsKeyId(kmsKeyId)
"KMSKeyId tells the driver to encrypt the object using the specified KMS Key."
obj manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj manifestFrom.artifact.s3.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn manifestFrom.artifact.s3.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn manifestFrom.artifact.s3.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn manifestFrom.artifact.s3.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"