Skip to content

Make bot resources honour their expiry#45101

Merged
hugoShaka merged 1 commit intomasterfrom
hugo/make-bot-resources-expire
Aug 6, 2024
Merged

Make bot resources honour their expiry#45101
hugoShaka merged 1 commit intomasterfrom
hugo/make-bot-resources-expire

Conversation

@hugoShaka
Copy link
Copy Markdown
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
Copy Markdown
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
@hugoShaka hugoShaka deleted the hugo/make-bot-resources-expire branch August 6, 2024 14:49
@public-teleport-github-review-bot
Copy link
Copy Markdown

@hugoShaka See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants