Skip to content

Commit 186d3bd

Browse files
committed
feat: allow templating on servicemonitor extralabels
Signed-off-by: highpingblorg <highpingblorg@pm.me>
1 parent 2f9be3b commit 186d3bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

valkey/templates/servicemonitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
app.kubernetes.io/part-of: valkey
99
app.kubernetes.io/component: service-monitor
1010
{{- with .Values.metrics.serviceMonitor.extraLabels }}
11-
{{- toYaml . | nindent 4 }}
11+
{{- tpl (toYaml .) $ | nindent 4 }}
1212
{{- end }}
1313
{{- with .Values.metrics.serviceMonitor.annotations }}
1414
annotations:

0 commit comments

Comments
 (0)