mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-11-04 11:56:11 +08:00 
			
		
		
		
	Add leader election required permissions
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
		@ -36,6 +36,27 @@ rules:
 | 
				
			|||||||
  verbs:
 | 
					  verbs:
 | 
				
			||||||
  - create
 | 
					  - create
 | 
				
			||||||
  - patch
 | 
					  - patch
 | 
				
			||||||
 | 
					# required by leader election
 | 
				
			||||||
 | 
					- apiGroups:
 | 
				
			||||||
 | 
					    - ""
 | 
				
			||||||
 | 
					  resources:
 | 
				
			||||||
 | 
					    - configmaps
 | 
				
			||||||
 | 
					  verbs:
 | 
				
			||||||
 | 
					    - get
 | 
				
			||||||
 | 
					    - list
 | 
				
			||||||
 | 
					    - watch
 | 
				
			||||||
 | 
					    - create
 | 
				
			||||||
 | 
					    - update
 | 
				
			||||||
 | 
					    - patch
 | 
				
			||||||
 | 
					    - delete
 | 
				
			||||||
 | 
					- apiGroups:
 | 
				
			||||||
 | 
					    - ""
 | 
				
			||||||
 | 
					  resources:
 | 
				
			||||||
 | 
					    - configmaps/status
 | 
				
			||||||
 | 
					  verbs:
 | 
				
			||||||
 | 
					    - get
 | 
				
			||||||
 | 
					    - update
 | 
				
			||||||
 | 
					    - patch
 | 
				
			||||||
- apiGroups:
 | 
					- apiGroups:
 | 
				
			||||||
  - "coordination.k8s.io"
 | 
					  - "coordination.k8s.io"
 | 
				
			||||||
  resources:
 | 
					  resources:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user