Skip to content

Commit

Permalink
fix hardcoded servicemonitor label selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelnicolas committed Feb 1, 2025
1 parent 78c3608 commit cc01fe9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/atuin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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: 0.4.1
version: 0.4.2

# 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 Down
5 changes: 2 additions & 3 deletions charts/atuin/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: atuin
name: {{ include "atuin.fullname" . }}
spec:
endpoints:
- interval: 60s
path: /metrics
port: metrics
selector:
matchLabels:
app.kubernetes.io/instance: atuin
app.kubernetes.io/name: atuin
{{- include "atuin.selectorLabels" . | nindent 6 }}
{{- end}}

0 comments on commit cc01fe9

Please sign in to comment.