mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 13:43:10 +01:00
test(e2e): follow PluginConfigurationList change
Reflect the switch from PluginConfigurationList to []PluginConfiguration in the e2e. Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
parent
5cc751f17f
commit
94e386cdfb
@ -285,7 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
@ -325,7 +325,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Source: "source",
|
Source: "source",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
@ -431,7 +431,7 @@ func newDstClusterInTreeS3(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
"log_min_messages": "DEBUG4",
|
"log_min_messages": "DEBUG4",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
@ -528,7 +528,7 @@ func newDstClusterInTreeAzure(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Source: "source",
|
Source: "source",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
@ -624,7 +624,7 @@ func newDstClusterInTreeGCS(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Source: "source",
|
Source: "source",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
|
|||||||
@ -112,7 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
@ -223,7 +223,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Source: "source",
|
Source: "source",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Plugins: cloudnativepgv1.PluginConfigurationList{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
Parameters: map[string]string{
|
Parameters: map[string]string{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user