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

feat: Set env var with Kamel #696

Merged
merged 1 commit into from May 28, 2019

Conversation

jamesnetherton
Copy link
Contributor

fixes #606

In terms of the potential for users to break things with this feature, I think we've ended up with an ok compromise.

Since the configuration of environment variables from traits etc, comes after those provided from 'kamel run', it results in those values taking precedence over the user provided ones. I think that's acceptable in the majority of cases.

E.g. If someone did kamel run simple.js -e JAVA_MAIN_CLASS=some.invalid.Thing, then JAVA_MAIN_CLASS would get ignored and restored to the camel-k default.

@lburgazzoli lburgazzoli merged commit 9fcb17c into apache:master May 28, 2019
@jamesnetherton jamesnetherton deleted the 606-set-env-var branch May 28, 2019 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set env var with Kamel
3 participants