Skip to content
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

fix: Add missing action in CW policy #9

Merged
merged 2 commits into from
Mar 15, 2023
Merged

Conversation

fabidick22
Copy link
Contributor

What does this PR do?

Update aws-for-fluentbit policy, the service account does not have enough permissions to set a log retention policy, this generates errors when fluentbit wants to create a log group.

time="2023-03-04T18:45:59Z" level=error msg="AccessDeniedException: User: arn:aws:sts::00000:assumed-role/CLUSTER-aws-for-fluent-bit-sa-irsa/1111111111 is not authorized to perform: logs:PutRetentionPolicy on resource: arn:aws:logs:us-east-1:00000:log-group:/cluster/fluentbit-logs/namespace/app:log-stream: because no identity-based policy allows the logs:PutRetentionPolicy action\n\tstatus code: 400, request id: 0000000" 

Motivation

Configure fluentbit to create a resource group for each application in kubernetes

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

Copy link
Contributor

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants