Skip to content

Commit

Permalink
UD-1211: Switch trivy image over to the undistro spin
Browse files Browse the repository at this point in the history
  • Loading branch information
knrc committed Mar 22, 2024
1 parent 960921a commit 8cd1d60
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/zora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ The following table lists the configurable parameters of the Zora chart and thei
| 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.podAnnotations | object | `{}` | Annotations added to the trivy pods |
| scan.plugins.trivy.image.repository | string | `"ghcr.io/aquasecurity/trivy"` | trivy plugin image repository |
| scan.plugins.trivy.image.tag | string | `"0.49.1"` | trivy plugin image tag |
| scan.plugins.trivy.image.repository | string | `"ghcr.io/undistro/trivy"` | trivy plugin image repository |
| scan.plugins.trivy.image.tag | string | `"0.49.1-3"` | trivy plugin image tag |
| scan.plugins.trivy.env | list | `[]` | List of environment variables to set in trivy container. |
| scan.plugins.trivy.envFrom | list | `[]` | List of sources to populate environment variables in trivy container. |
| scan.plugins.trivy.timeout | string | `"10m"` | Trivy timeout |
Expand Down
4 changes: 2 additions & 2 deletions charts/zora/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ scan:
podAnnotations: {}
image:
# -- trivy plugin image repository
repository: ghcr.io/aquasecurity/trivy
repository: ghcr.io/undistro/trivy
# -- trivy plugin image tag
tag: 0.49.1
tag: 0.49.1-3
# -- List of environment variables to set in trivy container.
env: []
# - name: AWS_REGION
Expand Down
2 changes: 1 addition & 1 deletion config/samples/zora_v1alpha1_plugin_trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: trivy
spec:
type: vulnerability
image: ghcr.io/aquasecurity/trivy:0.49.1
image: ghcr.io/undistro/trivy:0.49.1-3
securityContext:
allowPrivilegeEscalation: false
env:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kubectl get plugins -n zora-system
NAME IMAGE TYPE AGE
marvin ghcr.io/undistro/marvin:v0.2.1 misconfiguration 14m
popeye ghcr.io/undistro/popeye:v0.11.3 misconfiguration 14m
trivy ghcr.io/aquasecurity/trivy:0.49.1 vulnerability 14m
trivy ghcr.io/undistro/trivy:0.49.1-3 vulnerability 14m
```

Each item listed above is an instance of `Plugin` CRD and represents the execution configuration of a plugin.
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/trivy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ in different targets like containers, code repositories and **Kubernetes cluster

:octicons-codescan-24: **Type**: `vulnerability`

:simple-docker: **Image**: `ghcr.io/aquasecurity/trivy:0.49.1`
:simple-docker: **Image**: `ghcr.io/undistro/trivy:0.49.1-3`

:simple-github: **GitHub repository**: [https://github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy){:target="_blank"}

Expand Down

0 comments on commit 8cd1d60

Please sign in to comment.