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>
16 lines
382 B
YAML
16 lines
382 B
YAML
{{- if .Values.metrics.proxy.enabled }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "actions-runner-controller.authProxyRoleName" . }}
|
|
rules:
|
|
- apiGroups: ["authentication.k8s.io"]
|
|
resources:
|
|
- tokenreviews
|
|
verbs: ["create"]
|
|
- apiGroups: ["authorization.k8s.io"]
|
|
resources:
|
|
- subjectaccessreviews
|
|
verbs: ["create"]
|
|
{{- end }}
|