Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add serviceMonitor.extraLabels support #1200

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

drivebyer
Copy link
Collaborator

  • Updated version and appVersion for redis, redis-cluster, redis-replication, and redis-sentinel charts to 0.16.5, 0.16.7, and 0.16.9 respectively.
  • Introduced serviceMonitor.extraLabels in values.yaml and README.md for all Redis charts, allowing users to add custom labels to the ServiceMonitor when enabled.
  • Updated templates to utilize the new extraLabels configuration for ServiceMonitor.

This change enhances the flexibility of monitoring configurations for Redis deployments.

Description

Fixes #1187

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

Additional Context

- Updated version and appVersion for redis, redis-cluster, redis-replication, and redis-sentinel charts to 0.16.5, 0.16.7, and 0.16.9 respectively.
- Introduced `serviceMonitor.extraLabels` in values.yaml and README.md for all Redis charts, allowing users to add custom labels to the ServiceMonitor when enabled.
- Updated templates to utilize the new `extraLabels` configuration for ServiceMonitor.

This change enhances the flexibility of monitoring configurations for Redis deployments.

Signed-off-by: drivebyer <wuyangmuc@gmail.com>
@drivebyer drivebyer added the enhancement New feature or request label Jan 5, 2025
@drivebyer drivebyer merged commit 79d016e into OT-CONTAINER-KIT:master Jan 5, 2025
14 checks passed
@drivebyer drivebyer deleted the extralabels branch January 5, 2025 12:51
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.84%. Comparing base (60ef5a2) to head (7afc5c0).
Report is 22 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1200      +/-   ##
==========================================
- Coverage   30.20%   29.84%   -0.36%     
==========================================
  Files          55       57       +2     
  Lines        6294     6601     +307     
==========================================
+ Hits         1901     1970      +69     
- Misses       4200     4445     +245     
+ Partials      193      186       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to add labels to ServiceMonitor via the value file
1 participant