Skip to content

Commit

Permalink
Fix example RP for tenant release pipelines
Browse files Browse the repository at this point in the history
The pipelineRef and serviceAccountName field need to be nested under
`pipeline` now

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Oct 22, 2024
1 parent e7e6166 commit 97669cb
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The usual release process in {ProductName} involves two different teams: a *Development team* and a *Managed environment team* as described in
xref:/advanced-how-tos/releasing/index.adoc[Releasing an application]. But, sometimes the Development team wants to release their software to some destination that is directly under their control, using their own secrets, without depending on a Managed environment team. In {ProductName} we call this model a *tenant release pipeline*. It's a release pipeline that runs in the tenant namespace of the Development team, rather than in that of the Managed environment team.

The gist here is that you are going to follow the regular instructions to xref:/advanced-how-tos/releasing/create-release-plan.adoc[create a ReleasePlan], but you will omit the `target` and specify the `pipelineRef` directly on your `ReleasePlan`.
The gist here is that you are going to follow the regular instructions to xref:/advanced-how-tos/releasing/create-release-plan.adoc[create a ReleasePlan], but you will omit the `target` and specify the `pipeline` directly on your `ReleasePlan`.


.*Prerequisites*
Expand Down Expand Up @@ -43,16 +43,17 @@ spec:
- name: demo-component-2
repository: registry/destination-image-repository-2
tags: [latest]
pipelineRef: <.>
resolver: git
params:
- name: url
value: "https://github.com/konflux-ci/release-service-catalog.git"
- name: revision
value: production
- name: pathInRepo
value: "pipelines/push-to-external-registry/push-to-external-registry.yaml"
serviceAccont: appstudio-pipeline <.>
pipeline:
pipelineRef: <.>
resolver: git
params:
- name: url
value: "https://github.com/konflux-ci/release-service-catalog.git"
- name: revision
value: production
- name: pathInRepo
value: "pipelines/push-to-external-registry/push-to-external-registry.yaml"
serviceAccountName: appstudio-pipeline <.>
----

+
Expand Down

0 comments on commit 97669cb

Please sign in to comment.