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

Machine ID: Per-ouput certificate_ttl and renewal_interval #51956

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

boxofrad
Copy link

@boxofrad boxofrad commented Feb 7, 2025

Implements #51560 by adding certificate_ttl and renewal_interval options to all tbot services/outputs.

}

if l.TTL < l.RenewalInterval && !oneShot {
log.WarnContext(
Copy link
Author

Choose a reason for hiding this comment

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

I re-homed these warnings from BotConfig.CheckAndSetDefaults.

Ideally, we'd return an error (so they'd get wrapped with the service[%d] prefix) but decided not to as making this a "hard fail" would be a breaking change.

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.

1 participant