mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 19:50:30 +00:00
Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com> Co-authored-by: Nikola Jokic <jokicnikola07@gmail.com>
15 lines
505 B
YAML
15 lines
505 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: {{ include "actions-runner-controller.namespace" . }}
|
|
{{- end }}
|