question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support custom environment variables for components in devfile

See original GitHub issue

Description

It would be great if users could specify custom environment variables to be pushed into containers running the components.

This would be especially useful for components of type dockerImage that could be “configured” this way.

Reference devfile example: https://github.com/redhat-developer/devfile/blob/master/Devfile.yaml

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
metloscommented, Aug 27, 2019

So we have requests to support this in kubernetes components as well as chePlugin (also requested in https://github.com/eclipse/che/issues/14343). Given cheEditor is mostly chePlugin in disguise and openshift is kubernetes on steroids, we might as well support this everywhere (as the original description of this issue suggests 😃 ).

0reactions
skabashnyukcommented, Mar 4, 2020

Covered by

  • Support env for components of type kubernetes/openshift #15121
  • Support env for components of type chePlugin and cheEditor #14343
Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 4. Authoring devfiles - Red Hat Customer Portal
A devfile is a file that describes and define a development environment: The source code. The development components, such as browser IDE tools...
Read more >
Building a custom devfile registry
The registry build process takes the contents of your devfile registry Git repository and: Packages the content of each devfile stack based on...
Read more >
Configure a Dev Environment for a Project - JetBrains
Devfile is an open specification that uses YAML formatting for configuring and running build environments. Currently, Space supports only a ...
Read more >
Adding Custom Environment Variables | Create React App
There is also a built-in environment variable called NODE_ENV . You can read it from process.env.NODE_ENV . When you run npm start ,...
Read more >
odo CLI reference - Developer CLI (odo) - OKD Documentation
odo uses the portable devfile format to describe the components. ... Component Name: backend Type: spring Environment Variables: · PROJECTS_ROOT=/projects ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found