Add cluster role binding for github-webhook-server
This commit is contained in:
		
							parent
							
								
									829bf20449
								
							
						
					
					
						commit
						2c4a6ca90b
					
				|  | @ -0,0 +1,14 @@ | ||||||
|  | {{- if .Values.githubWebhookServer.enabled }} | ||||||
|  | apiVersion: rbac.authorization.k8s.io/v1 | ||||||
|  | kind: ClusterRoleBinding | ||||||
|  | metadata: | ||||||
|  |   name: {{ include "actions-runner-controller-github-webhook-server.roleName" . }} | ||||||
|  | roleRef: | ||||||
|  |   apiGroup: rbac.authorization.k8s.io | ||||||
|  |   kind: ClusterRole | ||||||
|  |   name: {{ include "actions-runner-controller-github-webhook-server.roleName" . }} | ||||||
|  | subjects: | ||||||
|  |   - kind: ServiceAccount | ||||||
|  |     name: {{ include "actions-runner-controller-github-webhook-server.serviceAccountName" . }} | ||||||
|  |     namespace: {{ .Release.Namespace }} | ||||||
|  | {{- end }} | ||||||
		Loading…
	
		Reference in New Issue