From 5dc68ffe7f75dfb13c15a16484821eabe6f529fc Mon Sep 17 00:00:00 2001 From: andream16 Date: Thu, 19 Sep 2024 15:16:31 +0100 Subject: [PATCH] Updating example Kustomization to rely on correct local components paths. --- docs/writing-pipelines.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/writing-pipelines.md b/docs/writing-pipelines.md index 1e5458596..e083850cb 100644 --- a/docs/writing-pipelines.md +++ b/docs/writing-pipelines.md @@ -35,19 +35,18 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization nameSuffix: -go-pipeline resources: - - ../../../components/base/pipeline.yaml - - ../../../components/base/task.yaml + - /components/base/pipeline.yaml + - /components/base/task.yaml components: - - ../../../components/sources/git - - ../../../components/producers/aggregator - - ../../../components/producers/golang-gosec - - ../../../components/producers/golang-nancy - - ../../../components/enrichers/aggregator - - ../../../components/enrichers/policy - - ../../../components/enrichers/deduplication - - ../../../components/consumers/mongodb - - ../../../components/consumers/elasticsearch - + - /components/sources/git + - /components/producers/aggregator + - /components/producers/golang-gosec + - /components/producers/golang-nancy + - /components/enrichers/aggregator + - /components/enrichers/policy + - /components/enrichers/deduplication + - /components/consumers/mongodb + - /components/consumers/elasticsearch ``` Then executing `draconctl pipelines build ./go-pipeline/kustomization.yaml > ./go-pipeline/templates/all.yaml`