Title: Add ability to configure affinity and tolerations for scans and hooks by malexmave · Pull Request #804 · secureCodeBox/secureCodeBox · GitHub
Open Graph Title: Add ability to configure affinity and tolerations for scans and hooks by malexmave · Pull Request #804 · secureCodeBox/secureCodeBox
X Title: Add ability to configure affinity and tolerations for scans and hooks by malexmave · Pull Request #804 · secureCodeBox/secureCodeBox
Description: Description This PR resolves #803 by adding affinity and tolerations to the ScanSpec and ScanCompletionHookSpec. Currently in draft state. Tasks: Add to ScanSpec and ScanCompletionHookSpec CRDs and re-generate them Add to controller (pull information from CRD and put it into the pod) Check if the JS definitions need to be updated (hooks, SDKs) Add new inheritX labels Add test cases for cascading hooks Test everything Double-check if the docs need to be updated anywhere or if everything is done automatically anyway @J12934: Is this something that would be useful to also add to the values.yaml for the different scanners? That way, you could have specific scan types always run with a specific toleration / affinity and would not need to specify it every single time. I will try to wrap this up later today so we can release it as part of 3.4 - that way the inconvenience of having to manually update CRDs can be lessened, as a CRD update is necessary anyway because of the new hook features. (Not looking forward to the merge conflicts - perhaps we should merge the other two PRs so I can quickly rebase on that branch to avoid that pain down the road?)
Open Graph Description: Description This PR resolves #803 by adding affinity and tolerations to the ScanSpec and ScanCompletionHookSpec. Currently in draft state. Tasks: Add to ScanSpec and ScanCompletionHookSpec CRDs a...
X Description: Description This PR resolves #803 by adding affinity and tolerations to the ScanSpec and ScanCompletionHookSpec. Currently in draft state. Tasks: Add to ScanSpec and ScanCompletionHookSpec CRDs a...
Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/pull/804
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:4616899d-521f-02e5-1cac-966684645fef |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9828:C2A81:9A9B2:C810E:69901EFD |
| html-safe-nonce | 4e200c1a9fb2a4f10b4c1b9363a725acba1f9f1848bd5953949fdd149bff0954 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODI4OkMyQTgxOjlBOUIyOkM4MTBFOjY5OTAxRUZEIiwidmlzaXRvcl9pZCI6IjcwMzM3NjcwMjc4Nzg2NjU5ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a923e2e350d48ab81f7a7eed447a68d826f3eb3e8e410584cde05766890a47b6 |
| hovercard-subject-tag | pull_request:777316557 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/secureCodeBox/secureCodeBox/pull/804/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1688580?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1688580?s=400&v=4 |
| og:image:alt | Description This PR resolves #803 by adding affinity and tolerations to the ScanSpec and ScanCompletionHookSpec. Currently in draft state. Tasks: Add to ScanSpec and ScanCompletionHookSpec CRDs a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git |
| octolytics-dimension-user_id | 34573705 |
| octolytics-dimension-user_login | secureCodeBox |
| octolytics-dimension-repository_id | 80711933 |
| octolytics-dimension-repository_nwo | secureCodeBox/secureCodeBox |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80711933 |
| octolytics-dimension-repository_network_root_nwo | secureCodeBox/secureCodeBox |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width