{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-argoproj-workflow-v1alpha1-pod-gc-schema.json",
"title": "io.argoproj.workflow.v1alpha1.PodGC",
"description": "PodGC describes how to delete completed pods as they complete",
"type": "object",
"properties": {
"deleteDelayDuration": {
"description": "DeleteDelayDuration specifies the duration before pods in the GC queue get deleted.",
"type": "string"
},
"labelSelector": {
"description": "LabelSelector is the label selector to check if the pods match the labels before being added to the pod GC queue.",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
},
"strategy": {
"description": "Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods",
"type": "string"
}
}
}