Skip to content

Commit

Permalink
Updating example Kustomization to rely on correct local components pa…
Browse files Browse the repository at this point in the history
…ths.
  • Loading branch information
andream16 committed Sep 20, 2024
1 parent 2ca7c21 commit 3d75c21
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions docs/writing-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,16 @@ In the following file:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
nameSuffix: -go-pipeline
resources:
- ../../../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`
Expand Down

0 comments on commit 3d75c21

Please sign in to comment.