pguptajsq commented on issue #5963:
URL: https://github.com/apache/camel-k/issues/5963#issuecomment-2513755516
"I followed the documentation, but it's not picking up the secrets and is
giving the error: Caused by: j: java.lang.IllegalArgumentException:
useDefaultCredentialsProvider is set to false, useProfileCredentialsProvider is
set to false, useSessionCredentials is set to false, AmazonSQSClient or
accessKey and secretKey must be specified
In my pipe.yaml, it works when I directly use the AWS accessKey and
secretKey, but I cannot commit these keys to GitHub for security reasons.
Instead, I want to use a Kubernetes ServiceAccount with IRSA roles in the kind:
pipe Kubernetes configuration. How can I achieve this, or how can I reference
Kubernetes secrets inside the pipe.yaml file
kid: pipe
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1
name: aws-sqs-source
properties:
queueNameOrArn: "queue-name"
region: "us-west-2"
accessKey: "keyname"
secretKey: "secrets"
--
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]