diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml index 4563b9c0a3..125350bf4c 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/cronjobs.yaml @@ -11,6 +11,7 @@ metadata: namespace: {{ .Release.Namespace }} spec: schedule: "{{ .Values.crons.vulnerabilities }}" + successfulJobsHistoryLimit: 0 jobTemplate: spec: template: diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml index 8986e1513f..bfeef59398 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml @@ -10,6 +10,7 @@ metadata: name: {{ .Values.fleetName }}-migration namespace: {{ .Release.Namespace }} spec: + ttlSecondsAfterFinished: 100 template: metadata: {{- with .Values.podAnnotations }}