Skip to content

Commit

Permalink
Merge pull request #46 from intergral/alert_rules
Browse files Browse the repository at this point in the history
fix(rules): fix templates in rules
  • Loading branch information
Umaaz authored Dec 1, 2023
2 parents eafd228 + ee0c97b commit c1b5cdc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/deep-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.3
version: 1.0.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -24,4 +24,4 @@ version: 1.0.3
appVersion: "1.0.3"
maintainers:
- name: Ben Donnelly
email: b.w.donnelly@gmail.com
email: b.w.donnelly1@gmail.com
3 changes: 3 additions & 0 deletions charts/deep-distributed/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
{{- with .labels}}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .for }}
for: {{ .for }}
{{- end}}
annotations:
app_version: {{ $.Chart.AppVersion }}
chart_version: {{ $.Chart.Version }}
Expand Down
4 changes: 2 additions & 2 deletions charts/deep/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.17
version: 1.0.18

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -25,4 +25,4 @@ appVersion: "1.0.3"
icon: https://raw.githubusercontent.com/intergral/deep/master/docs/docs/images/logo/logo.svg
maintainers:
- name: Ben Donnelly
email: b.w.donnelly@gmail.com
email: b.w.donnelly1@gmail.com
3 changes: 3 additions & 0 deletions charts/deep/templates/prometheusrule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
{{- with .labels}}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .for }}
for: {{ .for }}
{{- end}}
annotations:
app_version: {{ $.Chart.AppVersion }}
chart_version: {{ $.Chart.Version }}
Expand Down

0 comments on commit c1b5cdc

Please sign in to comment.