default service account for pooler
This commit is contained in:
		
							parent
							
								
									4b07d2578e
								
							
						
					
					
						commit
						8c88031ccd
					
				| 
						 | 
					@ -292,7 +292,6 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
 | 
				
			||||||
			Annotations: c.annotationsSet(c.generatePodAnnotations(spec)),
 | 
								Annotations: c.annotationsSet(c.generatePodAnnotations(spec)),
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
		Spec: v1.PodSpec{
 | 
							Spec: v1.PodSpec{
 | 
				
			||||||
			ServiceAccountName:            c.OpConfig.PodServiceAccountName,
 | 
					 | 
				
			||||||
			TerminationGracePeriodSeconds: &gracePeriod,
 | 
								TerminationGracePeriodSeconds: &gracePeriod,
 | 
				
			||||||
			Containers:                    []v1.Container{poolerContainer},
 | 
								Containers:                    []v1.Container{poolerContainer},
 | 
				
			||||||
			// TODO: add tolerations to scheduler pooler on the same node
 | 
								// TODO: add tolerations to scheduler pooler on the same node
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue