Skip to content

🐛 Bug Report: IRSA are not working for S3 storage #8038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
Graphmaxer opened this issue Apr 1, 2025 · 1 comment
Open
2 tasks done

🐛 Bug Report: IRSA are not working for S3 storage #8038

Graphmaxer opened this issue Apr 1, 2025 · 1 comment
Labels
bug Something isn't working Self Host triage

Comments

@Graphmaxer
Copy link

📜 Description

With the Self-Hosted Novu, we want to use the S3 storage but not with an access key id and a secret access key since it's considered a bad practice.

Instead we want to use an IRSA (https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) inside an EKS cluster. It will automatically generate credentials inside the pod with the right env variables but it's not using AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY and those are required by Novu.

👟 Reproduction steps

Inside an EKS cluster, with an IRSA configured, we cannot upload a brand image for example.

Helm deployment with service account with the IRSA (https://github.com/novuhq/community-k8s/tree/main/helm):

Image

👍 Expected behavior

An S3 upload should work with an IRSA role

👎 Actual Behavior with Screenshots

Even with empty string variable for access key and secret, we have a error when uploading the brand logo for example

Image

Novu version

Novu Self-Hosted 0.24.7

npm version

10.8.2

node version

20.19.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Copy link

linear bot commented Apr 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Self Host triage
Projects
None yet
Development

No branches or pull requests

2 participants