mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Job: Add PATCH Pods permission.
This is needed to update ControllerRef during adopt/release.
This commit is contained in:
		| @@ -152,7 +152,7 @@ func init() { | ||||
| 		Rules: []rbac.PolicyRule{ | ||||
| 			rbac.NewRule("get", "list", "watch", "update").Groups(batchGroup).Resources("jobs").RuleOrDie(), | ||||
| 			rbac.NewRule("update").Groups(batchGroup).Resources("jobs/status").RuleOrDie(), | ||||
| 			rbac.NewRule("list", "watch", "create", "delete").Groups(legacyGroup).Resources("pods").RuleOrDie(), | ||||
| 			rbac.NewRule("list", "watch", "create", "delete", "patch").Groups(legacyGroup).Resources("pods").RuleOrDie(), | ||||
| 			eventsRule(), | ||||
| 		}, | ||||
| 	}) | ||||
|   | ||||
| @@ -492,6 +492,7 @@ items: | ||||
|     - create | ||||
|     - delete | ||||
|     - list | ||||
|     - patch | ||||
|     - watch | ||||
|   - apiGroups: | ||||
|     - "" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Anthony Yeh
					Anthony Yeh