Skip to content

[PVC] Propagate workspace pod labels to PVC and VolumeSnapshot #12507

Closed
@jenting

Description

@jenting

Is your feature request related to a problem? Please describe

Propagate workspace pod labels to PVC and VolumeSnapshot, so we are easier to debug/troubleshoot the PVC and
VolumeSnapshot belonging to which workspace ID. Currently, workspace pod labels are

app=gitpod,component=workspace,gitpod.io/networkpolicy=default,gitpod.io/pvcFeature=true,gitpod.io/workspaceClass=default,gpwsman=true,headless=false,metaID=gitpodio-templategolang-n4g8ltutdmf,owner=87a9dc55-1bca-4dcf-966a-c53aa78d4ab2,project=,team=,workspaceID=c969fafa-2b4b-4acf-891d-483c9083dd64,workspaceType=regular

It'd be good if the PVC and VolumeSnapshot included at least these labels

gitpod.io/workspaceClass=default,headless=false,metaID=gitpodio-templategolang-n4g8ltutdmf,owner=87a9dc55-1bca-4dcf-966a-c53aa78d4ab2,project=,team=,workspaceID=c969fafa-2b4b-4acf-891d-483c9083dd64,workspaceType=regular

Describe the behaviour you'd like

The PVC and VolumeSnapshot objects to include the workspace pod labels.

Describe alternatives you've considered

Additional context

#7901

Metadata

Metadata

Assignees

Labels

team: workspaceIssue belongs to the Workspace team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions