Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support affinity for scan jobs #1915

Merged
merged 4 commits into from Mar 19, 2024

Conversation

maxbrunet
Copy link
Contributor

Description

Allow setting pod affinity for node-collector and scan-jobs with the scanJob.affinity config option. If not set, the "Linux affinity" remains the default.

Closes #1835

Checklist

  • I've read the guidelines for contributing to this repository.
  • I've added tests that prove my fix is effective or that my feature works.
  • I've updated the documentation with the relevant information (if needed).
  • I've added usage information (if the PR introduces new options)
  • I've included a "before" and "after" example to the description (if the PR is a user interface change).

@chen-keinan
Copy link
Collaborator

@maxbrunet please take a look at test fail

@chen-keinan
Copy link
Collaborator

@maxbrunet also run the following to update generated docs and static files:

mage generate:docs
mage generate:all

Copy link
Collaborator

@chen-keinan chen-keinan left a comment

Choose a reason for hiding this comment

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

@maxbrunet lgtm 🚀 thank you for the contribution

@chen-keinan chen-keinan merged commit d62c500 into aquasecurity:main Mar 19, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support affinities for scan jobs
2 participants