Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4778

[RN] Che fails to properly create a workspace if controller.devfile.io/merge-contribution: true is set on a container component

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Specifying the devfile component that hosts an IDE

      By default, {prod-short} hosts the IDE (Microsoft Visual Studio - Open Source Code or JetBrains IntelliJ IDEA Community Edition) in the first container specified in a devfile. With this update, you can specify the component that will host the IDE using the attribute `controller.devfile.io/merge-contribution: true`.

      In the following example, the IDE will be hosted in "component2":

      [source,yaml]
      ----
      schemaVersion: 2.2.0
      components:
        - name: component1
          container:
            image: quay.io/sclorg/postgresql-15-c9s:c9s
        - name: component2
           attributes:
             controller.devfile.io/merge-contribution: true
           container:
             image: quay.io/devfile/developer-base-image:latest
      ----
      Show
      = Specifying the devfile component that hosts an IDE By default, {prod-short} hosts the IDE (Microsoft Visual Studio - Open Source Code or JetBrains IntelliJ IDEA Community Edition) in the first container specified in a devfile. With this update, you can specify the component that will host the IDE using the attribute `controller.devfile.io/merge-contribution: true`. In the following example, the IDE will be hosted in "component2": [source,yaml] ---- schemaVersion: 2.2.0 components:   - name: component1     container:       image: quay.io/sclorg/postgresql-15-c9s:c9s   - name: component2      attributes:        controller.devfile.io/merge-contribution: true      container:        image: quay.io/devfile/developer-base-image:latest ----
    • Enhancement
    • Done

            jvrbkova@redhat.com Jana Vrbkova
            mloriedo Mario Loriedo
            Shmaraiev Oleksandr Shmaraiev Oleksandr
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: