Skip to content

Commit

Permalink
Update documentation on Repository CR creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbose78 authored Feb 14, 2022
1 parent 7e4f96e commit 9b015d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

The purposes of the Repository CRD is :

- To let know to Pipelines as Code that this event from this URL needs to be handled.
- To tell Pipelines as Code on which namespace the PipelineRuns are going to be executed.
- To let _Pipelines as Code_ know that this event from this URL needs to be handled.
- To let _Pipelines as Code_ know on which namespace the PipelineRuns are going to be executed.
- To reference a api secret, username or api URL if needed for the git provider
platforms that requires it (ie: when you are using webhooks method and not
the github application).
- To give the last Pipelinerun status for that Repository (5 by default).

The flow looks like this :

Via the tkn pac CLI or other method the user creates a `CustomResourceDefinition`
Via the tkn pac CLI or other method the user creates a `Repository` CR
inside the target namespace `my-pipeline-ci` :

```yaml
Expand Down

0 comments on commit 9b015d5

Please sign in to comment.