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
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
fddc252241
commit
f61dd33c4e
@ -285,6 +285,7 @@ func newSrcClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
|
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||||
Plugins: []cloudnativepgv1.PluginConfiguration{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
@ -320,6 +321,7 @@ func newDstClusterWithPlugin(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
|
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||||
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
||||||
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
||||||
Source: "source",
|
Source: "source",
|
||||||
|
|||||||
@ -112,6 +112,7 @@ func newSrcCluster(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
|
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||||
Plugins: []cloudnativepgv1.PluginConfiguration{
|
Plugins: []cloudnativepgv1.PluginConfiguration{
|
||||||
{
|
{
|
||||||
Name: "barman-cloud.cloudnative-pg.io",
|
Name: "barman-cloud.cloudnative-pg.io",
|
||||||
@ -218,6 +219,7 @@ func newReplicaCluster(namespace string) *cloudnativepgv1.Cluster {
|
|||||||
Spec: cloudnativepgv1.ClusterSpec{
|
Spec: cloudnativepgv1.ClusterSpec{
|
||||||
Instances: 2,
|
Instances: 2,
|
||||||
ImagePullPolicy: corev1.PullAlways,
|
ImagePullPolicy: corev1.PullAlways,
|
||||||
|
ImageName: "ghcr.io/cloudnative-pg/postgresql:17-minimal-bookworm",
|
||||||
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
Bootstrap: &cloudnativepgv1.BootstrapConfiguration{
|
||||||
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
Recovery: &cloudnativepgv1.BootstrapRecovery{
|
||||||
Source: "source",
|
Source: "source",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user