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

[v16] [aws] exclude session recordings from S3 sync in teleport-renew-cert #47622

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Oct 16, 2024

Backport #47610 to branch/v16

changelog: Fixes a bug where Let's Encrypt certificate renewal failed in AMI and HA deployments due to insufficient disk space caused by syncing audit logs.

This PR excludes `records` directory from the sync when renewing the letsencrypt certificate.
When doing the wildcard sync, `aws sync` downloads the `records` folder which contains audit logs for the cluster which causes failures because of no space left on the disk.
The certbot hook `teleport-upload-cert` doesn't use the `--delete` flag so the records are never purged from S3 on upload

Fixes #27884

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from zmb3 October 16, 2024 14:17
@tigrato tigrato added this pull request to the merge queue Oct 16, 2024
Merged via the queue into branch/v16 with commit 2908d2a Oct 16, 2024
41 checks passed
@tigrato tigrato deleted the bot/backport-47610-branch/v16 branch October 16, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants