Support the controller to watching a single namespace. (#2374)

This commit is contained in:
Tingluo Huang
2023-03-14 10:52:25 -04:00
committed by GitHub
parent 3417c5a3a8
commit 40811ebe0e
14 changed files with 666 additions and 35 deletions

View File

@@ -80,6 +80,14 @@ Create the name of the service account to use
{{- include "gha-runner-scale-set-controller.fullname" . }}-manager-cluster-rolebinding
{{- end }}
{{- define "gha-runner-scale-set-controller.managerSingleNamespaceRoleName" -}}
{{- include "gha-runner-scale-set-controller.fullname" . }}-manager-single-namespace-role
{{- end }}
{{- define "gha-runner-scale-set-controller.managerSingleNamespaceRoleBinding" -}}
{{- include "gha-runner-scale-set-controller.fullname" . }}-manager-single-namespace-rolebinding
{{- end }}
{{- define "gha-runner-scale-set-controller.managerListenerRoleName" -}}
{{- include "gha-runner-scale-set-controller.fullname" . }}-manager-listener-role
{{- end }}