You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/04/18 09:14:13 UTC

[camel-k] branch main updated (dbe426a20 -> 3fb994600)

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


    from dbe426a20 changed class name to file name
     new 3ecbec374 added a file-config doc
     new f5008cacc added file config example. Linked the example in navigation.
     new 3fb994600 corrected typographical error

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/modules/ROOT/nav.adoc                         |  1 +
 docs/modules/ROOT/pages/cli/file-based-config.adoc | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 docs/modules/ROOT/pages/cli/file-based-config.adoc


[camel-k] 01/03: added a file-config doc

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 3ecbec3743f593f47d9bf25480b590adfdb4f9f6
Author: gre8t <ak...@gmail.com>
AuthorDate: Mon Apr 11 15:22:47 2022 +0100

    added a file-config doc
---
 docs/modules/ROOT/pages/cli/file-based-config.adoc | 5 +++++
 docs/modules/ROOT/pages/cli/kamel-config.yaml      | 0
 2 files changed, 5 insertions(+)

diff --git a/docs/modules/ROOT/pages/cli/file-based-config.adoc b/docs/modules/ROOT/pages/cli/file-based-config.adoc
new file mode 100644
index 000000000..ad514b9ad
--- /dev/null
+++ b/docs/modules/ROOT/pages/cli/file-based-config.adoc
@@ -0,0 +1,5 @@
+= File Based Configuration
+
+File-based configuration is used to set command flags. Flag values do not need to be entered on a regular basis. The file is read on Kamel startup and the flags are set accordingly.
+
+To configure this flag, create a file named kamel-config.yaml on the same directory as your integration. The file must contain a yaml structure as shown in ./kamel-config.yaml.
\ No newline at end of file
diff --git a/docs/modules/ROOT/pages/cli/kamel-config.yaml b/docs/modules/ROOT/pages/cli/kamel-config.yaml
new file mode 100644
index 000000000..e69de29bb


[camel-k] 02/03: added file config example. Linked the example in navigation.

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f5008cacce4981b0ecfa6fb43985901d97490af6
Author: gre8t <ak...@gmail.com>
AuthorDate: Sun Apr 17 05:09:25 2022 +0100

    added file config example. Linked the example in navigation.
---
 docs/modules/ROOT/nav.adoc                         |  1 +
 docs/modules/ROOT/pages/cli/file-based-config.adoc | 21 ++++++++++++++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index e8e7a88e5..719046ccb 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -21,6 +21,7 @@
 *** xref:installation/advanced/multi.adoc[Multiple Operators]
 * Command Line Interface
 ** xref:cli/cli.adoc[Kamel CLI]
+** xref:cli/file-based-config.adoc[File-based Config]
 ** xref:cli/modeline.adoc[Modeline]
 * xref:running/running.adoc[Run an Integration]
 ** xref:running/dev-mode.adoc[Developer mode]
diff --git a/docs/modules/ROOT/pages/cli/file-based-config.adoc b/docs/modules/ROOT/pages/cli/file-based-config.adoc
index ad514b9ad..86b948651 100644
--- a/docs/modules/ROOT/pages/cli/file-based-config.adoc
+++ b/docs/modules/ROOT/pages/cli/file-based-config.adoc
@@ -2,4 +2,23 @@
 
 File-based configuration is used to set command flags. Flag values do not need to be entered on a regular basis. The file is read on Kamel startup and the flags are set accordingly.
 
-To configure this flag, create a file named kamel-config.yaml on the same directory as your integration. The file must contain a yaml structure as shown in ./kamel-config.yaml.
\ No newline at end of file
+The file's default name is `kamel-config.yaml` . Which should be placed in either of this directory structure:
+
+ - `~/.kamel/`
+ - `./.kamel/`
+ - `.`
+
+it can be overriden by setting an env value `KAMEL_CONFIG_NAME` to file path.
+
+
+To configure this flag, create a file named kamel-config.yaml on the same directory as your integration. The file must contain a yaml structure as shown below:
+
+.Kamel-config.yaml
+
+```yaml
+kamel:
+    install:
+        namespace: kamel
+        healthPort: 8081
+        monitoringPort: 8082
+```


[camel-k] 03/03: corrected typographical error

Posted by pc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 3fb99460087bceb0fb7837b04185950f6abb3826
Author: gre8t <ak...@gmail.com>
AuthorDate: Sun Apr 17 12:05:56 2022 +0100

    corrected typographical error
---
 docs/modules/ROOT/pages/cli/file-based-config.adoc | 2 +-
 docs/modules/ROOT/pages/cli/kamel-config.yaml      | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/cli/file-based-config.adoc b/docs/modules/ROOT/pages/cli/file-based-config.adoc
index 86b948651..40b4575ca 100644
--- a/docs/modules/ROOT/pages/cli/file-based-config.adoc
+++ b/docs/modules/ROOT/pages/cli/file-based-config.adoc
@@ -8,7 +8,7 @@ The file's default name is `kamel-config.yaml` . Which should be placed in eithe
  - `./.kamel/`
  - `.`
 
-it can be overriden by setting an env value `KAMEL_CONFIG_NAME` to file path.
+it can be overridden by setting an env value `KAMEL_CONFIG_NAME` to file path.
 
 
 To configure this flag, create a file named kamel-config.yaml on the same directory as your integration. The file must contain a yaml structure as shown below:
diff --git a/docs/modules/ROOT/pages/cli/kamel-config.yaml b/docs/modules/ROOT/pages/cli/kamel-config.yaml
deleted file mode 100644
index e69de29bb..000000000