pguptajsq commented on issue #5963:
URL: https://github.com/apache/camel-k/issues/5963#issuecomment-2507116487
Hi Team , could you please help me to leverage k8s secrets in pipe.yaml .
here i am trying but its not working. how pipe.yaml will read secrets from k8s
. could you please give me proper yaml
apiVersion: camel.apache.org/v1
kind: pipe
metadata:
name: payments-backend-sqs-to-ibmmq-pavan
namespace: camel-k
spec:
traits:
mount:
configs:
- name: camel-sqs-cred
mountPath: /mnt/secrets
optional: false
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: aws-sqs-source
properties:
queueNameOrArn: "queyename"
region: "us-west-2"
accessKeyId: "{{ env:aws-access-key-id }}"
secretAccessKey: "{{ env:aws-secret-access-key }}"
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: jms-ibm-mq-sink
properties:
channel: "test.TO.BSSB.UAT.CHAN"
destinationName: "test.UAT.BSSB.MT.INPUT"
password: "{testbackend/mq-app-password}}"
queueManager: "test.UAT.BSSB"
serverName: "ip4"
serverPort: "1414"
username: "app"
--
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]