Skip to content

Allow volumeClaimTemplate name to be not provided #2450

@bobcatfish

Description

@bobcatfish

Expected Behavior

Since the tekton controller is completely managing the lifecycle of PVCs created with volumeClaimTemplate, as an author of a Run specifying it, i might not care what the name of the PVC is. I'd love it if the controller could automatically generate one for me so I can skip the whole metadata section of the template if I don't need it.

Actual Behavior

It looks like the PVC created will have a name with this format:

fmt.Sprintf("%s-%s-%s", claimName, workspaceName, pipelineRunName)

Additional Info

The feature was added in #2326

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions