Skip to content

Commit cc01fe9

Browse files
committed
fix hardcoded servicemonitor label selectors
1 parent 78c3608 commit cc01fe9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

charts/atuin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type: application
1919
# This is the chart version. This version number should be incremented each time you make changes
2020
# to the chart and its templates, including the app version.
2121
# Versions are expected to follow Semantic Versioning (https://semver.org/)
22-
version: 0.4.1
22+
version: 0.4.2
2323

2424
# This is the version number of the application being deployed. This version number should be
2525
# incremented each time you make changes to the application. Versions are not expected to

charts/atuin/templates/servicemonitor.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
apiVersion: monitoring.coreos.com/v1
33
kind: ServiceMonitor
44
metadata:
5-
name: atuin
5+
name: {{ include "atuin.fullname" . }}
66
spec:
77
endpoints:
88
- interval: 60s
99
path: /metrics
1010
port: metrics
1111
selector:
1212
matchLabels:
13-
app.kubernetes.io/instance: atuin
14-
app.kubernetes.io/name: atuin
13+
{{- include "atuin.selectorLabels" . | nindent 6 }}
1514
{{- end}}

0 commit comments

Comments
 (0)