This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new b7c6a70 Updated README for configmap b7c6a70 is described below commit b7c6a703122e2d14c9c144fd429817d60685e89f Author: stevef1uk <stevef...@gmail.com> AuthorDate: Thu Apr 18 08:31:29 2019 +0100 Updated README for configmap --- README.adoc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index 5c74d79..286fba4 100644 --- a/README.adoc +++ b/README.adoc @@ -1,4 +1,4 @@ -Apache Camel K +Apache Camel K ============== image:https://travis-ci.org/apache/camel-k.svg?branch=master["Build Status", link="https://travis-ci.org/apache/camel-k"] @@ -63,6 +63,15 @@ Properties associated to an integration can be configured either using a ConfigM ``` kamel run --property my.message=test examples/props.js ``` +``` +kamel run --configmap=<your name here> examples/props.js +``` +Note: to create the config map first create a file called application.properties which contains lines with key=value pairs +e.g. my.message="The text to display" +Create the config map in the usual manner e.g. +``` +kubectl create configmap <your name here> --from-file=application.properties +``` ==== Configure Integration Logging