← 输入框|github.com|刷新
Skip to content

Added backoffLimit configuration option to all scan Jobs - #244

Merged
J12934 merged 6 commits into
mainfrom
feature/add-backoffLimit-and-mark-failed-jobs-accordingly
Dec 14, 2020
Merged

J12934 merged 6 commits into
mainfrom
feature/add-backoffLimit-and-mark-failed-jobs-accordingly

Conversation

@rfelber

@rfelber rfelber commented Dec 7, 2020 •

Copy link
Copy Markdown
Member

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.

Description

Closes #238

@rfelber rfelber added enhancement New feature or request CRD Improvements or additions to CRDs labels Dec 7, 2020
@rfelber rfelber self-assigned this Dec 7, 2020
@rfelber
rfelber marked this pull request as ready for review December 8, 2020 13:15
Comment on lines +14 to +16
{{- if .Values.scannerJob.backoffLimit }}
backoffLimit: {{ .Values.scannerJob.backoffLimit }}
{{- end }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd skip the if here and directly reference the backoff limit as we have a non nil default for it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok 🤷🏻‍♂️

@J12934
J12934 merged commit a34ca17 into main Dec 14, 2020
@J12934
J12934 deleted the feature/add-backoffLimit-and-mark-failed-jobs-accordingly branch December 14, 2020 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CRD Improvements or additions to CRDs enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scans are marked as Failed after the First Jobs has failed

2 participants