Skip to content

Commit

Permalink
Configure trivy for compass-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Apr 3, 2023
1 parent 808ab0e commit 571ccff
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions prow/jobs/kyma-project/compass-manager/static-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
presubmits: # runs on PRs
kyma-project/compass-manager:
- name: pre-main-compass-manager-trivy
annotations:
pipeline.test: "fast-integration"
pipeline.trigger: "pr-submit"
pipeline.type: "integration"
labels:
prow.k8s.io/pubsub.project: "sap-kyma-prow"
prow.k8s.io/pubsub.runID: "pre-main-compass-manager-trivy"
prow.k8s.io/pubsub.topic: "prowjobs"
run_if_changed: '.+'
skip_report: false
decorate: true
path_alias: github.com/kyma-project/kyma
cluster: untrusted-workload
max_concurrency: 10
branches:
- ^main$
spec:
containers:
- image: "aquasec/trivy:0.39.0"
args: ["trivy", "fs", "--config", ".trivy.yaml", "."]
resources:
requests:
memory: 300Mi
cpu: 500m
limits:
memory: 1Gi
cpu: 1
securityContext:
privileged: true

0 comments on commit 571ccff

Please sign in to comment.