Skip to content

Conversation

@TheMeier
Copy link
Contributor

@TheMeier TheMeier commented Jan 18, 2026

To be able to move notifier specific code out of the config and notify packages,
some shared code needs to be moved to other/new packages. Since commoncfg.Secret
already does what config.Secret does, this replaces all usages of config.Secret.

This requires external users of the config package to change their code if they used
config.MarshalSecretValue. This exported variable was added in
#4158

@TheMeier
Copy link
Contributor Author

TheMeier commented Jan 18, 2026

Sadly there is no SecretURL type in the common/config package. Since prometheus itself doesn't need it I think it is unlikely we cam move that type there.

@TheMeier TheMeier force-pushed the commoncfg_secret branch 2 times, most recently from 2a3b676 to eeef65c Compare January 18, 2026 14:07
To be able to move notifier specific code out of the config and notify packages,
some shared code needs to be moved to other/new packages. Since commoncfg.Secret
already does what config.Secret does, this replaces all usages of config.Secret.

Signed-off-by: Christoph Maser <christoph.maser+github@gmail.com>
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.

2 participants