Skip to content

Commit

Permalink
fix: 🐛 give every servicemonitor its name (#342)
Browse files Browse the repository at this point in the history
they both had the same name. Seen with "kubectl get servicemonitor"
  • Loading branch information
severo authored Jun 2, 2022
1 parent 5aacf8e commit b53b1be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ServiceMonitor
metadata:
labels:
{{ include "labels.admin" . | nindent 4 }}
name: {{ include "release" . }}
name: "{{ include "release" . }}-admin"
namespace: {{ .Release.Namespace }}
spec:
endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: ServiceMonitor
metadata:
labels:
{{ include "labels.api" . | nindent 4 }}
name: {{ include "release" . }}
name: "{{ include "release" . }}-api"
namespace: {{ .Release.Namespace }}
spec:
endpoints:
Expand Down

0 comments on commit b53b1be

Please sign in to comment.