mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-29 21:42:06 +08:00
chart: Add service monitor and remove kube_rbac_proxy leftovers (#527)
* remove all authProxy refs * Add serviceMonitor * fix metrics port * fix newline * fix newline * bump chart version * fix indentation typo * Rename metrics.proxy * Make metrics.portNumber configurable * fix metrics port * revert: chart version change Co-authored-by: toast-gear <15716903+toast-gear@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{{- if .Values.metrics.serviceMonitor }}
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "actions-runner-controller.labels" . | nindent 4 }}
|
||||
name: {{ include "actions-runner-controller.serviceMonitorName" . }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
port: metrics-port
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "actions-runner-controller.selectorLabels" . | nindent 6 }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user