Skip to content

Add helm value extraEnvFromSecrets to metrics exporter in order to re…#133

Open
dpailer wants to merge 1 commit intovalkey-io:mainfrom
dpailer:main
Open

Add helm value extraEnvFromSecrets to metrics exporter in order to re…#133
dpailer wants to merge 1 commit intovalkey-io:mainfrom
dpailer:main

Conversation

@dpailer
Copy link
Copy Markdown

@dpailer dpailer commented Jan 29, 2026

…ad the contents of a secret as environment variable in metrics exporter container

e.g. if the secret contains the contents like

REDIS_USER: default
REDIS_PASSWORD: asdfgh

these will be available in a secure way for the redis exporter

…ad the contents of a secret as environment variable in metrics exporter container

Signed-off-by: dpailer <dirk.pailer@gmail.com>
@urbaman
Copy link
Copy Markdown

urbaman commented Jan 30, 2026

Need this!

@dpailer
Copy link
Copy Markdown
Author

dpailer commented Feb 3, 2026

Hi @sgissi and @mk-raven

can you take a look to this PR please and tell me if I need to improve anything?

Currently I am maintaining a fork of the helm-chart with the shown minor additions and this would definitely reduce my maintenance overhead :)

BR

@jessebye
Copy link
Copy Markdown
Contributor

jessebye commented Feb 12, 2026

@dpailer @urbaman it looks like this is already supported?

# Additional secrets to mount for metrics exporter

disregard - although you can specify extra secrets for the exporter, you can't actually use them since there's no way to reference them in the extraEnvs.

@sgissi
Copy link
Copy Markdown
Collaborator

sgissi commented Mar 30, 2026

@dpailer Thanks for the PR, other than proving the user/password to Exporter, is there another use case? The authentication and TLS issues are being worked on other PRs.

@dpailer
Copy link
Copy Markdown
Author

dpailer commented Mar 31, 2026

Hi @sgissi
thanks for the feedback
you could pass all kinds of environment variables which are useful for the exporter via secret, not only the user/password. makes it easier to manage the configuration of the exporter e.g. via ExternalSecrets.

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.

4 participants