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 2021/08/19 08:07:23 UTC
[camel-k] 02/02: doc(kamelets): env variables usage
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 4d085fa735fe5a5f6e88f414024a02db1c51f602
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Aug 18 12:46:12 2021 +0200
doc(kamelets): env variables usage
Ref #2512
---
examples/kamelets/kameletbindings/kb-env-vars.yaml | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/examples/kamelets/kameletbindings/kb-env-vars.yaml b/examples/kamelets/kameletbindings/kb-env-vars.yaml
new file mode 100644
index 0000000..7e42760
--- /dev/null
+++ b/examples/kamelets/kameletbindings/kb-env-vars.yaml
@@ -0,0 +1,31 @@
+# ---------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ---------------------------------------------------------------------------
+
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+ name: timer-to-log
+ namespace: default
+spec:
+ integration:
+ configuration:
+ - type: env
+ value: X=hello world!
+ sink:
+ uri: log:bar
+ source:
+ uri: timer:foo
\ No newline at end of file