mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
test: use minimal image for testing (#154)
Use 17-minimal-bookworm images instead of default ones for all the tests, except the one where we need barman cloud to check compatibility. Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
parent
12776640f8
commit
78300f093d
@ -285,6 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
||||
Spec: cloudnativepgv1.ClusterSpec{
|
||||
Instances: 2,
|
||||
ImagePullPolicy: corev1.PullAlways,
|
||||
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||
{
|
||||
Name: "barman-cloud.cloudnative-pg.io",
|
||||
@ -320,6 +321,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
||||
Spec: cloudnativepgv1.ClusterSpec{
|
||||
Instances: 2,
|
||||
ImagePullPolicy: corev1.PullAlways,
|
||||
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
||||
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
||||
Source: "source",
|
||||
|
||||
@ -112,6 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster {
|
||||
Spec: cloudnativepgv1.ClusterSpec{
|
||||
Instances: 2,
|
||||
ImagePullPolicy: corev1.PullAlways,
|
||||
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||
{
|
||||
Name: "barman-cloud.cloudnative-pg.io",
|
||||
@ -218,6 +219,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster {
|
||||
Spec: cloudnativepgv1.ClusterSpec{
|
||||
Instances: 2,
|
||||
ImagePullPolicy: corev1.PullAlways,
|
||||
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
||||
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
||||
Source: "source",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user