Skip to content

Commit

Permalink
Merge pull request #153 from nfnsq/service-monitor-labels
Browse files Browse the repository at this point in the history
feat: include servicemonitor additional labels to template
  • Loading branch information
GeorgeMac authored Jul 8, 2024
2 parents f8c89bc + 0287679 commit e38f156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/flipt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: flipt
home: https://flipt.io
description: Flipt is an open-source, self-hosted feature flag solution.
type: application
version: 0.64.0
version: 0.65.0
appVersion: v1.45.0
maintainers:
- name: Flipt
Expand Down
3 changes: 3 additions & 0 deletions charts/flipt/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
{{- end }}
labels:
{{- include "flipt.labels" . | nindent 4 }}
{{- if .Values.metrics.serviceMonitor.labels }}
{{- toYaml .Values.metrics.serviceMonitor.labels | nindent 4 }}
{{- end }}
spec:
endpoints:
- port: {{ .Values.metrics.serviceMonitor.port | quote }}
Expand Down

0 comments on commit e38f156

Please sign in to comment.