mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	De-duplication of verb
This commit is contained in:
		@@ -226,7 +226,7 @@ func ClusterRoles() []rbac.ClusterRole {
 | 
			
		||||
				// TODO: remove once mirror pods are removed
 | 
			
		||||
				// TODO: restrict deletion to mirror pods created by the bound node once supported
 | 
			
		||||
				// Needed for the node to create/delete mirror pods
 | 
			
		||||
				rbac.NewRule("get", "create", "delete").Groups(legacyGroup).Resources("pods").RuleOrDie(),
 | 
			
		||||
				rbac.NewRule("create", "delete").Groups(legacyGroup).Resources("pods").RuleOrDie(),
 | 
			
		||||
				// TODO: restrict to pods scheduled on the bound node once supported
 | 
			
		||||
				rbac.NewRule("update").Groups(legacyGroup).Resources("pods/status").RuleOrDie(),
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -672,7 +672,6 @@ items:
 | 
			
		||||
    verbs:
 | 
			
		||||
    - create
 | 
			
		||||
    - delete
 | 
			
		||||
    - get
 | 
			
		||||
  - apiGroups:
 | 
			
		||||
    - ""
 | 
			
		||||
    resources:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user