You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/21 05:37:43 UTC
[camel-kafka-connector-examples] branch master updated: AWS2-S3
Source connector: Set a folder for Openshift material (#72)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git
The following commit(s) were added to refs/heads/master by this push:
new 49f0048 AWS2-S3 Source connector: Set a folder for Openshift material (#72)
49f0048 is described below
commit 49f00489c40be4dd4dadfbf2e59e46a379ff8c27
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 21 07:35:40 2020 +0200
AWS2-S3 Source connector: Set a folder for Openshift material (#72)
---
aws2-s3/aws2-s3-source/README.adoc | 4 ++--
aws2-s3/aws2-s3-source/config/{ => openshift}/aws2-s3-cred.properties | 0
.../config/{ => openshift}/aws2-s3-source-connector.yaml | 0
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/aws2-s3/aws2-s3-source/README.adoc b/aws2-s3/aws2-s3-source/README.adoc
index ea77ec2..b93cd9b 100644
--- a/aws2-s3/aws2-s3-source/README.adoc
+++ b/aws2-s3/aws2-s3-source/README.adoc
@@ -174,7 +174,7 @@ You can also set the aws creds option as secret, you'll need to edit the file co
[source,bash,options="nowrap"]
----
-oc create secret generic aws2-s3 --from-file=aws2-s3-cred.properties
+oc create secret generic aws2-s3 --from-file=config/openshift/aws2-s3-cred.properties
----
Now we need to edit KafkaConnectS2I custom resource to reference the secret. For example:
@@ -255,7 +255,7 @@ If you followed the optional step for secret credentials you can run the followi
[source,bash,options="nowrap"]
----
-oc apply -f config/aws2-s3-source-connector.yaml
+oc apply -f config/openshift/aws2-s3-source-connector.yaml
----
You can check the status of the connector using
diff --git a/aws2-s3/aws2-s3-source/config/aws2-s3-cred.properties b/aws2-s3/aws2-s3-source/config/openshift/aws2-s3-cred.properties
similarity index 100%
rename from aws2-s3/aws2-s3-source/config/aws2-s3-cred.properties
rename to aws2-s3/aws2-s3-source/config/openshift/aws2-s3-cred.properties
diff --git a/aws2-s3/aws2-s3-source/config/aws2-s3-source-connector.yaml b/aws2-s3/aws2-s3-source/config/openshift/aws2-s3-source-connector.yaml
similarity index 100%
rename from aws2-s3/aws2-s3-source/config/aws2-s3-source-connector.yaml
rename to aws2-s3/aws2-s3-source/config/openshift/aws2-s3-source-connector.yaml