Add an ability to specify entrypoint for kube and openshift tool in Devfile
See original GitHub issueDescription
@sleshchenko proposal for the format:
tools:
- name: app
type: kubernetes
local: app.yaml
entrypoints:
- pod: container #optional
container: app #optional
command: ['/bin/sh', '-c']
args: ['tail -f /dev/null']
Applying that to a devfile that uses yamls from Kubernetes Node.js and MongoDB sample:
specVersion: 0.0.1
name: fix-the-kube
projects:
- name: nodejs-mongo-app
source:
type: git
location: 'https://github.com/ijason/NodeJS-Sample-App.git'
tools:
- name: theia-editor
type: cheEditor
id: org.eclipse.che.editor.theia:1.0.0
- name: exec-plugin
type: chePlugin
id: che-machine-exec-plugin:0.0.1
- name: mongodb
type: kubernetes
local: mongo-controller.yaml
- name: nodejs
type: kubernetes
local: node-controller.yaml
entrypoints:
- command: ['/bin/sh', '-c']
args: ['tail -f /dev/null']
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Chapter 4. Authoring devfiles - Red Hat Customer Portal
Overriding container environment variables. To provision or override entrypoints in a OpenShift component, configure it in the following way:.
Read more >OpenShift Container Platform 4.10 release notes
OpenShift Container Platform 4.10 introduces the ability for installing a cluster on Alibaba Cloud using installer-provisioned infrastructure in Technology ...
Read more >Import a project from your laptop to an Eclipse Che workspace.
So in this blog post I will use only kubectl and rsync tools ... Define an Eclipse Che workspace for my project (create...
Read more >Introduction to Devfile - GitHub Pages
A list of projects: the source code repositories; A list of commands: actions to manage the workspace components like running the dev tools,...
Read more >Introduction to Eclipse Che :: Eclipse Che Documentation
A multi-container workspace for each developer with the ability to ... mode” layer on top of those, adding intelligent code completion and IDE...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Both pod and container could be optional if local YAML contains just a single pod with a single container which is common practice.
PR #12856 has been merged.