Skip to content

workflow.v1alpha1.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"

Index

Fields

fn withServiceAccountName

withServiceAccountName(serviceAccountName)

"ServiceAccountName is an optional field for specifying the Service Account that should be assigned to the Pod doing the deletion"

fn withStrategy

withStrategy(strategy)

"Strategy is the strategy to use."

obj podMetadata

"Pod metdata"

fn podMetadata.withAnnotations

withAnnotations(annotations)

fn podMetadata.withAnnotationsMixin

withAnnotationsMixin(annotations)

Note: This function appends passed data to existing values

fn podMetadata.withLabels

withLabels(labels)

fn podMetadata.withLabelsMixin

withLabelsMixin(labels)

Note: This function appends passed data to existing values