mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 10:01:32 +02:00
remove redundant namespace
This commit is contained in:
@@ -89,7 +89,6 @@ func (c *Cluster) connectionPoolerLabels(role PostgresRole, moreLabels bool) *me
|
||||
"application": "db-connection-pooler",
|
||||
"spilo-role": string(role),
|
||||
"cluster-name": c.Name,
|
||||
"Namespace": c.Namespace,
|
||||
})
|
||||
} else {
|
||||
extraLabels = labels.Set(map[string]string{
|
||||
@@ -293,7 +292,7 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
|
||||
|
||||
podTemplate := &v1.PodTemplateSpec{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Labels: c.connectionPoolerLabels(role, false).MatchLabels,
|
||||
Labels: c.connectionPoolerLabels(role, true).MatchLabels,
|
||||
Namespace: c.Namespace,
|
||||
Annotations: c.generatePodAnnotations(spec),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user