add endpoints resources to postgres-pod
This commit is contained in:
		
							parent
							
								
									e4f6589212
								
							
						
					
					
						commit
						bf313b1549
					
				|  | @ -256,6 +256,19 @@ kind: ClusterRole | ||||||
| metadata: | metadata: | ||||||
|   name: postgres-pod |   name: postgres-pod | ||||||
| rules: | 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 | # Patroni needs to watch and manage config maps | ||||||
| - apiGroups: | - apiGroups: | ||||||
|   - "" |   - "" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue