Skip to content
New issue

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

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

Already on GitHub? # to your account

Make bot resources honour their expiry #45101

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

hugoShaka
Copy link
Contributor

Changelog: Bot resources now honour their metadata.expires field.

This PR ensures that bot and their user/role resources expire after the provided expiration date. This is needed to avoid tctl terraform env bots to pile up. RFD 173 relies on expiring bots.

Copy link
Contributor

@strideynet strideynet left a comment

Choose a reason for hiding this comment

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

Looks good - thanks Hugo! I'd suggest we backport to v15 as well.

@hugoShaka hugoShaka added this pull request to the merge queue Aug 6, 2024
Merged via the queue into master with commit 25d2a3e Aug 6, 2024
38 checks passed
@hugoShaka hugoShaka deleted the hugo/make-bot-resources-expire branch August 6, 2024 14:49
@public-teleport-github-review-bot

@hugoShaka See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Create PR

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants