diff --git a/charts/actions-runner-controller/templates/actionsmetrics.servicemonitor.yaml.yml b/charts/actions-runner-controller/templates/actionsmetrics.servicemonitor.yaml.yml index 25e72f13..d25400fc 100644 --- a/charts/actions-runner-controller/templates/actionsmetrics.servicemonitor.yaml.yml +++ b/charts/actions-runner-controller/templates/actionsmetrics.servicemonitor.yaml.yml @@ -4,7 +4,7 @@ kind: ServiceMonitor metadata: labels: {{- include "actions-runner-controller.labels" . | nindent 4 }} - {{- with .Values.actionsMetricsServer.serviceMonitorLabels }} + {{- with .Values.actionsMetrics.serviceMonitorLabels }} {{- toYaml . | nindent 4 }} {{- end }} name: {{ include "actions-runner-controller-actions-metrics-server.serviceMonitorName" . }}