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

Update kubernetes-apps.yaml #4481

Closed
wants to merge 1 commit into from
Closed

Conversation

a7lan
Copy link

@a7lan a7lan commented Apr 23, 2024

Update annotations to use dynamic time variables from the "for" key instead of hardcoded 15-min/1h durations.

Previously, time durations were hardcoded as 15 minutes/1h in various annotations. This commit replaces these static values with dynamic variables sourced from the "for" key. This change improves flexibility and maintainability, ensuring that the annotations accurately reflect configured time durations.

What this PR does / why we need it

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer

Checklist

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [prometheus-couchdb-exporter])

Update annotations to use dynamic time variables from the "for" key instead of hardcoded 15-min/1h durations.

Previously, time durations were hardcoded as 15 minutes/1h in various annotations. This commit replaces these static values with dynamic variables sourced from the "for" key. This change improves flexibility and maintainability, ensuring that the annotations accurately reflect configured time durations.

Signed-off-by: a7lan <as_lan@bk.ru>
@jkroepke
Copy link
Member

Hi,

thanks for you contribution. However all files insides rules-1.14 directory are auto-generated by an python script. In case I would merge this, the changes are getting reverted by next person who execution the script.

Please adjust the script https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/hack/sync_prometheus_rules.py to include your changes.

@jkroepke jkroepke closed this May 1, 2024
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.

None yet

2 participants