Skip to content

Commit f76baa7

Browse files
author
jmccormick2001
committed
fix pgbouncer backrest restore bug and update to rc5 version string
1 parent bcd0f20 commit f76baa7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

apiservermsgs/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717

1818
import ()
1919

20-
const PGO_VERSION = "3.5.2-rc4"
20+
const PGO_VERSION = "3.5.2-rc5"
2121

2222
// Ok status
2323
const Ok = "ok"

conf/postgres-operator/pgo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ Pgo:
9292
LSPVCTemplate: /pgo-config/pgo.lspvc-template.json
9393
LoadTemplate: /pgo-config/pgo.load-template.json
9494
COImagePrefix: crunchydata
95-
COImageTag: centos7-3.5.2-rc3
95+
COImageTag: centos7-3.5.2-rc5

operator/backrest/restore.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ func CreateRestoredDeployment(restclient *rest.RESTClient, cluster *crv1.Pgclust
440440
CollectAddon: operator.GetCollectAddon(clientset, namespace, &cluster.Spec),
441441
BadgerAddon: operator.GetBadgerAddon(clientset, namespace, &cluster.Spec),
442442
PgbackrestEnvVars: operator.GetPgbackrestEnvVars(cluster.Spec.UserLabels[util.LABEL_BACKREST], cluster.Spec.Name, restoreToName, cluster.Spec.Port),
443-
PgbouncerEnvVars: operator.GetPgbouncerEnvVar(cluster.Spec.UserLabels[util.LABEL_PGBOUNCER_PASS]),
443+
//PgbouncerEnvVars: operator.GetPgbouncerEnvVar(cluster.Spec.UserLabels[util.LABEL_PGBOUNCER_PASS]),
444+
PgbouncerEnvVars: "",
444445
}
445446

446447
log.Debug("collectaddon value is [" + deploymentFields.CollectAddon + "]")

0 commit comments

Comments
 (0)