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 variable substitution for PVC name #2506

Commits on Apr 28, 2020

  1. Add variable substitution for PVC name

    There may be use cases when a Task should initiate a PipelineRun or TaskRun.
    It can be beneficial to use the **same PVC** in the PipelineRun or TaskRun
    that is initiated, e.g. populated with cached data or a cloned git repository.
    
    When using a workspace with a PersistentVolumeClaim as volume source, the name
    of the PVC is known, and can be passed as a _param_ in the PipelineRun or
    TaskRun. But when a VolumeClaimTemplate is used as a volume source, the name
    is generated. In such use cases, it is useful to be able to "look up" the PVC
    name using variable substitution.
    
    Fixes tektoncd#2505
    jlpettersson committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    24dea39 View commit details
    Browse the repository at this point in the history