From 98fce578f3bee3a5922f8525de834e497c2224a3 Mon Sep 17 00:00:00 2001 From: sg Date: Wed, 18 Sep 2024 21:34:59 +0100 Subject: [PATCH] example snyk workflow --- .../pipelines/snyk-project/kustomization.yaml | 11 ++++++++++ .../pipelines/snyk-project/pipelinerun.yaml | 22 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 examples/pipelines/snyk-project/kustomization.yaml create mode 100644 examples/pipelines/snyk-project/pipelinerun.yaml diff --git a/examples/pipelines/snyk-project/kustomization.yaml b/examples/pipelines/snyk-project/kustomization.yaml new file mode 100644 index 000000000..f9c3c63de --- /dev/null +++ b/examples/pipelines/snyk-project/kustomization.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +nameSuffix: -snyk-project +components: + - pkg:helm/dracon-oss-components/base + - pkg:helm/dracon-oss-components/producer-snyk + - pkg:helm/dracon-oss-components/producer-aggregator + - pkg:helm/dracon-oss-components/enricher-deduplication + - pkg:helm/dracon-oss-components/enricher-aggregator + - pkg:helm/dracon-oss-components/consumer-stdout-json diff --git a/examples/pipelines/snyk-project/pipelinerun.yaml b/examples/pipelines/snyk-project/pipelinerun.yaml new file mode 100644 index 000000000..4bfda0945 --- /dev/null +++ b/examples/pipelines/snyk-project/pipelinerun.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: tekton.dev/v1beta1 +kind: PipelineRun +metadata: + generateName: dracon-snyk-project- +spec: + pipelineRef: + name: dracon-snyk-project + params: + - name: producer-snyk-docker-api-key + value: "" + - name: producer-snyk-docker-image + value: ubuntu + workspaces: + - name: output + volumeClaimTemplate: + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi