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 19, 2024
1 parent 7a7b4d4 commit e111dd4
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions docs/writing-pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit e111dd4

Please sign in to comment.