add endpoints resource to postgres-operator ClusterRole
This commit is contained in:
		
							parent
							
								
									68c4b49636
								
							
						
					
					
						commit
						e4f6589212
					
				|  | @ -59,6 +59,20 @@ rules: | ||||||
|   - get |   - get | ||||||
|   - patch |   - patch | ||||||
|   - update |   - update | ||||||
|  | # to create endpoints to services | ||||||
|  | - apiGroups: | ||||||
|  |   - "" | ||||||
|  |   resources: | ||||||
|  |   - endpoints | ||||||
|  |   verbs: | ||||||
|  |   - create | ||||||
|  |   - delete | ||||||
|  |   - deletecollection | ||||||
|  |   - get | ||||||
|  |   - list | ||||||
|  |   - patch | ||||||
|  |   - update | ||||||
|  |   - watch | ||||||
| # to read configuration and manage ConfigMaps used by Patroni | # to read configuration and manage ConfigMaps used by Patroni | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue