workflow.v1alpha1.createCronWorkflowRequest
Index
fn withNamespace(namespace)
obj createOptions
obj cronWorkflow
fn withApiVersion(apiVersion)
fn withKind(kind)
obj cronWorkflow.metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withManagedFields(managedFields)
fn withManagedFieldsMixin(managedFields)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj cronWorkflow.spec
fn withConcurrencyPolicy(concurrencyPolicy)
fn withFailedJobsHistoryLimit(failedJobsHistoryLimit)
fn withSchedule(schedule)
fn withStartingDeadlineSeconds(startingDeadlineSeconds)
fn withSuccessfulJobsHistoryLimit(successfulJobsHistoryLimit)
fn withSuspend(suspend)
fn withTimezone(timezone)
obj cronWorkflow.spec.workflowMetadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withManagedFields(managedFields)
fn withManagedFieldsMixin(managedFields)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj cronWorkflow.spec.workflowSpec
fn withActiveDeadlineSeconds(activeDeadlineSeconds)
fn withArchiveLogs(archiveLogs)
fn withAutomountServiceAccountToken(automountServiceAccountToken)
fn withDnsPolicy(dnsPolicy)
fn withEntrypoint(entrypoint)
fn withHooks(hooks)
fn withHooksMixin(hooks)
fn withHostAliases(hostAliases)
fn withHostAliasesMixin(hostAliases)
fn withHostNetwork(hostNetwork)
fn withImagePullSecrets(imagePullSecrets)
fn withImagePullSecretsMixin(imagePullSecrets)
fn withNodeSelector(nodeSelector)
fn withNodeSelectorMixin(nodeSelector)
fn withOnExit(onExit)
fn withParallelism(parallelism)
fn withPodPriority(podPriority)
fn withPodPriorityClassName(podPriorityClassName)
fn withPodSpecPatch(podSpecPatch)
fn withPriority(priority)
fn withSchedulerName(schedulerName)
fn withServiceAccountName(serviceAccountName)
fn withShutdown(shutdown)
fn withSuspend(suspend)
fn withTemplates(templates)
fn withTemplatesMixin(templates)
fn withTolerations(tolerations)
fn withTolerationsMixin(tolerations)
fn withVolumeClaimTemplates(volumeClaimTemplates)
fn withVolumeClaimTemplatesMixin(volumeClaimTemplates)
fn withVolumes(volumes)
fn withVolumesMixin(volumes)
obj cronWorkflow.spec.workflowSpec.affinity
obj cronWorkflow.spec.workflowSpec.affinity.nodeAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
obj cronWorkflow.spec.workflowSpec.affinity.podAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.arguments
obj cronWorkflow.spec.workflowSpec.artifactGC
obj cronWorkflow.spec.workflowSpec.artifactRepositoryRef
obj cronWorkflow.spec.workflowSpec.dnsConfig
obj cronWorkflow.spec.workflowSpec.executor
obj cronWorkflow.spec.workflowSpec.metrics
obj cronWorkflow.spec.workflowSpec.podDisruptionBudget
obj cronWorkflow.spec.workflowSpec.podGC
obj cronWorkflow.spec.workflowSpec.podMetadata
obj cronWorkflow.spec.workflowSpec.retryStrategy
obj cronWorkflow.spec.workflowSpec.securityContext
fn withFsGroup(fsGroup)
fn withFsGroupChangePolicy(fsGroupChangePolicy)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
fn withSupplementalGroups(supplementalGroups)
fn withSupplementalGroupsMixin(supplementalGroups)
fn withSysctls(sysctls)
fn withSysctlsMixin(sysctls)
obj cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions
obj cronWorkflow.spec.workflowSpec.securityContext.seccompProfile
obj cronWorkflow.spec.workflowSpec.securityContext.windowsOptions
obj cronWorkflow.spec.workflowSpec.synchronization
obj cronWorkflow.spec.workflowSpec.templateDefaults
fn withActiveDeadlineSeconds(activeDeadlineSeconds)
fn withAutomountServiceAccountToken(automountServiceAccountToken)
fn withDaemon(daemon)
fn withFailFast(failFast)
fn withHostAliases(hostAliases)
fn withHostAliasesMixin(hostAliases)
fn withInitContainers(initContainers)
fn withInitContainersMixin(initContainers)
fn withName(name)
fn withNodeSelector(nodeSelector)
fn withNodeSelectorMixin(nodeSelector)
fn withParallelism(parallelism)
fn withPlugin(plugin)
fn withPluginMixin(plugin)
fn withPodSpecPatch(podSpecPatch)
fn withPriority(priority)
fn withPriorityClassName(priorityClassName)
fn withSchedulerName(schedulerName)
fn withServiceAccountName(serviceAccountName)
fn withSidecars(sidecars)
fn withSidecarsMixin(sidecars)
fn withSteps(steps)
fn withStepsMixin(steps)
fn withTimeout(timeout)
fn withTolerations(tolerations)
fn withTolerationsMixin(tolerations)
fn withVolumes(volumes)
fn withVolumesMixin(volumes)
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
fn withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation
fn withArchiveLogs(archiveLogs)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.passwordSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.sshPrivateKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.usernameSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbCCacheSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbConfigConfigMap
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbKeytabSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http
fn withHeaders(headers)
fn withHeadersMixin(headers)
fn withUrl(url)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2
fn withEndpointParams(endpointParams)
fn withEndpointParamsMixin(endpointParams)
fn withScopes(scopes)
fn withScopesMixin(scopes)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientIDSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientSecretSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.tokenURLSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss
fn withBucket(bucket)
fn withCreateBucketIfNotPresent(createBucketIfNotPresent)
fn withEndpoint(endpoint)
fn withKey(key)
fn withSecurityToken(securityToken)
fn withUseSDKCreds(useSDKCreds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.lifecycleRule
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.raw
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3
fn withBucket(bucket)
fn withEndpoint(endpoint)
fn withInsecure(insecure)
fn withKey(key)
fn withRegion(region)
fn withRoleARN(roleARN)
fn withUseSDKCreds(useSDKCreds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.caSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.createBucketIfNotPresent
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.container
fn withArgs(args)
fn withArgsMixin(args)
fn withCommand(command)
fn withCommandMixin(command)
fn withEnv(env)
fn withEnvFrom(envFrom)
fn withEnvFromMixin(envFrom)
fn withEnvMixin(env)
fn withImage(image)
fn withImagePullPolicy(imagePullPolicy)
fn withName(name)
fn withPorts(ports)
fn withPortsMixin(ports)
fn withStdin(stdin)
fn withStdinOnce(stdinOnce)
fn withTerminationMessagePath(terminationMessagePath)
fn withTerminationMessagePolicy(terminationMessagePolicy)
fn withTty(tty)
fn withVolumeDevices(volumeDevices)
fn withVolumeDevicesMixin(volumeDevices)
fn withVolumeMounts(volumeMounts)
fn withVolumeMountsMixin(volumeMounts)
fn withWorkingDir(workingDir)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.resources
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext
fn withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn withPrivileged(privileged)
fn withProcMount(procMount)
fn withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seccompProfile
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.containerSet
obj cronWorkflow.spec.workflowSpec.templateDefaults.dag
obj cronWorkflow.spec.workflowSpec.templateDefaults.data
fn withTransformation(transformation)
fn withTransformationMixin(transformation)
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths
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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.passwordSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.sshPrivateKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.usernameSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbCCacheSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbConfigConfigMap
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbKeytabSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http
fn withHeaders(headers)
fn withHeadersMixin(headers)
fn withUrl(url)
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2
fn withEndpointParams(endpointParams)
fn withEndpointParamsMixin(endpointParams)
fn withScopes(scopes)
fn withScopesMixin(scopes)
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientIDSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientSecretSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.tokenURLSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss
fn withBucket(bucket)
fn withCreateBucketIfNotPresent(createBucketIfNotPresent)
fn withEndpoint(endpoint)
fn withKey(key)
fn withSecurityToken(securityToken)
fn withUseSDKCreds(useSDKCreds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.lifecycleRule
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.raw
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3
fn withBucket(bucket)
fn withEndpoint(endpoint)
fn withInsecure(insecure)
fn withKey(key)
fn withRegion(region)
fn withRoleARN(roleARN)
fn withUseSDKCreds(useSDKCreds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.caSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.createBucketIfNotPresent
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.executor
obj cronWorkflow.spec.workflowSpec.templateDefaults.http
fn withBody(body)
fn withHeaders(headers)
fn withHeadersMixin(headers)
fn withInsecureSkipVerify(insecureSkipVerify)
fn withMethod(method)
fn withSuccessCondition(successCondition)
fn withTimeoutSeconds(timeoutSeconds)
fn withUrl(url)
obj cronWorkflow.spec.workflowSpec.templateDefaults.http.bodyFrom
obj cronWorkflow.spec.workflowSpec.templateDefaults.inputs
obj cronWorkflow.spec.workflowSpec.templateDefaults.memoize
obj cronWorkflow.spec.workflowSpec.templateDefaults.metadata
obj cronWorkflow.spec.workflowSpec.templateDefaults.metrics
obj cronWorkflow.spec.workflowSpec.templateDefaults.outputs
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource
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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.passwordSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.sshPrivateKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.usernameSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbCCacheSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbConfigConfigMap
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbKeytabSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http
fn withHeaders(headers)
fn withHeadersMixin(headers)
fn withUrl(url)
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2
fn withEndpointParams(endpointParams)
fn withEndpointParamsMixin(endpointParams)
fn withScopes(scopes)
fn withScopesMixin(scopes)
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientIDSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientSecretSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.tokenURLSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss
fn withBucket(bucket)
fn withCreateBucketIfNotPresent(createBucketIfNotPresent)
fn withEndpoint(endpoint)
fn withKey(key)
fn withSecurityToken(securityToken)
fn withUseSDKCreds(useSDKCreds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.lifecycleRule
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.raw
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.accessKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.caSecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.createBucketIfNotPresent
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.secretKeySecret
obj cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy
obj cronWorkflow.spec.workflowSpec.templateDefaults.script
fn withArgs(args)
fn withArgsMixin(args)
fn withCommand(command)
fn withCommandMixin(command)
fn withEnv(env)
fn withEnvFrom(envFrom)
fn withEnvFromMixin(envFrom)
fn withEnvMixin(env)
fn withImage(image)
fn withImagePullPolicy(imagePullPolicy)
fn withName(name)
fn withPorts(ports)
fn withPortsMixin(ports)
fn withSource(source)
fn withStdin(stdin)
fn withStdinOnce(stdinOnce)
fn withTerminationMessagePath(terminationMessagePath)
fn withTerminationMessagePolicy(terminationMessagePolicy)
fn withTty(tty)
fn withVolumeDevices(volumeDevices)
fn withVolumeDevicesMixin(volumeDevices)
fn withVolumeMounts(volumeMounts)
fn withVolumeMountsMixin(volumeMounts)
fn withWorkingDir(workingDir)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.resources
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext
fn withAllowPrivilegeEscalation(allowPrivilegeEscalation)
fn withPrivileged(privileged)
fn withProcMount(procMount)
fn withReadOnlyRootFilesystem(readOnlyRootFilesystem)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seccompProfile
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe
fn withFailureThreshold(failureThreshold)
fn withInitialDelaySeconds(initialDelaySeconds)
fn withPeriodSeconds(periodSeconds)
fn withSuccessThreshold(successThreshold)
fn withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
fn withTimeoutSeconds(timeoutSeconds)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.exec
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.grpc
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.tcpSocket
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext
fn withFsGroup(fsGroup)
fn withFsGroupChangePolicy(fsGroupChangePolicy)
fn withRunAsGroup(runAsGroup)
fn withRunAsNonRoot(runAsNonRoot)
fn withRunAsUser(runAsUser)
fn withSupplementalGroups(supplementalGroups)
fn withSupplementalGroupsMixin(supplementalGroups)
fn withSysctls(sysctls)
fn withSysctlsMixin(sysctls)
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seccompProfile
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions
obj cronWorkflow.spec.workflowSpec.templateDefaults.suspend
obj cronWorkflow.spec.workflowSpec.templateDefaults.synchronization
obj cronWorkflow.spec.workflowSpec.ttlStrategy
obj cronWorkflow.spec.workflowSpec.volumeClaimGC
obj cronWorkflow.spec.workflowSpec.workflowMetadata
obj cronWorkflow.spec.workflowSpec.workflowTemplateRef
Fields
fn withNamespace
withNamespace(namespace)
obj createOptions
"CreateOptions may be provided when creating an API object."
fn createOptions.withDryRun
withDryRun(dryRun)
fn createOptions.withDryRunMixin
withDryRunMixin(dryRun)
Note: This function appends passed data to existing values
fn createOptions.withFieldManager
withFieldManager(fieldManager)
fn createOptions.withFieldValidation
withFieldValidation(fieldValidation)
obj cronWorkflow
"CronWorkflow is the definition of a scheduled workflow resource"
fn cronWorkflow.withApiVersion
withApiVersion(apiVersion)
"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#resources"
fn cronWorkflow.withKind
withKind(kind)
"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.io.k8s.community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
obj cronWorkflow.metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn cronWorkflow.metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn cronWorkflow.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn cronWorkflow.metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn cronWorkflow.metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn cronWorkflow.metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn cronWorkflow.metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn cronWorkflow.metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn cronWorkflow.metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn cronWorkflow.metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn cronWorkflow.metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn cronWorkflow.metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn cronWorkflow.metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn cronWorkflow.metadata.withManagedFields
withManagedFields(managedFields)
"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."
fn cronWorkflow.metadata.withManagedFieldsMixin
withManagedFieldsMixin(managedFields)
"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."
Note: This function appends passed data to existing values
fn cronWorkflow.metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn cronWorkflow.metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn cronWorkflow.metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn cronWorkflow.metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn cronWorkflow.metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn cronWorkflow.metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn cronWorkflow.metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj cronWorkflow.spec
"CronWorkflowSpec is the specification of a CronWorkflow"
fn cronWorkflow.spec.withConcurrencyPolicy
withConcurrencyPolicy(concurrencyPolicy)
"ConcurrencyPolicy is the K8s-style concurrency policy that will be used"
fn cronWorkflow.spec.withFailedJobsHistoryLimit
withFailedJobsHistoryLimit(failedJobsHistoryLimit)
"FailedJobsHistoryLimit is the number of failed jobs to be kept at a time"
fn cronWorkflow.spec.withSchedule
withSchedule(schedule)
"Schedule is a schedule to run the Workflow in Cron format"
fn cronWorkflow.spec.withStartingDeadlineSeconds
withStartingDeadlineSeconds(startingDeadlineSeconds)
"StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its original scheduled time if it is missed."
fn cronWorkflow.spec.withSuccessfulJobsHistoryLimit
withSuccessfulJobsHistoryLimit(successfulJobsHistoryLimit)
"SuccessfulJobsHistoryLimit is the number of successful jobs to be kept at a time"
fn cronWorkflow.spec.withSuspend
withSuspend(suspend)
"Suspend is a flag that will stop new CronWorkflows from running if set to true"
fn cronWorkflow.spec.withTimezone
withTimezone(timezone)
"Timezone is the timezone against which the cron schedule will be calculated, e.g. \"Asia/Tokyo\". Default is machine's local time."
obj cronWorkflow.spec.workflowMetadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn cronWorkflow.spec.workflowMetadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn cronWorkflow.spec.workflowMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowMetadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn cronWorkflow.spec.workflowMetadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn cronWorkflow.spec.workflowMetadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn cronWorkflow.spec.workflowMetadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn cronWorkflow.spec.workflowMetadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn cronWorkflow.spec.workflowMetadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowMetadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn cronWorkflow.spec.workflowMetadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn cronWorkflow.spec.workflowMetadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn cronWorkflow.spec.workflowMetadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowMetadata.withManagedFields
withManagedFields(managedFields)
"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."
fn cronWorkflow.spec.workflowMetadata.withManagedFieldsMixin
withManagedFieldsMixin(managedFields)
"ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowMetadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn cronWorkflow.spec.workflowMetadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn cronWorkflow.spec.workflowMetadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn cronWorkflow.spec.workflowMetadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowMetadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn cronWorkflow.spec.workflowMetadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn cronWorkflow.spec.workflowMetadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj cronWorkflow.spec.workflowSpec
"WorkflowSpec is the specification of a Workflow."
fn cronWorkflow.spec.workflowSpec.withActiveDeadlineSeconds
withActiveDeadlineSeconds(activeDeadlineSeconds)
"Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the io.argoproj.workflow.v1alpha1. A value of zero is used to terminate a Running workflow"
fn cronWorkflow.spec.workflowSpec.withArchiveLogs
withArchiveLogs(archiveLogs)
"ArchiveLogs indicates if the container logs should be archived"
fn cronWorkflow.spec.workflowSpec.withAutomountServiceAccountToken
withAutomountServiceAccountToken(automountServiceAccountToken)
"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false."
fn cronWorkflow.spec.workflowSpec.withDnsPolicy
withDnsPolicy(dnsPolicy)
"Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'."
fn cronWorkflow.spec.workflowSpec.withEntrypoint
withEntrypoint(entrypoint)
"Entrypoint is a template reference to the starting point of the io.argoproj.workflow.v1alpha1."
fn cronWorkflow.spec.workflowSpec.withHooks
withHooks(hooks)
"Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step"
fn cronWorkflow.spec.workflowSpec.withHooksMixin
withHooksMixin(hooks)
"Hooks holds the lifecycle hook which is invoked at lifecycle of step, irrespective of the success, failure, or error status of the primary step"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withHostAliases
withHostAliases(hostAliases)
fn cronWorkflow.spec.workflowSpec.withHostAliasesMixin
withHostAliasesMixin(hostAliases)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withHostNetwork
withHostNetwork(hostNetwork)
"Host networking requested for this workflow pod. Default to false."
fn cronWorkflow.spec.workflowSpec.withImagePullSecrets
withImagePullSecrets(imagePullSecrets)
"ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"
fn cronWorkflow.spec.workflowSpec.withImagePullSecretsMixin
withImagePullSecretsMixin(imagePullSecrets)
"ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withNodeSelector
withNodeSelector(nodeSelector)
"NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template."
fn cronWorkflow.spec.workflowSpec.withNodeSelectorMixin
withNodeSelectorMixin(nodeSelector)
"NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withOnExit
withOnExit(onExit)
"OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary io.argoproj.workflow.v1alpha1."
fn cronWorkflow.spec.workflowSpec.withParallelism
withParallelism(parallelism)
"Parallelism limits the max total parallel pods that can execute at the same time in a workflow"
fn cronWorkflow.spec.workflowSpec.withPodPriority
withPodPriority(podPriority)
"Priority to apply to workflow pods. DEPRECATED: Use PodPriorityClassName instead."
fn cronWorkflow.spec.workflowSpec.withPodPriorityClassName
withPodPriorityClassName(podPriorityClassName)
"PriorityClassName to apply to workflow pods."
fn cronWorkflow.spec.workflowSpec.withPodSpecPatch
withPodSpecPatch(podSpecPatch)
"PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits)."
fn cronWorkflow.spec.workflowSpec.withPriority
withPriority(priority)
"Priority is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first."
fn cronWorkflow.spec.workflowSpec.withSchedulerName
withSchedulerName(schedulerName)
"Set scheduler name for all pods. Will be overridden if container/script template's scheduler name is set. Default scheduler will be used if neither specified."
fn cronWorkflow.spec.workflowSpec.withServiceAccountName
withServiceAccountName(serviceAccountName)
"ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as."
fn cronWorkflow.spec.workflowSpec.withShutdown
withShutdown(shutdown)
"Shutdown will shutdown the workflow according to its ShutdownStrategy"
fn cronWorkflow.spec.workflowSpec.withSuspend
withSuspend(suspend)
"Suspend will suspend the workflow and prevent execution of any future steps in the workflow"
fn cronWorkflow.spec.workflowSpec.withTemplates
withTemplates(templates)
"Templates is a list of workflow templates used in a workflow"
fn cronWorkflow.spec.workflowSpec.withTemplatesMixin
withTemplatesMixin(templates)
"Templates is a list of workflow templates used in a workflow"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withTolerations
withTolerations(tolerations)
"Tolerations to apply to workflow pods."
fn cronWorkflow.spec.workflowSpec.withTolerationsMixin
withTolerationsMixin(tolerations)
"Tolerations to apply to workflow pods."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withVolumeClaimTemplates
withVolumeClaimTemplates(volumeClaimTemplates)
"VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow"
fn cronWorkflow.spec.workflowSpec.withVolumeClaimTemplatesMixin
withVolumeClaimTemplatesMixin(volumeClaimTemplates)
"VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.withVolumes
withVolumes(volumes)
"Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1."
fn cronWorkflow.spec.workflowSpec.withVolumesMixin
withVolumesMixin(volumes)
"Volumes is a list of volumes that can be mounted by containers in a io.argoproj.workflow.v1alpha1."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.affinity
"Affinity is a group of affinity scheduling rules."
obj cronWorkflow.spec.workflowSpec.affinity.nodeAffinity
"Node affinity is a group of node affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."
fn cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTerms
withNodeSelectorTerms(nodeSelectorTerms)
"Required. A list of node selector terms. The terms are ORed."
fn cronWorkflow.spec.workflowSpec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTermsMixin
withNodeSelectorTermsMixin(nodeSelectorTerms)
"Required. A list of node selector terms. The terms are ORed."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.affinity.podAffinity
"Pod affinity is a group of inter pod affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
fn cronWorkflow.spec.workflowSpec.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity
"Pod anti affinity is a group of inter pod anti affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
fn cronWorkflow.spec.workflowSpec.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.arguments
"Arguments to a template"
fn cronWorkflow.spec.workflowSpec.arguments.withArtifacts
withArtifacts(artifacts)
"Artifacts is the list of artifacts to pass to the template or workflow"
fn cronWorkflow.spec.workflowSpec.arguments.withArtifactsMixin
withArtifactsMixin(artifacts)
"Artifacts is the list of artifacts to pass to the template or workflow"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.arguments.withParameters
withParameters(parameters)
"Parameters is the list of parameters to pass to the template or workflow"
fn cronWorkflow.spec.workflowSpec.arguments.withParametersMixin
withParametersMixin(parameters)
"Parameters is the list of parameters to pass to the template or workflow"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.artifactGC
"WorkflowLevelArtifactGC describes how to delete artifacts from completed Workflows - this spec is used on the Workflow level"
fn cronWorkflow.spec.workflowSpec.artifactGC.withForceFinalizerRemoval
withForceFinalizerRemoval(forceFinalizerRemoval)
"ForceFinalizerRemoval: if set to true, the finalizer will be removed in the case that Artifact GC fails"
fn cronWorkflow.spec.workflowSpec.artifactGC.withPodSpecPatch
withPodSpecPatch(podSpecPatch)
"PodSpecPatch holds strategic merge patch to apply against the artgc pod spec."
fn cronWorkflow.spec.workflowSpec.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 cronWorkflow.spec.workflowSpec.artifactGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use."
obj cronWorkflow.spec.workflowSpec.artifactGC.podMetadata
"Pod metdata"
fn cronWorkflow.spec.workflowSpec.artifactGC.podMetadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.artifactGC.podMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.artifactGC.podMetadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.artifactGC.podMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.artifactRepositoryRef
fn cronWorkflow.spec.workflowSpec.artifactRepositoryRef.withConfigMap
withConfigMap(configMap)
"The name of the config map. Defaults to \"artifact-repositories\"."
fn cronWorkflow.spec.workflowSpec.artifactRepositoryRef.withKey
withKey(key)
"The config map key. Defaults to the value of the \"workflows.argoproj.io/default-artifact-repository\" annotation."
obj cronWorkflow.spec.workflowSpec.dnsConfig
"PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy."
fn cronWorkflow.spec.workflowSpec.dnsConfig.withNameservers
withNameservers(nameservers)
"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."
fn cronWorkflow.spec.workflowSpec.dnsConfig.withNameserversMixin
withNameserversMixin(nameservers)
"A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.dnsConfig.withOptions
withOptions(options)
"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."
fn cronWorkflow.spec.workflowSpec.dnsConfig.withOptionsMixin
withOptionsMixin(options)
"A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.dnsConfig.withSearches
withSearches(searches)
"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."
fn cronWorkflow.spec.workflowSpec.dnsConfig.withSearchesMixin
withSearchesMixin(searches)
"A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.executor
"ExecutorConfig holds configurations of an executor container."
fn cronWorkflow.spec.workflowSpec.executor.withServiceAccountName
withServiceAccountName(serviceAccountName)
"ServiceAccountName specifies the service account name of the executor container."
obj cronWorkflow.spec.workflowSpec.metrics
"Metrics are a list of metrics emitted from a Workflow/Template"
fn cronWorkflow.spec.workflowSpec.metrics.withPrometheus
withPrometheus(prometheus)
"Prometheus is a list of prometheus metrics to be emitted"
fn cronWorkflow.spec.workflowSpec.metrics.withPrometheusMixin
withPrometheusMixin(prometheus)
"Prometheus is a list of prometheus metrics to be emitted"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.podDisruptionBudget
"PodDisruptionBudgetSpec is a description of a PodDisruptionBudget."
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.withMaxUnavailable
withMaxUnavailable(maxUnavailable)
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.withMinAvailable
withMinAvailable(minAvailable)
obj cronWorkflow.spec.workflowSpec.podDisruptionBudget.selector
"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.selector.withMatchExpressions
withMatchExpressions(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.selector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.selector.withMatchLabels
withMatchLabels(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
fn cronWorkflow.spec.workflowSpec.podDisruptionBudget.selector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.podGC
"PodGC describes how to delete completed pods as they complete"
fn cronWorkflow.spec.workflowSpec.podGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods"
obj cronWorkflow.spec.workflowSpec.podGC.deleteDelayDuration
"Duration is a wrapper around time.Duration which supports correct\nmarshaling to YAML and JSON. In particular, it marshals into strings, which\ncan be used as map keys in json."
fn cronWorkflow.spec.workflowSpec.podGC.deleteDelayDuration.withDuration
withDuration(duration)
obj cronWorkflow.spec.workflowSpec.podGC.labelSelector
"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."
fn cronWorkflow.spec.workflowSpec.podGC.labelSelector.withMatchExpressions
withMatchExpressions(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
fn cronWorkflow.spec.workflowSpec.podGC.labelSelector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.podGC.labelSelector.withMatchLabels
withMatchLabels(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
fn cronWorkflow.spec.workflowSpec.podGC.labelSelector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.podMetadata
"Pod metdata"
fn cronWorkflow.spec.workflowSpec.podMetadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.podMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.podMetadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.podMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.retryStrategy
"RetryStrategy provides controls on how to retry a workflow step"
fn cronWorkflow.spec.workflowSpec.retryStrategy.withExpression
withExpression(expression)
"Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored"
fn cronWorkflow.spec.workflowSpec.retryStrategy.withLimit
withLimit(limit)
fn cronWorkflow.spec.workflowSpec.retryStrategy.withRetryPolicy
withRetryPolicy(retryPolicy)
"RetryPolicy is a policy of NodePhase statuses that will be retried"
obj cronWorkflow.spec.workflowSpec.retryStrategy.affinity
"RetryAffinity prevents running steps on the same host."
fn cronWorkflow.spec.workflowSpec.retryStrategy.affinity.withNodeAntiAffinity
withNodeAntiAffinity(nodeAntiAffinity)
"RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\"."
fn cronWorkflow.spec.workflowSpec.retryStrategy.affinity.withNodeAntiAffinityMixin
withNodeAntiAffinityMixin(nodeAntiAffinity)
"RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\"."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.retryStrategy.backoff
"Backoff is a backoff strategy to use within retryStrategy"
fn cronWorkflow.spec.workflowSpec.retryStrategy.backoff.withDuration
withDuration(duration)
"Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")"
fn cronWorkflow.spec.workflowSpec.retryStrategy.backoff.withFactor
withFactor(factor)
fn cronWorkflow.spec.workflowSpec.retryStrategy.backoff.withMaxDuration
withMaxDuration(maxDuration)
"MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy"
obj cronWorkflow.spec.workflowSpec.securityContext
"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."
fn cronWorkflow.spec.workflowSpec.securityContext.withFsGroup
withFsGroup(fsGroup)
"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withFsGroupChangePolicy
withFsGroupChangePolicy(fsGroupChangePolicy)
"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
fn cronWorkflow.spec.workflowSpec.securityContext.withRunAsUser
withRunAsUser(runAsUser)
"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withSupplementalGroups
withSupplementalGroups(supplementalGroups)
"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withSupplementalGroupsMixin
withSupplementalGroupsMixin(supplementalGroups)
"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.securityContext.withSysctls
withSysctls(sysctls)
"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.securityContext.withSysctlsMixin
withSysctlsMixin(sysctls)
"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions
"SELinuxOptions are the labels to be applied to the container"
fn cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions.withLevel
withLevel(level)
"Level is SELinux level label that applies to the container."
fn cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions.withRole
withRole(role)
"Role is a SELinux role label that applies to the container."
fn cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions.withType
withType(type)
"Type is a SELinux type label that applies to the container."
fn cronWorkflow.spec.workflowSpec.securityContext.seLinuxOptions.withUser
withUser(user)
"User is a SELinux user label that applies to the container."
obj cronWorkflow.spec.workflowSpec.securityContext.seccompProfile
"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."
fn cronWorkflow.spec.workflowSpec.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."
fn cronWorkflow.spec.workflowSpec.securityContext.seccompProfile.withType
withType(type)
"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - \"Localhost\"
indicates a profile defined in a file on the node should be used. The file's location relative to \"RuntimeDefault\"
represents the default container runtime seccomp profile.\n - \"Unconfined\"
indicates no seccomp profile is applied (A.K.A. unconfined)."
obj cronWorkflow.spec.workflowSpec.securityContext.windowsOptions
"WindowsSecurityContextOptions contain Windows-specific options and credentials."
fn cronWorkflow.spec.workflowSpec.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."
fn cronWorkflow.spec.workflowSpec.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
"GMSACredentialSpecName is the name of the GMSA credential spec to use."
fn cronWorkflow.spec.workflowSpec.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."
fn cronWorkflow.spec.workflowSpec.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
obj cronWorkflow.spec.workflowSpec.synchronization
"Synchronization holds synchronization lock configuration"
obj cronWorkflow.spec.workflowSpec.synchronization.mutex
"Mutex holds Mutex configuration"
fn cronWorkflow.spec.workflowSpec.synchronization.mutex.withName
withName(name)
"name of the mutex"
fn cronWorkflow.spec.workflowSpec.synchronization.mutex.withNamespace
withNamespace(namespace)
"Namespace is the namespace of the mutex, default: [namespace of workflow]"
obj cronWorkflow.spec.workflowSpec.synchronization.semaphore
"SemaphoreRef is a reference of Semaphore"
fn cronWorkflow.spec.workflowSpec.synchronization.semaphore.withNamespace
withNamespace(namespace)
"Namespace is the namespace of the configmap, default: [namespace of workflow]"
obj cronWorkflow.spec.workflowSpec.synchronization.semaphore.configMapKeyRef
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.synchronization.semaphore.configMapKeyRef.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.synchronization.semaphore.configMapKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.synchronization.semaphore.configMapKeyRef.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults
"Template is a reusable and composable unit of execution in a workflow"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withActiveDeadlineSeconds
withActiveDeadlineSeconds(activeDeadlineSeconds)
fn cronWorkflow.spec.workflowSpec.templateDefaults.withAutomountServiceAccountToken
withAutomountServiceAccountToken(automountServiceAccountToken)
"AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withDaemon
withDaemon(daemon)
"Daemon will allow a workflow to proceed to the next step so long as the container reaches readiness"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withFailFast
withFailFast(failFast)
"FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this template is expanded with withItems
, etc."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withHostAliases
withHostAliases(hostAliases)
"HostAliases is an optional list of hosts and IPs that will be injected into the pod spec"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withHostAliasesMixin
withHostAliasesMixin(hostAliases)
"HostAliases is an optional list of hosts and IPs that will be injected into the pod spec"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withInitContainers
withInitContainers(initContainers)
"InitContainers is a list of containers which run before the main container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withInitContainersMixin
withInitContainersMixin(initContainers)
"InitContainers is a list of containers which run before the main container."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withName
withName(name)
"Name is the name of the template"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withNodeSelector
withNodeSelector(nodeSelector)
"NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withNodeSelectorMixin
withNodeSelectorMixin(nodeSelector)
"NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withParallelism
withParallelism(parallelism)
"Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withPlugin
withPlugin(plugin)
"Plugin is an Object with exactly one key"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withPluginMixin
withPluginMixin(plugin)
"Plugin is an Object with exactly one key"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withPodSpecPatch
withPodSpecPatch(podSpecPatch)
"PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits)."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withPriority
withPriority(priority)
"Priority to apply to workflow pods."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withPriorityClassName
withPriorityClassName(priorityClassName)
"PriorityClassName to apply to workflow pods."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withSchedulerName
withSchedulerName(schedulerName)
"If specified, the pod will be dispatched by specified scheduler. Or it will be dispatched by workflow scope scheduler if specified. If neither specified, the pod will be dispatched by default scheduler."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withServiceAccountName
withServiceAccountName(serviceAccountName)
"ServiceAccountName to apply to workflow pods"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withSidecars
withSidecars(sidecars)
"Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withSidecarsMixin
withSidecarsMixin(sidecars)
"Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withSteps
withSteps(steps)
"Steps define a series of sequential/parallel workflow steps"
fn cronWorkflow.spec.workflowSpec.templateDefaults.withStepsMixin
withStepsMixin(steps)
"Steps define a series of sequential/parallel workflow steps"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withTimeout
withTimeout(timeout)
"Timeout allows to set the total node execution timeout duration counting from the node's start time. This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withTolerations
withTolerations(tolerations)
"Tolerations to apply to workflow pods."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withTolerationsMixin
withTolerationsMixin(tolerations)
"Tolerations to apply to workflow pods."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.withVolumes
withVolumes(volumes)
"Volumes is a list of volumes that can be mounted by containers in a template."
fn cronWorkflow.spec.workflowSpec.templateDefaults.withVolumesMixin
withVolumesMixin(volumes)
"Volumes is a list of volumes that can be mounted by containers in a template."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity
"Affinity is a group of affinity scheduling rules."
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity
"Node affinity is a group of node affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
"A node selector represents the union of the results of one or more label queries over a set of nodes; that is, it represents the OR of the selectors represented by the node selector terms."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTerms
withNodeSelectorTerms(nodeSelectorTerms)
"Required. A list of node selector terms. The terms are ORed."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTermsMixin
withNodeSelectorTermsMixin(nodeSelectorTerms)
"Required. A list of node selector terms. The terms are ORed."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity
"Pod affinity is a group of inter pod affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
"If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity
"Pod anti affinity is a group of inter pod anti affinity scheduling rules."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
"The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecution
withRequiredDuringSchedulingIgnoredDuringExecution(requiredDuringSchedulingIgnoredDuringExecution)
"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
fn cronWorkflow.spec.workflowSpec.templateDefaults.affinity.podAntiAffinity.withRequiredDuringSchedulingIgnoredDuringExecutionMixin
withRequiredDuringSchedulingIgnoredDuringExecutionMixin(requiredDuringSchedulingIgnoredDuringExecution)
"If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation
"ArtifactLocation describes a location for a single or multiple artifacts. It is used as single artifact in the context of inputs/outputs (e.g. outputs.artifacts.artname). It is also used to describe the location of multiple artifacts such as the archive location of a single workflow step, which the executor will use as a default location to store its files."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.withArchiveLogs
withArchiveLogs(archiveLogs)
"ArchiveLogs indicates if the container logs should be archived"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory
"ArtifactoryArtifact is the location of an artifactory artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.artifactory.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure
"AzureArtifact is the location of a an Azure Storage artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.withBlob
withBlob(blob)
"Blob is the blob name (i.e., path) in the container where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.withContainer
withContainer(container)
"Container is the container where resources will be stored"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.withEndpoint
withEndpoint(endpoint)
"Endpoint is the service url associated with an account. It is most likely \"https://
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.accountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.accountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.accountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.azure.accountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs
"GCSArtifact is the location of a GCS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.serviceAccountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.serviceAccountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.serviceAccountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.gcs.serviceAccountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git
"GitArtifact is the location of an git artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withBranch
withBranch(branch)
"Branch is the branch to fetch when SingleBranch
is enabled"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withDepth
withDepth(depth)
"Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withDisableSubmodules
withDisableSubmodules(disableSubmodules)
"DisableSubmodules disables submodules during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withFetch
withFetch(fetch)
"Fetch specifies a number of refs that should be fetched before checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withInsecureIgnoreHostKey
withInsecureIgnoreHostKey(insecureIgnoreHostKey)
"InsecureIgnoreHostKey disables SSH strict host key checking during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withRepo
withRepo(repo)
"Repo is the git repository"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withRevision
withRevision(revision)
"Revision is the git commit, tag, branch to checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.withSingleBranch
withSingleBranch(singleBranch)
"SingleBranch enables single branch clone, using the branch
parameter"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.sshPrivateKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.sshPrivateKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.sshPrivateKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.sshPrivateKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.git.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs
"HDFSArtifact is the location of an HDFS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withAddresses
withAddresses(addresses)
"Addresses is accessible addresses of HDFS name nodes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withAddressesMixin
withAddressesMixin(addresses)
"Addresses is accessible addresses of HDFS name nodes"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withForce
withForce(force)
"Force copies a file forcibly even if it exists"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withHdfsUser
withHdfsUser(hdfsUser)
"HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withKrbRealm
withKrbRealm(krbRealm)
"KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withKrbServicePrincipalName
withKrbServicePrincipalName(krbServicePrincipalName)
"KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withKrbUsername
withKrbUsername(krbUsername)
"KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.withPath
withPath(path)
"Path is a file path in HDFS"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbCCacheSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbCCacheSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbCCacheSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbCCacheSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbConfigConfigMap
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbConfigConfigMap.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbConfigConfigMap.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbConfigConfigMap.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbKeytabSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbKeytabSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbKeytabSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.hdfs.krbKeytabSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http
"HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.withHeaders
withHeaders(headers)
"Headers are an optional list of headers to send with HTTP requests for artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth
"BasicAuth describes the secret selectors required for basic authentication"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.basicAuth.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert
"ClientCertAuth holds necessary information for client authentication via certificates"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientCertSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientCertSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientCertSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.clientCert.clientKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2
"OAuth2Auth holds all information for client authentication via OAuth2 tokens"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.withEndpointParams
withEndpointParams(endpointParams)
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.withEndpointParamsMixin
withEndpointParamsMixin(endpointParams)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.withScopes
withScopes(scopes)
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.withScopesMixin
withScopesMixin(scopes)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientIDSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientIDSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientIDSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientSecretSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientSecretSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.clientSecretSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.tokenURLSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.tokenURLSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.http.auth.oauth2.tokenURLSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss
"OSSArtifact is the location of an Alibaba Cloud OSS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.withCreateBucketIfNotPresent
withCreateBucketIfNotPresent(createBucketIfNotPresent)
"CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.lifecycleRule
"OSSLifecycleRule specifies how to manage bucket's lifecycle"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.lifecycleRule.withMarkDeletionAfterDays
withMarkDeletionAfterDays(markDeletionAfterDays)
"MarkDeletionAfterDays is the number of days before we delete objects in the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.oss.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.raw
"RawArtifact allows raw string content to be placed as an artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.raw.withData
withData(data)
"Data is the string contents of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3
"S3Artifact is the location of an S3 artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withInsecure
withInsecure(insecure)
"Insecure will connect to the service with TLS"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withKey
withKey(key)
"Key is the key in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withRegion
withRegion(region)
"Region contains the optional bucket region"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withRoleARN
withRoleARN(roleARN)
"RoleARN is the Amazon Resource Name (ARN) of the role to assume."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.caSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.caSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.caSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.caSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.createBucketIfNotPresent
"CreateS3BucketOptions options used to determine automatic automatic bucket-creation process"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.createBucketIfNotPresent.withObjectLocking
withObjectLocking(objectLocking)
"ObjectLocking Enable object locking"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions
"S3EncryptionOptions used to determine encryption options during s3 operations"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.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 cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions.withKmsKeyId
withKmsKeyId(kmsKeyId)
"KMSKeyId tells the driver to encrypt the object using the specified KMS Key."
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions.serverSideCustomerKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions.serverSideCustomerKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions.serverSideCustomerKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.encryptionOptions.serverSideCustomerKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.archiveLocation.s3.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container
"A single application container that you want to run within a pod."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withArgs
withArgs(args)
"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withArgsMixin
withArgsMixin(args)
"Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withCommand
withCommand(command)
"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withCommandMixin
withCommandMixin(command)
"Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withEnv
withEnv(env)
"List of environment variables to set in the container. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withEnvFrom
withEnvFrom(envFrom)
"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withEnvFromMixin
withEnvFromMixin(envFrom)
"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withEnvMixin
withEnvMixin(env)
"List of environment variables to set in the container. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withImage
withImage(image)
"Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withImagePullPolicy
withImagePullPolicy(imagePullPolicy)
"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n\nPossible enum values:\n - \"Always\"
means that kubelet always attempts to pull the latest image. Container will fail If the pull fails.\n - \"IfNotPresent\"
means that kubelet pulls if the image isn't present on disk. Container will fail if the image isn't present and the pull fails.\n - \"Never\"
means that kubelet never pulls an image, but only uses a local image. Container will fail if the image isn't present"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withName
withName(name)
"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withPorts
withPorts(ports)
"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withPortsMixin
withPortsMixin(ports)
"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withStdin
withStdin(stdin)
"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withStdinOnce
withStdinOnce(stdinOnce)
"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withTerminationMessagePath
withTerminationMessagePath(terminationMessagePath)
"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withTerminationMessagePolicy
withTerminationMessagePolicy(terminationMessagePolicy)
"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.\n\nPossible enum values:\n - \"FallbackToLogsOnError\"
will read the most recent contents of the container logs for the container status message when the container exits with an error and the terminationMessagePath has no contents.\n - \"File\"
is the default behavior and will set the container status message to the contents of the container's terminationMessagePath when the container exits."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withTty
withTty(tty)
"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withVolumeDevices
withVolumeDevices(volumeDevices)
"volumeDevices is the list of block devices to be used by the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withVolumeDevicesMixin
withVolumeDevicesMixin(volumeDevices)
"volumeDevices is the list of block devices to be used by the container."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withVolumeMounts
withVolumeMounts(volumeMounts)
"Pod volumes to mount into the container's filesystem. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withVolumeMountsMixin
withVolumeMountsMixin(volumeMounts)
"Pod volumes to mount into the container's filesystem. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.withWorkingDir
withWorkingDir(workingDir)
"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle
"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart
"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.postStart.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop
"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.lifecycle.preStop.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.livenessProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.readinessProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.resources
"ResourceRequirements describes the compute resource requirements."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.resources.withLimits
withLimits(limits)
"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.resources.withLimitsMixin
withLimitsMixin(limits)
"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.resources.withRequests
withRequests(requests)
"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.resources.withRequestsMixin
withRequestsMixin(requests)
"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext
"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withPrivileged
withPrivileged(privileged)
"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withProcMount
withProcMount(procMount)
"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
"Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.withRunAsUser
withRunAsUser(runAsUser)
"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities
"Adds and removes POSIX capabilities from running containers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities.withAdd
withAdd(add)
"Added capabilities"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities.withAddMixin
withAddMixin(add)
"Added capabilities"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities.withDrop
withDrop(drop)
"Removed capabilities"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.capabilities.withDropMixin
withDropMixin(drop)
"Removed capabilities"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions
"SELinuxOptions are the labels to be applied to the container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions.withLevel
withLevel(level)
"Level is SELinux level label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions.withRole
withRole(role)
"Role is a SELinux role label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions.withType
withType(type)
"Type is a SELinux type label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seLinuxOptions.withUser
withUser(user)
"User is a SELinux user label that applies to the container."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seccompProfile
"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.seccompProfile.withType
withType(type)
"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - \"Localhost\"
indicates a profile defined in a file on the node should be used. The file's location relative to \"RuntimeDefault\"
represents the default container runtime seccomp profile.\n - \"Unconfined\"
indicates no seccomp profile is applied (A.K.A. unconfined)."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions
"WindowsSecurityContextOptions contain Windows-specific options and credentials."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
"GMSACredentialSpecName is the name of the GMSA credential spec to use."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.container.startupProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.containerSet
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.withContainers
withContainers(containers)
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.withContainersMixin
withContainersMixin(containers)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.withVolumeMounts
withVolumeMounts(volumeMounts)
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.withVolumeMountsMixin
withVolumeMountsMixin(volumeMounts)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.retryStrategy
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.retryStrategy.withDuration
withDuration(duration)
"Duration is the time between each retry, examples values are \"300ms\", \"1s\" or \"5m\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\"."
fn cronWorkflow.spec.workflowSpec.templateDefaults.containerSet.retryStrategy.withRetries
withRetries(retries)
obj cronWorkflow.spec.workflowSpec.templateDefaults.dag
"DAGTemplate is a template subtype for directed acyclic graph templates"
fn cronWorkflow.spec.workflowSpec.templateDefaults.dag.withFailFast
withFailFast(failFast)
"This flag is for DAG logic. The DAG logic has a built-in \"fail fast\" feature to stop scheduling new steps, as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed before failing the DAG itself. The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to completion (either success or failure), regardless of the failed outcomes of branches in the DAG. More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442"
fn cronWorkflow.spec.workflowSpec.templateDefaults.dag.withTarget
withTarget(target)
"Target are one or more names of targets to execute in a DAG"
fn cronWorkflow.spec.workflowSpec.templateDefaults.dag.withTasks
withTasks(tasks)
"Tasks are a list of DAG tasks"
fn cronWorkflow.spec.workflowSpec.templateDefaults.dag.withTasksMixin
withTasksMixin(tasks)
"Tasks are a list of DAG tasks"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.data
"Data is a data template"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.withTransformation
withTransformation(transformation)
"Transformation applies a set of transformations"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.withTransformationMixin
withTransformationMixin(transformation)
"Transformation applies a set of transformations"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source
"DataSource sources external data into a data template"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths
"ArtifactPaths expands a step from a collection of artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withArchiveLogs
withArchiveLogs(archiveLogs)
"ArchiveLogs indicates if the container logs should be archived"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withDeleted
withDeleted(deleted)
"Has this been deleted?"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withFrom
withFrom(from)
"From allows an artifact to reference an artifact from a previous step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withFromExpression
withFromExpression(fromExpression)
"FromExpression, if defined, is evaluated to specify the value for the artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withMode
withMode(mode)
"mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withName
withName(name)
"name of the artifact. must be unique within a template's inputs/outputs."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withOptional
withOptional(optional)
"Make Artifacts optional, if Artifacts doesn't generate or exist"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withPath
withPath(path)
"Path is the container path to the artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withRecurseMode
withRecurseMode(recurseMode)
"If mode is set, apply the permission recursively into the artifact if it is a folder"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.withSubPath
withSubPath(subPath)
"SubPath allows an artifact to be sourced from a subpath within the specified source"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive
"ArchiveStrategy describes how to archive files/directory when saving artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive.withZip
withZip(zip)
"ZipStrategy will unzip zipped input artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive.withZipMixin
withZipMixin(zip)
"ZipStrategy will unzip zipped input artifacts"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive.tar
"TarStrategy will tar and gzip the file or directory when saving"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.archive.tar.withCompressionLevel
withCompressionLevel(compressionLevel)
"CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.podMetadata
"Pod metdata"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.podMetadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.podMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.podMetadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactGC.podMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory
"ArtifactoryArtifact is the location of an artifactory artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.artifactory.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure
"AzureArtifact is the location of a an Azure Storage artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.withBlob
withBlob(blob)
"Blob is the blob name (i.e., path) in the container where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.withContainer
withContainer(container)
"Container is the container where resources will be stored"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.withEndpoint
withEndpoint(endpoint)
"Endpoint is the service url associated with an account. It is most likely \"https://
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.accountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.accountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.accountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.azure.accountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs
"GCSArtifact is the location of a GCS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.serviceAccountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.serviceAccountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.serviceAccountKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.gcs.serviceAccountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git
"GitArtifact is the location of an git artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withBranch
withBranch(branch)
"Branch is the branch to fetch when SingleBranch
is enabled"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withDepth
withDepth(depth)
"Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withDisableSubmodules
withDisableSubmodules(disableSubmodules)
"DisableSubmodules disables submodules during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withFetch
withFetch(fetch)
"Fetch specifies a number of refs that should be fetched before checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withInsecureIgnoreHostKey
withInsecureIgnoreHostKey(insecureIgnoreHostKey)
"InsecureIgnoreHostKey disables SSH strict host key checking during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withRepo
withRepo(repo)
"Repo is the git repository"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withRevision
withRevision(revision)
"Revision is the git commit, tag, branch to checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.withSingleBranch
withSingleBranch(singleBranch)
"SingleBranch enables single branch clone, using the branch
parameter"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.passwordSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.sshPrivateKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.sshPrivateKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.sshPrivateKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.sshPrivateKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.usernameSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.git.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs
"HDFSArtifact is the location of an HDFS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withAddresses
withAddresses(addresses)
"Addresses is accessible addresses of HDFS name nodes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withAddressesMixin
withAddressesMixin(addresses)
"Addresses is accessible addresses of HDFS name nodes"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withForce
withForce(force)
"Force copies a file forcibly even if it exists"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withHdfsUser
withHdfsUser(hdfsUser)
"HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withKrbRealm
withKrbRealm(krbRealm)
"KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withKrbServicePrincipalName
withKrbServicePrincipalName(krbServicePrincipalName)
"KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withKrbUsername
withKrbUsername(krbUsername)
"KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.withPath
withPath(path)
"Path is a file path in HDFS"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbCCacheSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbCCacheSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbCCacheSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbCCacheSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbConfigConfigMap
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbConfigConfigMap.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbConfigConfigMap.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbConfigConfigMap.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbKeytabSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbKeytabSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbKeytabSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.hdfs.krbKeytabSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http
"HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.withHeaders
withHeaders(headers)
"Headers are an optional list of headers to send with HTTP requests for artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth
"BasicAuth describes the secret selectors required for basic authentication"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.basicAuth.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert
"ClientCertAuth holds necessary information for client authentication via certificates"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientCertSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientCertSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientCertSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.clientCert.clientKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2
"OAuth2Auth holds all information for client authentication via OAuth2 tokens"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.withEndpointParams
withEndpointParams(endpointParams)
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.withEndpointParamsMixin
withEndpointParamsMixin(endpointParams)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.withScopes
withScopes(scopes)
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.withScopesMixin
withScopesMixin(scopes)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientIDSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientIDSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientIDSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientSecretSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientSecretSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.clientSecretSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.tokenURLSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.tokenURLSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.http.auth.oauth2.tokenURLSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss
"OSSArtifact is the location of an Alibaba Cloud OSS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.withCreateBucketIfNotPresent
withCreateBucketIfNotPresent(createBucketIfNotPresent)
"CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.lifecycleRule
"OSSLifecycleRule specifies how to manage bucket's lifecycle"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.lifecycleRule.withMarkDeletionAfterDays
withMarkDeletionAfterDays(markDeletionAfterDays)
"MarkDeletionAfterDays is the number of days before we delete objects in the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.oss.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.raw
"RawArtifact allows raw string content to be placed as an artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.raw.withData
withData(data)
"Data is the string contents of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3
"S3Artifact is the location of an S3 artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withInsecure
withInsecure(insecure)
"Insecure will connect to the service with TLS"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withKey
withKey(key)
"Key is the key in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withRegion
withRegion(region)
"Region contains the optional bucket region"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withRoleARN
withRoleARN(roleARN)
"RoleARN is the Amazon Resource Name (ARN) of the role to assume."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.accessKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.caSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.caSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.caSecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.caSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.createBucketIfNotPresent
"CreateS3BucketOptions options used to determine automatic automatic bucket-creation process"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.createBucketIfNotPresent.withObjectLocking
withObjectLocking(objectLocking)
"ObjectLocking Enable object locking"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions
"S3EncryptionOptions used to determine encryption options during s3 operations"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.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 cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions.withKmsKeyId
withKmsKeyId(kmsKeyId)
"KMSKeyId tells the driver to encrypt the object using the specified KMS Key."
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.secretKeySecret.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.data.source.artifactPaths.s3.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.executor
"ExecutorConfig holds configurations of an executor container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.executor.withServiceAccountName
withServiceAccountName(serviceAccountName)
"ServiceAccountName specifies the service account name of the executor container."
obj cronWorkflow.spec.workflowSpec.templateDefaults.http
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withBody
withBody(body)
"Body is content of the HTTP Request"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withHeaders
withHeaders(headers)
"Headers are an optional list of headers to send with HTTP requests"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withHeadersMixin
withHeadersMixin(headers)
"Headers are an optional list of headers to send with HTTP requests"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withInsecureSkipVerify
withInsecureSkipVerify(insecureSkipVerify)
"InsecureSkipVerify is a bool when if set to true will skip TLS verification for the HTTP client"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withMethod
withMethod(method)
"Method is HTTP methods for HTTP Request"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withSuccessCondition
withSuccessCondition(successCondition)
"SuccessCondition is an expression if evaluated to true is considered successful"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"TimeoutSeconds is request timeout for HTTP Request. Default is 30 seconds"
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.withUrl
withUrl(url)
"URL of the HTTP Request"
obj cronWorkflow.spec.workflowSpec.templateDefaults.http.bodyFrom
"HTTPBodySource contains the source of the HTTP body."
fn cronWorkflow.spec.workflowSpec.templateDefaults.http.bodyFrom.withBytes
withBytes(bytes)
obj cronWorkflow.spec.workflowSpec.templateDefaults.inputs
"Inputs are the mechanism for passing parameters, artifacts, volumes from one template to another"
fn cronWorkflow.spec.workflowSpec.templateDefaults.inputs.withArtifacts
withArtifacts(artifacts)
"Artifact are a list of artifacts passed as inputs"
fn cronWorkflow.spec.workflowSpec.templateDefaults.inputs.withArtifactsMixin
withArtifactsMixin(artifacts)
"Artifact are a list of artifacts passed as inputs"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.inputs.withParameters
withParameters(parameters)
"Parameters are a list of parameters passed as inputs"
fn cronWorkflow.spec.workflowSpec.templateDefaults.inputs.withParametersMixin
withParametersMixin(parameters)
"Parameters are a list of parameters passed as inputs"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.memoize
"Memoization enables caching for the Outputs of the template"
fn cronWorkflow.spec.workflowSpec.templateDefaults.memoize.withKey
withKey(key)
"Key is the key to use as the caching key"
fn cronWorkflow.spec.workflowSpec.templateDefaults.memoize.withMaxAge
withMaxAge(maxAge)
"MaxAge is the maximum age (e.g. \"180s\", \"24h\") of an entry that is still considered valid. If an entry is older than the MaxAge, it will be ignored."
obj cronWorkflow.spec.workflowSpec.templateDefaults.memoize.cache
"Cache is the configuration for the type of cache to be used"
obj cronWorkflow.spec.workflowSpec.templateDefaults.memoize.cache.configMap
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.templateDefaults.memoize.cache.configMap.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.templateDefaults.memoize.cache.configMap.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.memoize.cache.configMap.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.metadata
"Pod metdata"
fn cronWorkflow.spec.workflowSpec.templateDefaults.metadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.templateDefaults.metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.metadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.templateDefaults.metadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.metrics
"Metrics are a list of metrics emitted from a Workflow/Template"
fn cronWorkflow.spec.workflowSpec.templateDefaults.metrics.withPrometheus
withPrometheus(prometheus)
"Prometheus is a list of prometheus metrics to be emitted"
fn cronWorkflow.spec.workflowSpec.templateDefaults.metrics.withPrometheusMixin
withPrometheusMixin(prometheus)
"Prometheus is a list of prometheus metrics to be emitted"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.outputs
"Outputs hold parameters, artifacts, and results from a step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withArtifacts
withArtifacts(artifacts)
"Artifacts holds the list of output artifacts produced by a step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withArtifactsMixin
withArtifactsMixin(artifacts)
"Artifacts holds the list of output artifacts produced by a step"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withExitCode
withExitCode(exitCode)
"ExitCode holds the exit code of a script template"
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withParameters
withParameters(parameters)
"Parameters holds the list of output parameters produced by a step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withParametersMixin
withParametersMixin(parameters)
"Parameters holds the list of output parameters produced by a step"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.outputs.withResult
withResult(result)
"Result holds the result (stdout) of a script template"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource
"ResourceTemplate is a template subtype to manipulate kubernetes resources"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.withAction
withAction(action)
"Action is the action to perform to the resource. Must be one of: get, create, apply, delete, replace, patch"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.withManifest
withManifest(manifest)
"Manifest contains the kubernetes manifest"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.withMergeStrategy
withMergeStrategy(mergeStrategy)
"MergeStrategy is the strategy used to merge a patch. It defaults to \"strategic\" Must be one of: strategic, merge, json"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.withSetOwnerReference
withSetOwnerReference(setOwnerReference)
"SetOwnerReference sets the reference to the workflow on the OwnerReference of generated resource."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact
"Artifact indicates an artifact to place at a specified path"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withArchiveLogs
withArchiveLogs(archiveLogs)
"ArchiveLogs indicates if the container logs should be archived"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withDeleted
withDeleted(deleted)
"Has this been deleted?"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withFrom
withFrom(from)
"From allows an artifact to reference an artifact from a previous step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withFromExpression
withFromExpression(fromExpression)
"FromExpression, if defined, is evaluated to specify the value for the artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withName
withName(name)
"name of the artifact. must be unique within a template's inputs/outputs."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withOptional
withOptional(optional)
"Make Artifacts optional, if Artifacts doesn't generate or exist"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withPath
withPath(path)
"Path is the container path to the artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withRecurseMode
withRecurseMode(recurseMode)
"If mode is set, apply the permission recursively into the artifact if it is a folder"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.withSubPath
withSubPath(subPath)
"SubPath allows an artifact to be sourced from a subpath within the specified source"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive
"ArchiveStrategy describes how to archive files/directory when saving artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive.withZip
withZip(zip)
"ZipStrategy will unzip zipped input artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive.withZipMixin
withZipMixin(zip)
"ZipStrategy will unzip zipped input artifacts"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive.tar
"TarStrategy will tar and gzip the file or directory when saving"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.archive.tar.withCompressionLevel
withCompressionLevel(compressionLevel)
"CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.podMetadata
"Pod metdata"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.podMetadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.podMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.podMetadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactGC.podMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory
"ArtifactoryArtifact is the location of an artifactory artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.artifactory.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure
"AzureArtifact is the location of a an Azure Storage artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.withBlob
withBlob(blob)
"Blob is the blob name (i.e., path) in the container where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.withContainer
withContainer(container)
"Container is the container where resources will be stored"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.withEndpoint
withEndpoint(endpoint)
"Endpoint is the service url associated with an account. It is most likely \"https://
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.accountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.accountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.azure.accountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs
"GCSArtifact is the location of a GCS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs.serviceAccountKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs.serviceAccountKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.gcs.serviceAccountKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git
"GitArtifact is the location of an git artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withBranch
withBranch(branch)
"Branch is the branch to fetch when SingleBranch
is enabled"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withDisableSubmodules
withDisableSubmodules(disableSubmodules)
"DisableSubmodules disables submodules during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withFetch
withFetch(fetch)
"Fetch specifies a number of refs that should be fetched before checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withInsecureIgnoreHostKey
withInsecureIgnoreHostKey(insecureIgnoreHostKey)
"InsecureIgnoreHostKey disables SSH strict host key checking during git clone"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withRepo
withRepo(repo)
"Repo is the git repository"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withRevision
withRevision(revision)
"Revision is the git commit, tag, branch to checkout"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.withSingleBranch
withSingleBranch(singleBranch)
"SingleBranch enables single branch clone, using the branch
parameter"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.sshPrivateKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.sshPrivateKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.sshPrivateKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.git.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs
"HDFSArtifact is the location of an HDFS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withAddresses
withAddresses(addresses)
"Addresses is accessible addresses of HDFS name nodes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withAddressesMixin
withAddressesMixin(addresses)
"Addresses is accessible addresses of HDFS name nodes"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withForce
withForce(force)
"Force copies a file forcibly even if it exists"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withKrbRealm
withKrbRealm(krbRealm)
"KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withKrbUsername
withKrbUsername(krbUsername)
"KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.withPath
withPath(path)
"Path is a file path in HDFS"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbCCacheSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbCCacheSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbCCacheSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbConfigConfigMap
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbConfigConfigMap.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbConfigConfigMap.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbKeytabSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbKeytabSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.hdfs.krbKeytabSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http
"HTTPArtifact allows a file served on HTTP to be placed as an input artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.withHeaders
withHeaders(headers)
"Headers are an optional list of headers to send with HTTP requests for artifacts"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.withUrl
withUrl(url)
"URL of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth
"BasicAuth describes the secret selectors required for basic authentication"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.passwordSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.passwordSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.passwordSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.usernameSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.usernameSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.basicAuth.usernameSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert
"ClientCertAuth holds necessary information for client authentication via certificates"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientCertSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientCertSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientCertSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.clientCert.clientKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2
"OAuth2Auth holds all information for client authentication via OAuth2 tokens"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.withEndpointParams
withEndpointParams(endpointParams)
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.withEndpointParamsMixin
withEndpointParamsMixin(endpointParams)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.withScopes
withScopes(scopes)
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.withScopesMixin
withScopesMixin(scopes)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientIDSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientIDSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientIDSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientSecretSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientSecretSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.clientSecretSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.tokenURLSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.tokenURLSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.http.auth.oauth2.tokenURLSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss
"OSSArtifact is the location of an Alibaba Cloud OSS artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.withKey
withKey(key)
"Key is the path in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.lifecycleRule
"OSSLifecycleRule specifies how to manage bucket's lifecycle"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.lifecycleRule.withMarkDeletionAfterDays
withMarkDeletionAfterDays(markDeletionAfterDays)
"MarkDeletionAfterDays is the number of days before we delete objects in the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.oss.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.raw
"RawArtifact allows raw string content to be placed as an artifact in a container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.raw.withData
withData(data)
"Data is the string contents of the artifact"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3
"S3Artifact is the location of an S3 artifact"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withBucket
withBucket(bucket)
"Bucket is the name of the bucket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withEndpoint
withEndpoint(endpoint)
"Endpoint is the hostname of the bucket endpoint"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withInsecure
withInsecure(insecure)
"Insecure will connect to the service with TLS"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withKey
withKey(key)
"Key is the key in the bucket where the artifact resides"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withRegion
withRegion(region)
"Region contains the optional bucket region"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withRoleARN
withRoleARN(roleARN)
"RoleARN is the Amazon Resource Name (ARN) of the role to assume."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.withUseSDKCreds
withUseSDKCreds(useSDKCreds)
"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.accessKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.accessKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.accessKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.caSecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.caSecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.caSecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.createBucketIfNotPresent
"CreateS3BucketOptions options used to determine automatic automatic bucket-creation process"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.createBucketIfNotPresent.withObjectLocking
withObjectLocking(objectLocking)
"ObjectLocking Enable object locking"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions
"S3EncryptionOptions used to determine encryption options during s3 operations"
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions.withKmsKeyId
withKmsKeyId(kmsKeyId)
"KMSKeyId tells the driver to encrypt the object using the specified KMS Key."
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.encryptionOptions.serverSideCustomerKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.secretKeySecret
"SecretKeySelector selects a key of a Secret."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.secretKeySecret.withKey
withKey(key)
"The key of the secret to select from. Must be a valid secret key."
fn cronWorkflow.spec.workflowSpec.templateDefaults.resource.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 cronWorkflow.spec.workflowSpec.templateDefaults.resource.manifestFrom.artifact.s3.secretKeySecret.withOptional
withOptional(optional)
"Specify whether the Secret or its key must be defined"
obj cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy
"RetryStrategy provides controls on how to retry a workflow step"
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.withExpression
withExpression(expression)
"Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored"
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.withLimit
withLimit(limit)
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.withRetryPolicy
withRetryPolicy(retryPolicy)
"RetryPolicy is a policy of NodePhase statuses that will be retried"
obj cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.affinity
"RetryAffinity prevents running steps on the same host."
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.affinity.withNodeAntiAffinity
withNodeAntiAffinity(nodeAntiAffinity)
"RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\"."
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.affinity.withNodeAntiAffinityMixin
withNodeAntiAffinityMixin(nodeAntiAffinity)
"RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. In order to prevent running steps on the same host, it uses \"kubernetes.io/hostname\"."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.backoff
"Backoff is a backoff strategy to use within retryStrategy"
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.backoff.withDuration
withDuration(duration)
"Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")"
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.backoff.withFactor
withFactor(factor)
fn cronWorkflow.spec.workflowSpec.templateDefaults.retryStrategy.backoff.withMaxDuration
withMaxDuration(maxDuration)
"MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script
"ScriptTemplate is a template subtype to enable scripting through code steps"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withArgs
withArgs(args)
"Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withArgsMixin
withArgsMixin(args)
"Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withCommand
withCommand(command)
"Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withCommandMixin
withCommandMixin(command)
"Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withEnv
withEnv(env)
"List of environment variables to set in the container. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withEnvFrom
withEnvFrom(envFrom)
"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withEnvFromMixin
withEnvFromMixin(envFrom)
"List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withEnvMixin
withEnvMixin(env)
"List of environment variables to set in the container. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withImage
withImage(image)
"Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withImagePullPolicy
withImagePullPolicy(imagePullPolicy)
"Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withName
withName(name)
"Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withPorts
withPorts(ports)
"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withPortsMixin
withPortsMixin(ports)
"List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withSource
withSource(source)
"Source contains the source code of the script to execute"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withStdin
withStdin(stdin)
"Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withStdinOnce
withStdinOnce(stdinOnce)
"Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withTerminationMessagePath
withTerminationMessagePath(terminationMessagePath)
"Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withTerminationMessagePolicy
withTerminationMessagePolicy(terminationMessagePolicy)
"Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withTty
withTty(tty)
"Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withVolumeDevices
withVolumeDevices(volumeDevices)
"volumeDevices is the list of block devices to be used by the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withVolumeDevicesMixin
withVolumeDevicesMixin(volumeDevices)
"volumeDevices is the list of block devices to be used by the container."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withVolumeMounts
withVolumeMounts(volumeMounts)
"Pod volumes to mount into the container's filesystem. Cannot be updated."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withVolumeMountsMixin
withVolumeMountsMixin(volumeMounts)
"Pod volumes to mount into the container's filesystem. Cannot be updated."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.withWorkingDir
withWorkingDir(workingDir)
"Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle
"Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart
"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.postStart.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop
"LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.lifecycle.preStop.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.livenessProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.readinessProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.resources
"ResourceRequirements describes the compute resource requirements."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.resources.withLimits
withLimits(limits)
"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.resources.withLimitsMixin
withLimitsMixin(limits)
"Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.resources.withRequests
withRequests(requests)
"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.resources.withRequestsMixin
withRequestsMixin(requests)
"Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext
"SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withAllowPrivilegeEscalation
withAllowPrivilegeEscalation(allowPrivilegeEscalation)
"AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withPrivileged
withPrivileged(privileged)
"Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withProcMount
withProcMount(procMount)
"procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withReadOnlyRootFilesystem
withReadOnlyRootFilesystem(readOnlyRootFilesystem)
"Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.withRunAsUser
withRunAsUser(runAsUser)
"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities
"Adds and removes POSIX capabilities from running containers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities.withAdd
withAdd(add)
"Added capabilities"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities.withAddMixin
withAddMixin(add)
"Added capabilities"
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities.withDrop
withDrop(drop)
"Removed capabilities"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.capabilities.withDropMixin
withDropMixin(drop)
"Removed capabilities"
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions
"SELinuxOptions are the labels to be applied to the container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions.withLevel
withLevel(level)
"Level is SELinux level label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions.withRole
withRole(role)
"Role is a SELinux role label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions.withType
withType(type)
"Type is a SELinux type label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seLinuxOptions.withUser
withUser(user)
"User is a SELinux user label that applies to the container."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seccompProfile
"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.seccompProfile.withType
withType(type)
"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - \"Localhost\"
indicates a profile defined in a file on the node should be used. The file's location relative to \"RuntimeDefault\"
represents the default container runtime seccomp profile.\n - \"Unconfined\"
indicates no seccomp profile is applied (A.K.A. unconfined)."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions
"WindowsSecurityContextOptions contain Windows-specific options and credentials."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
"GMSACredentialSpecName is the name of the GMSA credential spec to use."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe
"Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withFailureThreshold
withFailureThreshold(failureThreshold)
"Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withInitialDelaySeconds
withInitialDelaySeconds(initialDelaySeconds)
"Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withPeriodSeconds
withPeriodSeconds(periodSeconds)
"How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withSuccessThreshold
withSuccessThreshold(successThreshold)
"Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withTerminationGracePeriodSeconds
withTerminationGracePeriodSeconds(terminationGracePeriodSeconds)
"Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.withTimeoutSeconds
withTimeoutSeconds(timeoutSeconds)
"Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.exec
"ExecAction describes a \"run in container\" action."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.exec.withCommand
withCommand(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.exec.withCommandMixin
withCommandMixin(command)
"Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.grpc
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.grpc.withPort
withPort(port)
"Port number of the gRPC service. Number must be in the range 1 to 65535."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.grpc.withService
withService(service)
"Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC."
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet
"HTTPGetAction describes an action based on HTTP Get requests."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withHost
withHost(host)
"Host name to connect to, defaults to the pod IP. You probably want to set \"Host\" in httpHeaders instead."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withHttpHeaders
withHttpHeaders(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withHttpHeadersMixin
withHttpHeadersMixin(httpHeaders)
"Custom headers to set in the request. HTTP allows repeated headers."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withPath
withPath(path)
"Path to access on the HTTP server."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withPort
withPort(port)
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.httpGet.withScheme
withScheme(scheme)
"Scheme to use for connecting to the host. Defaults to HTTP.\n\nPossible enum values:\n - \"HTTP\"
means that the scheme used will be http://\n - \"HTTPS\"
means that the scheme used will be https://"
obj cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.tcpSocket
"TCPSocketAction describes an action based on opening a socket"
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.tcpSocket.withHost
withHost(host)
"Optional: Host name to connect to, defaults to the pod IP."
fn cronWorkflow.spec.workflowSpec.templateDefaults.script.startupProbe.tcpSocket.withPort
withPort(port)
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext
"PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withFsGroup
withFsGroup(fsGroup)
"A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod:\n\n1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withFsGroupChangePolicy
withFsGroupChangePolicy(fsGroupChangePolicy)
"fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withRunAsGroup
withRunAsGroup(runAsGroup)
"The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withRunAsNonRoot
withRunAsNonRoot(runAsNonRoot)
"Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withRunAsUser
withRunAsUser(runAsUser)
"The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withSupplementalGroups
withSupplementalGroups(supplementalGroups)
"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withSupplementalGroupsMixin
withSupplementalGroupsMixin(supplementalGroups)
"A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. Note that this field cannot be set when spec.os.name is windows."
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withSysctls
withSysctls(sysctls)
"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.withSysctlsMixin
withSysctlsMixin(sysctls)
"Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows."
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions
"SELinuxOptions are the labels to be applied to the container"
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions.withLevel
withLevel(level)
"Level is SELinux level label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions.withRole
withRole(role)
"Role is a SELinux role label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions.withType
withType(type)
"Type is a SELinux type label that applies to the container."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seLinuxOptions.withUser
withUser(user)
"User is a SELinux user label that applies to the container."
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seccompProfile
"SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seccompProfile.withLocalhostProfile
withLocalhostProfile(localhostProfile)
"localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is \"Localhost\"."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.seccompProfile.withType
withType(type)
"type indicates which kind of seccomp profile will be applied. Valid options are:\n\nLocalhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.\n\nPossible enum values:\n - \"Localhost\"
indicates a profile defined in a file on the node should be used. The file's location relative to \"RuntimeDefault\"
represents the default container runtime seccomp profile.\n - \"Unconfined\"
indicates no seccomp profile is applied (A.K.A. unconfined)."
obj cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions
"WindowsSecurityContextOptions contain Windows-specific options and credentials."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions.withGmsaCredentialSpec
withGmsaCredentialSpec(gmsaCredentialSpec)
"GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions.withGmsaCredentialSpecName
withGmsaCredentialSpecName(gmsaCredentialSpecName)
"GMSACredentialSpecName is the name of the GMSA credential spec to use."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions.withHostProcess
withHostProcess(hostProcess)
"HostProcess determines if a container should be run as a 'Host Process' container. This field is alpha-level and will only be honored by components that enable the WindowsHostProcessContainers feature flag. Setting this field without the feature flag will result in errors when validating the Pod. All of a Pod's containers must have the same effective HostProcess value (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). In addition, if HostProcess is true then HostNetwork must also be set to true."
fn cronWorkflow.spec.workflowSpec.templateDefaults.securityContext.windowsOptions.withRunAsUserName
withRunAsUserName(runAsUserName)
"The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence."
obj cronWorkflow.spec.workflowSpec.templateDefaults.suspend
"SuspendTemplate is a template subtype to suspend a workflow at a predetermined point in time"
fn cronWorkflow.spec.workflowSpec.templateDefaults.suspend.withDuration
withDuration(duration)
"Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. Could also be a Duration, e.g.: \"2m\", \"6h\
obj cronWorkflow.spec.workflowSpec.templateDefaults.synchronization
"Synchronization holds synchronization lock configuration"
obj cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.mutex
"Mutex holds Mutex configuration"
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.mutex.withName
withName(name)
"name of the mutex"
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.mutex.withNamespace
withNamespace(namespace)
"Namespace is the namespace of the mutex, default: [namespace of workflow]"
obj cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore
"SemaphoreRef is a reference of Semaphore"
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore.withNamespace
withNamespace(namespace)
"Namespace is the namespace of the configmap, default: [namespace of workflow]"
obj cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore.configMapKeyRef
"Selects a key from a ConfigMap."
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore.configMapKeyRef.withKey
withKey(key)
"The key to select."
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore.configMapKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn cronWorkflow.spec.workflowSpec.templateDefaults.synchronization.semaphore.configMapKeyRef.withOptional
withOptional(optional)
"Specify whether the ConfigMap or its key must be defined"
obj cronWorkflow.spec.workflowSpec.ttlStrategy
"TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed"
fn cronWorkflow.spec.workflowSpec.ttlStrategy.withSecondsAfterCompletion
withSecondsAfterCompletion(secondsAfterCompletion)
"SecondsAfterCompletion is the number of seconds to live after completion"
fn cronWorkflow.spec.workflowSpec.ttlStrategy.withSecondsAfterFailure
withSecondsAfterFailure(secondsAfterFailure)
"SecondsAfterFailure is the number of seconds to live after failure"
fn cronWorkflow.spec.workflowSpec.ttlStrategy.withSecondsAfterSuccess
withSecondsAfterSuccess(secondsAfterSuccess)
"SecondsAfterSuccess is the number of seconds to live after success"
obj cronWorkflow.spec.workflowSpec.volumeClaimGC
"VolumeClaimGC describes how to delete volumes from completed Workflows"
fn cronWorkflow.spec.workflowSpec.volumeClaimGC.withStrategy
withStrategy(strategy)
"Strategy is the strategy to use. One of \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". Defaults to \"OnWorkflowSuccess\
obj cronWorkflow.spec.workflowSpec.workflowMetadata
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withAnnotations
withAnnotations(annotations)
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withLabels
withLabels(labels)
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withLabelsFrom
withLabelsFrom(labelsFrom)
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withLabelsFromMixin
withLabelsFromMixin(labelsFrom)
Note: This function appends passed data to existing values
fn cronWorkflow.spec.workflowSpec.workflowMetadata.withLabelsMixin
withLabelsMixin(labels)
Note: This function appends passed data to existing values
obj cronWorkflow.spec.workflowSpec.workflowTemplateRef
"WorkflowTemplateRef is a reference to a WorkflowTemplate resource."
fn cronWorkflow.spec.workflowSpec.workflowTemplateRef.withClusterScope
withClusterScope(clusterScope)
"ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate)."
fn cronWorkflow.spec.workflowSpec.workflowTemplateRef.withName
withName(name)
"Name is the resource name of the workflow template."