Skip to content

Commit 262f017

Browse files
authored
Merge pull request #36 from mtougeron/servicemonitor-labels
Allow additional labels on the ServiceMonitor resource
2 parents aca8cde + 4b88af4 commit 262f017

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

charts/k8s-aws-ebs-tagger/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ keywords:
1313
sources:
1414
- https://github.com/mtougeron/k8s-aws-ebs-tagger
1515

16-
version: 1.2.0
16+
version: 1.2.1
1717
appVersion: v0.0.4

charts/k8s-aws-ebs-tagger/templates/servicemonitor.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
name: {{ include "k8s-aws-ebs-tagger.fullname" . }}
66
labels:
77
{{- include "k8s-aws-ebs-tagger.labels" . | nindent 4 }}
8+
{{- with .Values.serviceMonitorLabels }}
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
811
spec:
912
endpoints:
1013
- port: metrics

charts/k8s-aws-ebs-tagger/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ annotationPrefix: ""
7777
watchNamespace: ""
7878

7979
serviceMonitor: false
80+
serviceMonitorLabels: {}
8081

8182
debug: false
8283

0 commit comments

Comments
 (0)