Skip to content

Update Rust utils to handle nullable log_ingestor configuration #1911

@coderabbitai

Description

@coderabbitai

Problem

The Rust utils cannot handle null values for the log_ingestor key in clp_config.yaml and fail with a parsing error.

Impact

When the API server is enabled while log_ingestor is disabled by setting log_ingestor: null, the API server fails to start. This is particularly problematic because the current default configuration in Helm values.yaml has log_ingestor: null, causing the v0.8.0 chart to deploy an API server that continuously crashes and restarts.

Solution

Update the Rust configuration parser to correctly handle nullable log_ingestor values, treating null as an indication that the log-ingestor feature should be disabled.

References

Files Affected

  • Rust configuration parser (likely in components utilizing clp_config.yaml)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions