2.7. IDE를 호스팅하는 devfile 구성 요소 지정
기본적으로 OpenShift Dev Spaces는 devfile에 지정된 첫 번째 컨테이너에서 IDE(Microsoft Visual Studio - 오픈 소스 코드 또는 CryostatBrains IntelliJ IDEA Community Edition)를 호스팅합니다. 이번 업데이트를 통해 controller.devfile.io/merge-contribution: true 특성을 사용하여 IDE를 호스팅할 구성 요소를 지정할 수 있습니다.
다음 예에서 IDE는 "component2"에서 호스트됩니다.
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
추가 리소스