Skip to content

feat(vector): add emptyConfig and configSidecar parameter to enable dynamic vector configuration by label#523

Open
jusch23 wants to merge 1 commit intovectordotdev:developfrom
jusch23:feature/empty-config-and-reload-sidecar
Open

feat(vector): add emptyConfig and configSidecar parameter to enable dynamic vector configuration by label#523
jusch23 wants to merge 1 commit intovectordotdev:developfrom
jusch23:feature/empty-config-and-reload-sidecar

Conversation

@jusch23
Copy link

@jusch23 jusch23 commented Dec 2, 2025

The emptyConfig and configSidecar parameters have been added to enable dynamic vector configuration by label (#522).

The emptyConfig parameter provides the ability to start vector with an empty configuration directory instead of the chart's default configMap.
configSidecar uses k8s-sidecar (https://github.com/kiwigrid/k8s-sidecar) to watch for vector configurations by a given label. Enabling the sidecar container adds the flags '--allow-empty-config' and '--watch-config' to the vector argument list. The first flag is needed to start vector without any configuration file, while the second flag ensures that vector is reloaded when new configurations are added to the configuration directory.

@jusch23
Copy link
Author

jusch23 commented Jan 7, 2026

@pront @jszwedko could you take a look at the PR?

@jszwedko
Copy link
Contributor

jszwedko commented Jan 7, 2026

Tagging @vectordotdev/vector here. Pront is on leave at the moment and I've been less involved day-to-day. Apologies for the delay!

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