Skip to content

Mounting PVC into Workspace within Subpath #23683

@maheshrajrp

Description

@maheshrajrp

Summary

Hi,

I'm trying mount a PVC with certain files and folders into a workspace, using subPath concept in the deployment yaml. I need this feature because I'm trying to mount multiple folders into the workspace from a single-pvc. Any suggestion ?

Please note the PV and PVC is created manually. I don't want che creating the PVC as I'm trying to use pre-created Azure Files.

Is it possible ?

Relevant information

I've used this as reference: https://eclipse.dev/che/docs/stable/end-user-guide/requesting-persistent-storage-for-workspaces/

However, it a creates a volumentMount something like this
- mountPath: /pod
name: azurefile

I need a way to create something like,
- mountPath: /pod
name: azurefile
subPath: subdirectory

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/devworkspace-operatorkind/questionQuestions that haven't been identified as being feature requests or bugs.severity/P2Has a minor but important impact to the usage or development of the system.team/BThis team is responsible for the Web Terminal, the DevWorkspace Operator.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions