@@ -25,6 +25,7 @@ import (
2525 "github.com/cloudnative-pg/machinery/pkg/api"
2626 corev1 "k8s.io/api/core/v1"
2727 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
28+ "k8s.io/utils/ptr"
2829
2930 pluginBarmanCloudV1 "github.com/cloudnative-pg/plugin-barman-cloud/api/v1"
3031 "github.com/cloudnative-pg/plugin-barman-cloud/test/e2e/internal/objectstore"
@@ -292,6 +293,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
292293 Parameters : map [string ]string {
293294 "barmanObjectName" : objectStoreName ,
294295 },
296+ IsWALArchiver : ptr .To (true ),
295297 },
296298 },
297299 PostgresConfiguration : cloudnativepgv1.PostgresConfiguration {
@@ -333,6 +335,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
333335 Parameters : map [string ]string {
334336 "barmanObjectName" : objectStoreName ,
335337 },
338+ IsWALArchiver : ptr .To (true ),
336339 },
337340 },
338341 PostgresConfiguration : cloudnativepgv1.PostgresConfiguration {
@@ -439,6 +442,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster {
439442 Parameters : map [string ]string {
440443 "barmanObjectName" : objectStoreName ,
441444 },
445+ IsWALArchiver : ptr .To (true ),
442446 },
443447 },
444448 ExternalClusters : []cloudnativepgv1.ExternalCluster {
@@ -536,6 +540,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster {
536540 Parameters : map [string ]string {
537541 "barmanObjectName" : objectStoreName ,
538542 },
543+ IsWALArchiver : ptr .To (true ),
539544 },
540545 },
541546 ExternalClusters : []cloudnativepgv1.ExternalCluster {
@@ -632,6 +637,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster {
632637 Parameters : map [string ]string {
633638 "barmanObjectName" : objectStoreName ,
634639 },
640+ IsWALArchiver : ptr .To (true ),
635641 },
636642 },
637643 Env : []corev1.EnvVar {
0 commit comments