Skip to content

🌱 Support token secret key for HCLOUD_TOKEN hot-reload#81

Merged
guettli merged 1 commit intomainfrom
tg/hotreload-token-secret-key
Mar 9, 2026
Merged

🌱 Support token secret key for HCLOUD_TOKEN hot-reload#81
guettli merged 1 commit intomainfrom
tg/hotreload-token-secret-key

Conversation

@guettli
Copy link
Copy Markdown

@guettli guettli commented Mar 9, 2026

Summary

Support both secret key names for hcloud token hot-reloading:

  • hcloud (current syself default)
  • token (upstream hcloud-ccm compatible)

This makes switching between syself-ccm and upstream hcloud-ccm easier.

Changes

  • Hot-reload now reacts to fsnotify events for token in addition to hcloud.
  • Initial token loading and reload token reads now try hcloud first, then token.
  • Added unit tests for token key fallback/precedence/error behavior.
  • Updated README usage section.

Related context: split out from #72 to keep ProviderID and secret-key compatibility changes separate.

@guettli guettli merged commit 0dfac3c into main Mar 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants