Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure trivy for compass-manager #7401

Merged
merged 3 commits into from
Apr 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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