mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
* 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>
15 lines
476 B
YAML
15 lines
476 B
YAML
{{- if .Values.metrics.proxy.enabled }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: {{ include "actions-runner-controller.authProxyRoleName" . }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: {{ include "actions-runner-controller.authProxyRoleName" . }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ include "actions-runner-controller.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
{{- end }}
|