feat(clientServer): add support for extraVolumes in trivy-server#2738
Merged
simar7 merged 1 commit intoaquasecurity:mainfrom Sep 10, 2025
Merged
feat(clientServer): add support for extraVolumes in trivy-server#2738simar7 merged 1 commit intoaquasecurity:mainfrom
simar7 merged 1 commit intoaquasecurity:mainfrom
Conversation
Contributor
|
@hichem-belhocine thanks for your contribution! |
eb1da37 to
4a535ed
Compare
Contributor
Author
Done thanks @afdesk |
Contributor
Author
|
@simar7 could you take a look at this PR when you have time? |
afdesk
reviewed
Sep 9, 2025
deploy/helm/values.yaml
Outdated
| replicas: 1 | ||
|
|
||
| # -- volumes set trivy-server volumes | ||
| extraVolumes: |
Contributor
There was a problem hiding this comment.
@hichem-belhocine
what do you think if we add a server server for this block?
something like extraServerVolumes
Contributor
Author
There was a problem hiding this comment.
it's OK for me, should i change it?
Contributor
|
@hichem-belhocine thanks! |
Contributor
|
@hichem-belhocine |
4a535ed to
8b05851
Compare
Refactors values.yaml to introduce two top-level keys: - trivy.server.extraVolumes.volumeMounts - trivy.server.extraVolumes.volumes This allows mounting additional ConfigMaps or Secrets into the trivy-server Statefulset
8b05851 to
daa7346
Compare
Contributor
Author
Done |
afdesk
approved these changes
Sep 10, 2025
Contributor
afdesk
left a comment
There was a problem hiding this comment.
@hichem-belhocine thanks for your efforts!
LGTM!
@simar7 could you pls take a look too?
simar7
approved these changes
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactors values.yaml to introduce two top-level keys:
This allows mounting additional ConfigMaps or Secrets into the trivy-server Statefulset
Description
The server needs to get the vulnerability database from docker registry e.g., Artifactory which uses certs
Error:
Failed to verify certificates: x509: certificate signed by unknown authority
Solution
Mounting CAs as a volume solves the issue
Related issues
Remove this section if you don't have related PRs.
Checklist