Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding VolumeClaimTemplate to pipelines-tutorial #95
Conversation
|
Thank you |
|
|
||
| ```bash | ||
| $ tkn pipeline start build-and-deploy \ | ||
| -w name=shared-workspace,claimName=source-pvc \ | ||
| -w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/01_pipeline/03_persistent_volume_claim.yaml \ |
savitaashture
Sep 8, 2020
Contributor
Can we do the same changes here https://github.com/openshift/pipelines-tutorial/blob/master/02_pipelinerun/02_build_deploy_ui_pipelinerun.yaml#L17-L18 so that it will consistent while using tkn or yaml for vote-ui
Can we do the same changes here https://github.com/openshift/pipelines-tutorial/blob/master/02_pipelinerun/02_build_deploy_ui_pipelinerun.yaml#L17-L18 so that it will consistent while using tkn or yaml for vote-ui
4ce2d2a
to
d05fb9f
|
I think we can use volumeClaimTemplate in both pipelinerun, this means we can remove PVC yaml also update the docs accordingly |
|
@piyush-garg The idea is to use both |
|
I think we try to keep tutorial simple. That's why we will move to single git repo example. So having only one approach is fine too. |
|
@Preeticp @savitaashture WDYT? If you all agree I will update the PR to contain only |
|
Actually it will be good if we show how we can use +1 to use |
d05fb9f
to
c05b869
|
Looks good to me Minor change |
| @@ -45,7 +45,7 @@ The custom resources needed to define a pipeline are listed below: | |||
| In short, in order to create a pipeline, one does the following: | |||
| * Create custom or install [existing](https://github.com/tektoncd/catalog) reusable `Tasks` | |||
| * Create a `Pipeline` and `PipelineResources` to define your application's delivery pipeline | |||
| * Create a `PersistentVolumeClaim` to provide the volume/filesystem for pipeline execution | |||
| * Create a `PersistentVolumeClaim` to provide the volume/filesystem for pipeline execution or provide a `VolumeClaimTemplate` which creates a `PersistentVolumeClaim` | |||
savitaashture
Sep 10, 2020
Contributor
I think we need to change this sentence bit because we are not creating PersistentVolumeClaim now
I think we need to change this sentence bit because we are not creating PersistentVolumeClaim now
VeereshAradhya
Sep 10, 2020
Author
Contributor
It's just extra information. Anyway even VolumeClaimTemplate creates a PVC. I think it's ok to keep it :)
It's just extra information. Anyway even VolumeClaimTemplate creates a PVC. I think it's ok to keep it :)
|
/lgtm |
|
@piyush-garg: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/lgtm |
|
@savitaashture: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg, savitaashture, vdemeester, VeereshAradhya The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b2a4d5d
into
openshift:master

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

VolumeClaimTemplateand updated thetkncommand inREADME.mdto usevolumeClaimTemplatedemo.shto useVolumeClaimTemplatefor thevote-uipipelinerun