diff --git a/deploy/crds/workspaces.ecd.eclipse.org_devworkspaces_crd.yaml b/deploy/crds/workspaces.ecd.eclipse.org_devworkspaces_crd.yaml index 336b0c282..b539fba2b 100644 --- a/deploy/crds/workspaces.ecd.eclipse.org_devworkspaces_crd.yaml +++ b/deploy/crds/workspaces.ecd.eclipse.org_devworkspaces_crd.yaml @@ -437,7 +437,7 @@ spec: description: Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value - of the `PROJECT_SOURCE` environment variable is used. + of the `PROJECT_ROOT` environment variable is used. type: string volumes: items: diff --git a/deploy/crds/workspaces.ecd.eclipse.org_devworkspacetemplates_crd.yaml b/deploy/crds/workspaces.ecd.eclipse.org_devworkspacetemplates_crd.yaml index bfe989317..d2df436c2 100644 --- a/deploy/crds/workspaces.ecd.eclipse.org_devworkspacetemplates_crd.yaml +++ b/deploy/crds/workspaces.ecd.eclipse.org_devworkspacetemplates_crd.yaml @@ -427,7 +427,7 @@ spec: description: Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the - `PROJECT_SOURCE` environment variable is used. + `PROJECT_ROOT` environment variable is used. type: string volumes: items: diff --git a/pkg/apis/workspaces/v1alpha1/containerComponent.go b/pkg/apis/workspaces/v1alpha1/containerComponent.go index 4b6881671..c1c106a79 100644 --- a/pkg/apis/workspaces/v1alpha1/containerComponent.go +++ b/pkg/apis/workspaces/v1alpha1/containerComponent.go @@ -57,7 +57,7 @@ type Container struct { // // Optional specification of the path in the container where // project sources should be transferred/mounted when `mountSources` is `true`. - // When omitted, the value of the `PROJECT_SOURCE` environment variable is used. + // When omitted, the value of the `PROJECT_ROOT` environment variable is used. SourceMapping string `json:"sourceMapping"` } diff --git a/schemas/devfile.json b/schemas/devfile.json index 544ea32d2..8529c5a49 100644 --- a/schemas/devfile.json +++ b/schemas/devfile.json @@ -500,7 +500,7 @@ "type": "string" }, "sourceMapping": { - "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_SOURCE` environment variable is used.", + "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_ROOT` environment variable is used.", "type": "string" }, "volumes": { diff --git a/schemas/devworkspace-template-spec.json b/schemas/devworkspace-template-spec.json index abc45be79..e3430af16 100644 --- a/schemas/devworkspace-template-spec.json +++ b/schemas/devworkspace-template-spec.json @@ -500,7 +500,7 @@ "type": "string" }, "sourceMapping": { - "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_SOURCE` environment variable is used.", + "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_ROOT` environment variable is used.", "type": "string" }, "volumes": { diff --git a/schemas/devworkspace-template.json b/schemas/devworkspace-template.json index fb751ab79..580a8d01f 100644 --- a/schemas/devworkspace-template.json +++ b/schemas/devworkspace-template.json @@ -514,7 +514,7 @@ "type": "string" }, "sourceMapping": { - "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_SOURCE` environment variable is used.", + "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_ROOT` environment variable is used.", "type": "string" }, "volumes": { diff --git a/schemas/devworkspace.json b/schemas/devworkspace.json index 04714a5d0..15770632d 100644 --- a/schemas/devworkspace.json +++ b/schemas/devworkspace.json @@ -523,7 +523,7 @@ "type": "string" }, "sourceMapping": { - "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_SOURCE` environment variable is used.", + "description": "Optional specification of the path in the container where project sources should be transferred/mounted when `mountSources` is `true`. When omitted, the value of the `PROJECT_ROOT` environment variable is used.", "type": "string" }, "volumes": {