Add support for trivy dbRepository and javaDBRepository#1857
Add support for trivy dbRepository and javaDBRepository#1857wy65701436 merged 1 commit intogoharbor:mainfrom
Conversation
8d0b19c to
e0582ef
Compare
Vad1mo
left a comment
There was a problem hiding this comment.
can you point me to the upstream Trviy documentation?
I can't find anything related to SCANNER_TRIVY_DB_REPOSITORY in trivy.
|
Here is the documentation for |
|
I will add support for multiple database repositories and mark the pull request as ready along with goharbor/harbor-scanner-trivy#7 as soon as trivy has decided which repositories to put as default. |
9513f87 to
9625b00
Compare
9625b00 to
7b460f1
Compare
|
This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days. |
|
This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days. |
|
+1 |
c9de3e8 to
63e13f8
Compare
feat: support multiple db repositories Signed-off-by: Benjamin Bordes <benjaminbordes78@gmail.com> fix template error && add unittest for trivy db repository Signed-off-by: my036811 <miner.yang@broadcom.com>
59c6d8e to
d3b5645
Compare
|
Hi @benji78, Thanks for contributing to harbor-helm, and this new feature would delivered along with harbor-helm v1.18.0(app version v2.14.0). Best, |
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [harbor](https://goharbor.io) ([source](https://github.com/goharbor/harbor-helm)) | minor | `1.17.2` -> `1.18.0` | --- ### Release Notes <details> <summary>goharbor/harbor-helm (harbor)</summary> ### [`v1.18.0`](https://github.com/goharbor/harbor-helm/releases/tag/v1.18.0) [Compare Source](goharbor/harbor-helm@v1.17.2...v1.18.0) <!-- Release notes generated using configuration in .github/release.yml at 1.18.0 --> Harbor OSS version: v2.14.0 #### What's Changed ##### Other Changes - Fix: fix bug where log level configuration was not applied by [@​sisilia91](https://github.com/sisilia91) in [#​2167](goharbor/harbor-helm#2167) - Added existingSecretAdminPassword to the values.yaml file by [@​rkthtrifork](https://github.com/rkthtrifork) in [#​2180](goharbor/harbor-helm#2180) - add proxy timeout for nginx https config by [@​MinerYang](https://github.com/MinerYang) in [#​2202](goharbor/harbor-helm#2202) - update adapter list for replication and proxy-cache by [@​MinerYang](https://github.com/MinerYang) in [#​2223](goharbor/harbor-helm#2223) - Fix ArgoCD sync by [@​drewhemm](https://github.com/drewhemm) in [#​2173](goharbor/harbor-helm#2173) - feat(gw-api): add support for HTTPRoutes by [@​larivierec](https://github.com/larivierec) in [#​2175](goharbor/harbor-helm#2175) - feat: Added support for configuring dual-stack services ([#​2212](goharbor/harbor-helm#2212)) by [@​reasonerjt](https://github.com/reasonerjt) in [#​2226](goharbor/harbor-helm#2226) - Add support for trivy dbRepository and javaDBRepository by [@​benji78](https://github.com/benji78) in [#​1857](goharbor/harbor-helm#1857) - fix redis existingSecret with username url rendering by [@​MinerYang](https://github.com/MinerYang) in [#​2231](goharbor/harbor-helm#2231) - \[Cherry-pick]Move extraEnvVars and add tests by [@​MinerYang](https://github.com/MinerYang) in [#​2236](goharbor/harbor-helm#2236) - \[cherry-pick]bump k8s version matrix ([#​2238](goharbor/harbor-helm#2238)) by [@​MinerYang](https://github.com/MinerYang) in [#​2239](goharbor/harbor-helm#2239) - Bump version to 1.14.0, appVersion to 2.14.0 by [@​MinerYang](https://github.com/MinerYang) in [#​2242](goharbor/harbor-helm#2242) #### New Contributors - [@​sisilia91](https://github.com/sisilia91) made their first contribution in [#​2167](goharbor/harbor-helm#2167) - [@​rkthtrifork](https://github.com/rkthtrifork) made their first contribution in [#​2180](goharbor/harbor-helm#2180) - [@​drewhemm](https://github.com/drewhemm) made their first contribution in [#​2173](goharbor/harbor-helm#2173) - [@​larivierec](https://github.com/larivierec) made their first contribution in [#​2175](goharbor/harbor-helm#2175) - [@​benji78](https://github.com/benji78) made their first contribution in [#​1857](goharbor/harbor-helm#1857) **Full Changelog**: <goharbor/harbor-helm@v1.17.0...v1.18.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMTYuNiIsInVwZGF0ZWRJblZlciI6IjQxLjExNi42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJjaGFydCJdfQ==--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/1509 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
This adds support for custom trivy
dbRepositoryandjavaDBRepositorywhich was made possible throughSCANNER_TRIVY_DB_REPOSITORYandSCANNER_TRIVY_JAVA_DB_REPOSITORYenvironment variables added in goharbor/harbor-scanner-trivy/pull/3.Closes #1821