Skip to content

fix(agent): Reset secret-counter on reload#18839

Merged
skartikey merged 1 commit into
influxdata:masterfrom
srebhan:secrets_fixes
May 5, 2026
Merged

fix(agent): Reset secret-counter on reload#18839
skartikey merged 1 commit into
influxdata:masterfrom
srebhan:secrets_fixes

Conversation

@srebhan
Copy link
Copy Markdown
Member

@srebhan srebhan commented May 4, 2026

Summary

This PR resets the unlinked secret-list and the secret count when reloading configuration. While the memory requirement itself did not grow, the user-visible requirement message will show an increase in memory requirements for secrets. This PR fixes the issue.

Checklist

Related issues

resolves #17099

@telegraf-tiger
Copy link
Copy Markdown
Contributor

telegraf-tiger Bot commented May 4, 2026

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label May 5, 2026
Copy link
Copy Markdown
Contributor

@skartikey skartikey left a comment

Choose a reason for hiding this comment

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

@srebhan Thanks!

@skartikey skartikey merged commit c497124 into influxdata:master May 5, 2026
27 checks passed
@github-actions github-actions Bot added this to the v1.38.4 milestone May 5, 2026
srebhan added a commit that referenced this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agent fix pr to fix corresponding bug plugin/secretstores ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Telegraf Configuration Reload Issue: Increasing Memory Requirement & Secrets Count

2 participants