Skip to content

Commit 3536617

Browse files
author
sg
committed
model scan example workflow
1 parent 505fe8d commit 3536617

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
nameSuffix: -machine-learning-project
5+
components:
6+
- pkg:helm/dracon-oss-components/base
7+
- pkg:helm/dracon-oss-components/git-clone
8+
- components/producers/modelscan
9+
- pkg:helm/dracon-oss-components/producer-aggregator
10+
- pkg:helm/dracon-oss-components/enricher-codeowners
11+
- pkg:helm/dracon-oss-components/enricher-aggregator
12+
- pkg:helm/dracon-oss-components/consumer-stdout-json
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
apiVersion: tekton.dev/v1beta1
3+
kind: PipelineRun
4+
metadata:
5+
generateName: dracon-machine-learning-project-
6+
spec:
7+
pipelineRef:
8+
name: dracon-machine-learning-project
9+
params:
10+
- name: git-clone-url
11+
value: https://github.com/ocurity/e2e-monorepo.git
12+
- name: producer-modelscan-relative-path-to-model
13+
value: "vulnerable-ml-models/unsafe_xgboost_model.pkl"
14+
workspaces:
15+
- name: output
16+
volumeClaimTemplate:
17+
spec:
18+
accessModes:
19+
- ReadWriteOnce
20+
resources:
21+
requests:
22+
storage: 1Gi

0 commit comments

Comments
 (0)