Skip to content

Commit

Permalink
retain last 1 execution only
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Jadhav <[email protected]>
  • Loading branch information
nyrahul committed Nov 24, 2023
1 parent 985f9b4 commit b206d3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accuknox-cis-job/templates/cis-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,7 @@ spec:
name: opt-cni-bin

schedule: "{{ .Values.accuknox.cronTab }}"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1

status: {}
2 changes: 2 additions & 0 deletions accuknox-k8tls-job/templates/k8tls-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ spec:
emptyDir: {}

schedule: "{{ .Values.accuknox.cronTab }}"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1

0 comments on commit b206d3c

Please sign in to comment.