fix manifest
This commit is contained in:
parent
3dda3f8373
commit
85c1314cff
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue