Skip to content

Commit

Permalink
Add helm example (#2)
Browse files Browse the repository at this point in the history
* Update README.md with installation instructions for argocd-trivy-extension

Signed-off-by: Aleksey Sviridkin <[email protected]>

* Update README.md with release notes and license information

Signed-off-by: Aleksey Sviridkin <[email protected]>

* Update README.md with resized images and UI improvements

Signed-off-by: Aleksey Sviridkin <[email protected]>

---------

Signed-off-by: Aleksey Sviridkin <[email protected]>
  • Loading branch information
lexfrei authored Apr 11, 2024
1 parent 69f94fd commit 641b164
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,42 @@
## argocd-trivy-extension
# argocd-trivy-extension

Argo CD UI extension that displays vulnerability report data from [Trivy](https://aquasecurity.github.io/trivy), an open source security scanner.

`Trivy` creates a vulnerability report Kubernetes resource with the results of a security scan. The UI extension then parses the report data and displays it as a grid and dashboard viewable in Pod resources within the Argo CD UI.

<img src="./docs/table.png" width="85%" display="inline-flex"/> <img alt="vulnerabilities dashboard" src="./docs/dashboard.png" width="85%"/>

## Prerequisites

- Argo CD version 2.6+
- [Trivy Operator](https://aquasecurity.github.io/trivy-operator/v0.3.0/operator/)



## Install UI extension

The UI extension needs to be installed by mounting the React component in Argo CD API server. This process can be automated by using the argocd-extension-installer. This installation method will run an init container that will download, extract and place the file in the correct location.

### Helm

Use this values.yaml file to install the extension using Helm:

```yaml
server:
extensions:
enabled: true
extensionList:
- name: extension-trivy
env:
- name: EXTENSION_URL
value: https://github.com/mziyabo/argocd-trivy-extension/releases/download/v0.1.0/extension-trivy.tar
- name: EXTENSION_CHECKSUM_URL
value: https://github.com/mziyabo/argocd-trivy-extension/releases/download/v0.1.0/extension-trivy_checksums.txt
```
### Kustomize
The yaml file below is an example of how to define a kustomize patch to install this UI extension:
``` sh
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -49,8 +68,10 @@ spec:
emptyDir: {}
```
### Release Notes:
## Release Notes
WIP, contributions welcome
### License:
Apache-2.0
## License
Apache-2.0

0 comments on commit 641b164

Please sign in to comment.