fix manifest

This commit is contained in:
Rafia Sabih 2020-11-16 16:34:46 +01:00
parent 3dda3f8373
commit 85c1314cff
2 changed files with 2 additions and 2 deletions

View File

@ -6,13 +6,13 @@ metadata:
labels: labels:
application: db-connection-pooler application: db-connection-pooler
connection-pooler: acid-minimal-cluster-pooler connection-pooler: acid-minimal-cluster-pooler
cluster-name: acid-minimal-cluster
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
application: db-connection-pooler application: db-connection-pooler
connection-pooler: acid-minimal-cluster-pooler connection-pooler: acid-minimal-cluster-pooler
version: acid-minimal-cluster
template: template:
metadata: metadata:
labels: labels:

View File

@ -293,7 +293,7 @@ func (c *Cluster) generateConnectionPoolerPodTemplate(role PostgresRole) (
podTemplate := &v1.PodTemplateSpec{ podTemplate := &v1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{ ObjectMeta: metav1.ObjectMeta{
Labels: c.connectionPoolerLabels(role, true).MatchLabels, Labels: c.connectionPoolerLabels(role, false).MatchLabels,
Namespace: c.Namespace, Namespace: c.Namespace,
Annotations: c.generatePodAnnotations(spec), Annotations: c.generatePodAnnotations(spec),
}, },