name: "User can specify a projects volume manually"

input:
  devworkspaceId: "test-workspaceid"
  podAdditions:
    containers:
      - name: testing-container-1
        image: testing-image
        volumeMounts:
          - name: "projects"
            mountPath: "/projects-mountpath"

  workspace:
    components:
      - name: testing-container-1
        container:
          image: testing-image-1
          sourceMapping: "/plugins-mountpath"
      - name: projects
        volume: {}

output:
  podAdditions:
    containers:
      - name: testing-container-1
        image: testing-image
        volumeMounts:
          - name: claim-devworkspace
            subPath: "test-workspaceid/projects"
            mountPath: "/projects-mountpath"

    volumes:
      - name: claim-devworkspace
        persistentVolumeClaim:
          claimName: claim-devworkspace
