devfile special envs cannot be defined last in the env list #1601
Labels
area/library
Common devfile library for interacting with devfiles
area/registry
Devfile registry for stacks and infrastructure
kind/bug
Something isn't working
/kind bug
Which area is this bug related to?
/area library
/area registry
Bug Summary
Describe the bug:
Devfile has special Envs like
PROJECTS_ROOT
. These special Envs can be referenced by the container Envs.. Since they are dependent Envs,PROJECTS_ROOT
cannot be defined in the end of the container Envs.Check https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/ for reference
To Reproduce:
Expected behavior
Envs referencing
PROJECTS_ROOT
and similar other special Envs should be expanded without issuesAny logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Slack conversation on
#forum-devfile
06/13Additional context
Any workaround?
Suggestion on how to fix the bug
The text was updated successfully, but these errors were encountered: