-
Notifications
You must be signed in to change notification settings - Fork 345
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
Builder/Camel trait configmap/secret beside properties #3002
Labels
good first issue
Does not require full understanding of the codebase
kind/feature
New feature or request
status/never-stale
Comments
I can look at this |
This issue has been automatically marked as stale due to 90 days of inactivity. |
@mmelko are you still working on this issue? |
Should be fixed by #3626 |
essobedo
added a commit
that referenced
this issue
Sep 13, 2022
fixes #3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc
squakez
pushed a commit
to squakez/camel-k
that referenced
this issue
Sep 13, 2022
…che#3626) fixes apache#3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc (cherry picked from commit apache/camel-k@6e6aff2e7)
squakez
pushed a commit
to squakez/camel-k
that referenced
this issue
Sep 13, 2022
…che#3626) fixes apache#3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc (cherry picked from commit apache/camel-k@6e6aff2e7)
squakez
pushed a commit
to squakez/camel-k
that referenced
this issue
Sep 13, 2022
…che#3626) fixes apache#3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc (cherry picked from commit apache/camel-k@6e6aff2e7)
squakez
pushed a commit
to squakez/camel-k
that referenced
this issue
Sep 14, 2022
…che#3626) fixes apache#3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc (cherry picked from commit apache/camel-k@6e6aff2e7)
squakez
pushed a commit
to squakez/camel-k
that referenced
this issue
Sep 14, 2022
…che#3626) fixes apache#3002 ## Motivation: It would be nice to provide the possibility to use configmap and secret as runtime or build-time properties for the camel and builder traits. ## Modifications: * Add the support of `configmap:name-of-configmap` and `secret:name-of-secret` to the flags `property` and `build-property` * Move the functions `extractProperties` and `mergePropertiesWithPrecedence` from `run_help.go` to `run.go` as we need to add a receiver * Move the unit tests of the functions moved to the corresponding test file * Add related E2E test * Add related doc (cherry picked from commit apache/camel-k@6e6aff2e7)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Does not require full understanding of the codebase
kind/feature
New feature or request
status/never-stale
The builder trait allow you to define plain text properties that will be provided at build time. This is also available via
It would be nice to provide the possibility to use configmap and secret as well in order to have something like:
The same may be applied to
camel
trait which exposes runtimeproperties
The text was updated successfully, but these errors were encountered: