Skip to content

feat: Add args configuration support to exporter - #345

Draft
nantiferov wants to merge 1 commit into
valkey-io:mainfrom
nantiferov:feat--Add-args-configuration-support-to-exporter
Draft

feat: Add args configuration support to exporter#345
nantiferov wants to merge 1 commit into
valkey-io:mainfrom
nantiferov:feat--Add-args-configuration-support-to-exporter

Conversation

@nantiferov

@nantiferov nantiferov commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR closes #331

Summary

As discussed in #331, I'm moving here default args for exporter to ENV variables, so they could be overwritten if needed.

As well added ExporterSpec.Args to pass args: to exported spec.

Features / Behaviour Changes

No behaviour changes. Existing args passed to exporter replaced with ENV variable with same values.

Implementation

  • Moves current two args passed to exporter to ENV variables
  • Adds ExporterSpec.Args to pass args to exporter parameters
  • Adds getEnvVar to internal/controller/valkeynode_resources_test.go to test new functionality
  • Deepcopy and CRD files updated accordingly

Limitations

None

Testing

Unit tests passed

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message explains what changed and why
  • Tests are added or updated.
  • Documentation files are updated.
  • I have run pre-commit locally (pre-commit run --all-files or hooks on commit)

@nantiferov
nantiferov force-pushed the feat--Add-args-configuration-support-to-exporter branch 2 times, most recently from d203532 to 24bb9c5 Compare August 1, 2026 15:28
As discussed in valkey-io#331, I'm moving here default args for exporter to ENV variables, so they could be overwritten if needed.

As well added ExporterSpec.Args to pass args: to exported spec.

Signed-off-by: Nicolai Antiferov <nicolai.antiferov@bolt.eu>
@nantiferov
nantiferov force-pushed the feat--Add-args-configuration-support-to-exporter branch from 24bb9c5 to ebd4524 Compare August 1, 2026 15:30
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.

[FEATURE]: Add args configuration support to exporter

1 participant