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:
application: db-connection-pooler
connection-pooler: acid-minimal-cluster-pooler
cluster-name: acid-minimal-cluster
spec:
replicas: 1
selector:
matchLabels:
application: db-connection-pooler
connection-pooler: acid-minimal-cluster-pooler
version: acid-minimal-cluster
template:
metadata:
labels:

View File

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