Skip to content

Commit

Permalink
Add trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed May 6, 2024
1 parent bd5b919 commit b02295c
Show file tree
Hide file tree
Showing 6 changed files with 444 additions and 0 deletions.
14 changes: 14 additions & 0 deletions applications/base/trivy/application.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
local app = import '../../lib/app.libsonnet';
local ns = import 'namespace.libsonnet';

app.new(
name='trivy',
path='applications/base/trivy',
namespace=ns.metadata.name,
).withChart(
name='trivy-operator',
repoURL='https://aquasecurity.github.io/helm-charts/',
targetRevision='0.22.1',
releaseName='trivy',
values='values.yaml'
)
5 changes: 5 additions & 0 deletions applications/base/trivy/main.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// jsonnet base/trivy/main.jsonnet -J vendor

local ns = import 'namespace.libsonnet';

[ns]
3 changes: 3 additions & 0 deletions applications/base/trivy/namespace.libsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
local k = import '../../lib/k.libsonnet';

k.core.v1.namespace.new('trivy')
Loading

0 comments on commit b02295c

Please sign in to comment.