diff --git a/terraform/modules/k8s-addons/manifests/gha-runner-scale-set-controller-gha-rs-controller-listener.yaml b/terraform/modules/k8s-addons/manifests/gha-runner-scale-set-controller-gha-rs-controller-listener.yaml new file mode 100644 index 0000000..746ebe1 --- /dev/null +++ b/terraform/modules/k8s-addons/manifests/gha-runner-scale-set-controller-gha-rs-controller-listener.yaml @@ -0,0 +1,65 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + annotations: + meta.helm.sh/release-name: gha-runner-scale-set-controller + meta.helm.sh/release-namespace: github-runner + labels: + app.kubernetes.io/managed-by: Helm + name: gha-runner-scale-set-controller-gha-rs-controller-listener + namespace: github-runner +rules: +- apiGroups: + - "" + resources: + - pods + verbs: + - create + - delete + - get +- apiGroups: + - "" + resources: + - pods/status + verbs: + - get +- apiGroups: + - "" + resources: + - secrets + verbs: + - create + - delete + - get + - patch + - update +- apiGroups: + - "" + resources: + - serviceaccounts + verbs: + - create + - delete + - get + - patch + - update +- apiGroups: + - rbac.authorization.k8s.io + resources: + - roles + verbs: + - create + - delete + - get + - patch + - update +- apiGroups: + - rbac.authorization.k8s.io + resources: + - rolebindings + verbs: + - create + - delete + - get + - patch + - update