Hello,
I have installed repository-s3 plugin in a pre-built docker image for kubernetes,
the build went ok and I have the repository-s3 plugin installed and deployed.
Version of Wazuh: 4.10.1
Kubernetes based install using kustomize configuration from wazuh.
Actions done:
Have created a IRSA role and the service account associated with the pod.
Installed aws-cli for testing.
The problem:
repository-s3 plugin fails to connect to s3 bucket. Says it cannot find the IMDS Environment to connect to.
Debug done.
Using aws s3 ls s3://the-bucket
it works and I can even copy data to the bucket
Have disabled IMDS and tested with AWS_ Environment variables and aws-cli works again.
But wazuh-indexer still fails to connect to the bucket.
The variables used for testing without IRSA/IMDS
AWS_EC2_METADATA_DISABLED = true
name: AWS_ACCESS_KEY_ID
name: AWS_SECRET_ACCESS_KEY
I have not tried to use the wazuh indexer store has I do not know the best way to hide the variables in order to do a pre-built version with it or ran them later.
Any suggestions?
Best regards,