Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use plugin patcher to inject remote plugin runtime. #210

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions v3/plugins/eclipse/che-theia/next/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ spec:
attributes:
protocol: http
discoverable: false
pluginPatcher:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we changed the meta.yaml model without increasing the apiVersion ?

pluginTypeMatcher: ["vs code extension", "theia plugin"]
pluginContainerCommand: ["sh", "-c"]
pluginContainerArgs: ["/plugins/remote-launcher/entrypoint.sh"]
initContainers:
- name: theia-remote-plugin-launcher
image: eclipse/che-theia-endpoint-runtime:next
initContainer: true
command: ['cp']
args: ['-rf', '/remote-plugin-launcher', '/plugins/remote-launcher']
volumes:
- mountPath: "/plugins"
name: plugins
containers:
- name: theia-ide
image: "docker.io/eclipse/che-theia:next"
Expand Down