Skip to content

Commit

Permalink
UD-1393: specify default resource values for Trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
knrc committed Aug 27, 2024
1 parent 316ba78 commit 2a8b0c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/zora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The following table lists the configurable parameters of the Zora chart and thei
| scan.plugins.marvin.envFrom | list | `[]` | List of sources to populate environment variables in marvin container. |
| scan.plugins.trivy.ignoreUnfixed | bool | `false` | Specifies whether only fixed vulnerabilities should be reported |
| scan.plugins.trivy.ignoreDescriptions | bool | `false` | Specifies whether vulnerability descriptions should be ignored |
| scan.plugins.trivy.resources | object | `{}` | [Resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers) to add to `trivy` container |
| scan.plugins.trivy.resources | object | `{"limits":{"cpu":"1500m","memory":"4096Mi"},"requests":{"cpu":500,"memory":"2048Mi"}}` | [Resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers) to add to `trivy` container |
| scan.plugins.trivy.podAnnotations | object | `{}` | Annotations added to the trivy pods |
| scan.plugins.trivy.image.repository | string | `"ghcr.io/undistro/trivy"` | trivy plugin image repository |
| scan.plugins.trivy.image.tag | float | `0.53` | trivy plugin image tag |
Expand Down
8 changes: 7 additions & 1 deletion charts/zora/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,13 @@ scan:
# -- Specifies whether vulnerability descriptions should be ignored
ignoreDescriptions: false
# -- [Resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers) to add to `trivy` container
resources: {}
resources:
requests:
cpu: 500
memory: 2048Mi
limits:
cpu: 1500m
memory: 4096Mi
# -- Annotations added to the trivy pods
podAnnotations: {}
image:
Expand Down

0 comments on commit 2a8b0c4

Please sign in to comment.