add endpoints resources to postgres-pod
This commit is contained in:
		
							parent
							
								
									e4f6589212
								
							
						
					
					
						commit
						bf313b1549
					
				|  | @ -256,6 +256,19 @@ kind: ClusterRole | |||
| metadata: | ||||
|   name: postgres-pod | ||||
| rules: | ||||
| # to create endpoints to services | ||||
| - apiGroups: | ||||
|   - "" | ||||
|   resources: | ||||
|   - endpoints | ||||
|   verbs: | ||||
|   - create | ||||
|   - delete | ||||
|   - deletecollection | ||||
|   - get | ||||
|   - list | ||||
|   - patch | ||||
|   - update | ||||
| # Patroni needs to watch and manage config maps | ||||
| - apiGroups: | ||||
|   - "" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue