diff --git a/test/e2e/internal/tests/backup/fixtures.go b/test/e2e/internal/tests/backup/fixtures.go index d59fc5b..afba3a2 100644 --- a/test/e2e/internal/tests/backup/fixtures.go +++ b/test/e2e/internal/tests/backup/fixtures.go @@ -25,6 +25,7 @@ import ( "github.com/cloudnative-pg/machinery/pkg/api" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" pluginBarmanCloudV1 "github.com/cloudnative-pg/plugin-barman-cloud/api/v1" "github.com/cloudnative-pg/plugin-barman-cloud/test/e2e/internal/objectstore" @@ -292,6 +293,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -333,6 +335,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -439,6 +442,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, ExternalClusters: []cloudnativepgv1.ExternalCluster{ @@ -536,6 +540,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, ExternalClusters: []cloudnativepgv1.ExternalCluster{ @@ -632,6 +637,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": objectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, Env: []corev1.EnvVar{ diff --git a/test/e2e/internal/tests/replicacluster/fixtures.go b/test/e2e/internal/tests/replicacluster/fixtures.go index fe5e8ab..e474052 100644 --- a/test/e2e/internal/tests/replicacluster/fixtures.go +++ b/test/e2e/internal/tests/replicacluster/fixtures.go @@ -4,6 +4,7 @@ import ( cloudnativepgv1 "github.com/cloudnative-pg/api/pkg/api/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" pluginBarmanCloudV1 "github.com/cloudnative-pg/plugin-barman-cloud/api/v1" "github.com/cloudnative-pg/plugin-barman-cloud/test/e2e/internal/objectstore" @@ -119,6 +120,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": srcObjectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{ @@ -231,6 +233,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster { Parameters: map[string]string{ "barmanObjectName": replicaObjectStoreName, }, + IsWALArchiver: ptr.To(true), }, }, PostgresConfiguration: cloudnativepgv1.PostgresConfiguration{