Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to specify workspace when creating a pipeline #2109

Closed
t0mdev opened this issue Jul 2, 2021 · 2 comments
Closed

Add possibility to specify workspace when creating a pipeline #2109

t0mdev opened this issue Jul 2, 2021 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@t0mdev
Copy link

t0mdev commented Jul 2, 2021

Is your feature request related to a problem ?

We have a pipeline, which uses workspaces to allow sharing our git repository between tasks.

We would like to manually trigger this pipeline via the tekton dashboard. However, this is not possible via the /pipelineruns/create UI, because there I cannot specify a volume or volume claim.

Describe the solution you'd like

Add the possibility to specify a workspace and volume claim in the /pipelineruns/create UI.

Describe alternatives you've considered

Our workaround is, to have a task that creates a pipeline run via kubectl apply. Similar to the example below, this pipeline run contain a volume claim definition. This task can be triggered via /taskruns/create UI.

Additional context

The PipelineRun spec should allow this, see the example below. As far as I can see, only the possibility to configure it in the UI is missing.

apiVersion: tekton.dev/v1beta1
kind: PipelineRun
spec:
  pipelineRef:
    name: our-pipeline
  workspaces:
    - name: workspace
      volumeClaimTemplate:
        spec:
          resources:
            requests:
              storage: 3000Mi
          volumeMode: Filesystem
          accessModes:
            - ReadWriteOnce
@t0mdev t0mdev added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 2, 2021
@AlanGreene
Copy link
Member

Thanks for the feature request @t0mdev, this is something we're already tracking.

Closing as a duplicate of #1283

/close

@tekton-robot
Copy link
Contributor

@AlanGreene: Closing this issue.

In response to this:

Thanks for the feature request @t0mdev, this is something we're already tracking.

Closing as a duplicate of #1283

/close

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.

@AlanGreene AlanGreene added the triage/duplicate Indicates an issue is a duplicate of other open issue. label Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

3 participants