2020testuser edited a comment on issue #458:
URL: https://github.com/apache/camel-kamelets/issues/458#issuecomment-895601713
@oscerd - Ohh... Thanks for confirming! I'm wondering since I have
--cluster-setup in the below command, is it not kamel enabled at the cluster
level (in the sense, kamel is available to all namespaces in the cluster)?
`
kamel install --cluster-setup --cluster-type kubernetes
`
I tried the below command and got a msg - OLM resources are already
available.
`
kamel install --cluster-setup --cluster-type kubernetes
--namespace=salesforce-test-ns
`
`
OLM is available in the cluster
OLM resources are already available: skipping installation
Camel K cluster setup completed successfully
`
Could you please review my Kamelet-binding? I'm wondering how I can trigger
the select query in salesforce to trigger my sink? May be I'm doing something
wrong. Thanks!
`
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: salesforce-source-binding-db
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: salesforce-source
properties:
clientId: "xxx"
clientSecret: "xxxx"
password: "xxxx"
query: "SELECT Id, Name, Email, Phone FROM Contact"
userName: "myname"
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: sqlserver-sink
properties:
serverName: xxx
username: xxx
password: xxx
query: 'INSERT INTO contacts (name,email,phone) VALUES
(:#name,:#email,:#phone)'
port: 1433
databaseName: my_db`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]