Split the ClickHouse configuration into separate ConfigMaps for server
and user configurations. This allows more granular management of the
different configuration types and proper mounting to their respective
paths.
- Created separate serverConfig and userConfig under configOverride
- Added user-default.xml under userConfig
- Updated StatefulSet to mount each ConfigMap separately
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
- Added `checkFilterValue` function to validate and update filter values
in `SearchStoreLive`.
- Updated `FilterItem` to handle undefined `value` gracefully by providing
a default empty array.
These changes improve robustness in filter value processing.
- Introduced `roundToNextMinutes` utility function to round timestamps
to the next specified minute interval.
- Updated `Search` class to use the rounding function for non-custom
date ranges.
- Modified `getRange` in `period.js` to align LAST_24_HOURS with
15-minute intervals.
- Added `roundToNextMinutes` implementation in `utils/index.ts`.
Adds support for overriding ClickHouse server configurations by:
- Creating a new ConfigMap to store custom XML configurations
- Mounting the ConfigMap to ClickHouse pods under /etc/clickhouse-server/config.d
- Adding configOverride field to values.yaml with examples
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
feat(workflow): update commit timestamp for patching
Add a step to set the commit timestamp of the HEAD commit to be 1
second newer than the oldest of the last 3 commits. This ensures
proper chronological order while preserving the commit content.
- Fetch deeper history to access commit history
- Get oldest timestamp from recent commits
- Set new commit date with BSD-compatible date command
- Verify timestamp change with git log
The workflow was previously checking out 'main' branch with a
comment indicating it needed to be fixed. This change makes it
properly checkout the tag specified by the workflow input.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>