Skip to content

Commit

Permalink
Merge pull request #96 from shoplineapp/feature/service-monitor-endpo…
Browse files Browse the repository at this point in the history
…ints

feat: allow more options on service monitor endpoints
  • Loading branch information
flash662 authored Dec 30, 2022
2 parents a51253a + a8ea3e1 commit 5f18459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion simple/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
description: Helm chart with simple deployment/service template
name: simple
version: 0.11.0
version: 0.12.0
appVersion: 0.0.1
tillerVersion: ">=2.14.3"
6 changes: 1 addition & 5 deletions simple/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ metadata:
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
namespace: prometheus-operator
spec:
namespaceSelector:
matchNames:
Expand All @@ -22,8 +21,5 @@ spec:
{{- range $key, $value := $ref.selector.matchLabels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
endpoints:
{{- range $ref.endpoints }}
- port: {{ .port | quote }}
{{- end }}
endpoints: {{- toYaml $ref.endpoints | nindent 4 }}
{{- end}}

0 comments on commit 5f18459

Please sign in to comment.