Commit Graph

465 Commits

Author SHA1 Message Date
renovate[bot]
4c8db6dad6
chore(deps): update dependency go to v1.23.4 (#79)
| datasource     | package | from   | to     |
| -------------- | ------- | ------ | ------ |
| golang-version | go      | 1.23.3 | 1.23.4 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 14:28:06 +01:00
renovate[bot]
e47b26b11e
chore(deps): update golang docker tag to v1.23.4 (#80)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| docker     | golang  | 1.23.3 | 1.23.4 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-06 13:32:14 +01:00
Jonathan Gonzalez V.
4e66d79fdb
chore: limit renovate PRs and rebases (#56)
Limit the amount of PRs opened by renovate and also do not auto
rebase the PRs to avoid consuming all the GitHub Runners

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2024-12-06 12:36:00 +01:00
Francesco Canovai
ecef64d506
test(e2e): enable GCS tests with fake-gcs-server (#82)
Activate backup and restore tests with GCS using the fake-gcs-server
emulator. Use a fork that support partial reads.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-05 14:24:59 +01:00
Leonardo Cecchi
be4037529c
feat: additional environment variables (#81)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-05 13:18:18 +01:00
Leonardo Cecchi
e30edd2318
feat: separate recovery and cluster object store (#76)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-05 12:05:14 +01:00
Francesco Canovai
af60a15837
test(e2e): backup and restore (#71)
Run basic backup and restore tests for the plugin. Use MinIO for S3,
Azurite for ACS and fake-gcs-server for GCS.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-02 15:53:34 +01:00
Armando Ruocco
5fd9449b27
feat: add liveness and readiness probe support (#69)
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-02 14:51:32 +01:00
renovate[bot]
9404772ede
chore(deps): update gh digest to 32b01ce (#72)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 14:25:03 +01:00
renovate[bot]
615356d8d3
chore(deps): update golangci-lint digest to 32b01ce (#73)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-02 13:34:39 +01:00
Leonardo Cecchi
9d8fa079fe
fix: exit code 0 on clean shutdown (#70)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-11-29 16:15:04 +01:00
Armando Ruocco
afd4603023
fix: ensure restore configuration points to manager wal-restore (#68)
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-11-28 14:04:50 +01:00
renovate[bot]
74d4f5d190
fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.2 (#67)
| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| go         | sigs.k8s.io/controller-runtime | v0.19.1 | v0.19.2 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 14:21:55 +00:00
renovate[bot]
588c330b34
chore(deps): update dependency controller-runtime to v0.19.2 (#66)
| datasource | package                                               | from    | to      |
| ---------- | ----------------------------------------------------- | ------- | ------- |
| git-refs   | https://github.com/kubernetes-sigs/controller-runtime | v0.19.1 | v0.19.2 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 13:28:30 +00:00
Leonardo Cecchi
9c77e3de9f
fix: avoid injecting the plugin environment into the PG container (#62)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-11-22 16:35:01 +01:00
renovate[bot]
c639af1295
fix(deps): update kubernetes packages to v0.31.3 (#64)
| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| go         | k8s.io/api                     | v0.31.2 | v0.31.3 |
| go         | k8s.io/apiextensions-apiserver | v0.31.2 | v0.31.3 |
| go         | k8s.io/apimachinery            | v0.31.2 | v0.31.3 |
| go         | k8s.io/client-go               | v0.31.2 | v0.31.3 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 19:47:34 +00:00
renovate[bot]
03d1807dd5
chore(deps): update gh digest to 7fc77a4 (#54)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 15:36:03 +00:00
renovate[bot]
e0926e9533
chore(deps): update all cloudnative-pg daggerverse dependencies to d24d288 (#60)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:27:45 +00:00
renovate[bot]
b2d3032054
fix(deps): update module sigs.k8s.io/kustomize/api to v0.18.0 (#51)
| datasource | package                   | from    | to      |
| ---------- | ------------------------- | ------- | ------- |
| go         | sigs.k8s.io/kustomize/api | v0.17.3 | v0.18.0 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 04:53:25 +00:00
renovate[bot]
53d2c09993
fix(deps): update module github.com/cert-manager/cert-manager to v1.16.2 [security] (#63)
| datasource | package                              | from    | to      |
| ---------- | ------------------------------------ | ------- | ------- |
| go         | github.com/cert-manager/cert-manager | v1.16.1 | v1.16.2 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 02:34:22 +00:00
renovate[bot]
76b64c0d5a
chore(deps): update kustomize digest to 7fc77a4 (#57)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 21:10:58 +00:00
renovate[bot]
d1e79a45af
chore(deps): update golangci-lint digest to 7fc77a4 (#55)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 16:33:21 +00:00
renovate[bot]
906fd233ee
chore(deps): update golang docker tag to v1.23.3 (#39)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| docker     | golang  | 1.23.2 | 1.23.3 |
| docker     | golang  | 1.23.1 | 1.23.3 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 09:15:27 +01:00
renovate[bot]
b854830a3f
chore(deps): update dependency controller-runtime to v0.19.1 (#42)
| datasource | package                                               | from    | to      |
| ---------- | ----------------------------------------------------- | ------- | ------- |
| git-refs   | https://github.com/kubernetes-sigs/controller-runtime | v0.19.0 | v0.19.1 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 13:02:49 +00:00
renovate[bot]
3b3ca7ff3e
chore(deps): update all cloudnative-pg daggerverse dependencies to 32dae44 (#45)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 10:39:10 +00:00
renovate[bot]
576ff6e058
chore(deps): update dependency dagger/dagger to v0.14.0 (#46)
| datasource  | package       | from    | to      |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.13.6 | v0.14.0 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 10:44:37 +01:00
renovate[bot]
28f4ec6ff2
chore(deps): update dependency go to v1.23.3 (#49)
| datasource     | package | from   | to     |
| -------------- | ------- | ------ | ------ |
| golang-version | go      | 1.23.1 | 1.23.3 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 10:21:54 +01:00
renovate[bot]
07215c7c75
chore(deps): update python docker tag to v3.13 (#40)
| datasource | package | from | to   |
| ---------- | ------- | ---- | ---- |
| docker     | python  | 3.12 | 3.13 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 09:00:56 +00:00
Francesco Canovai
c77be7fe03
test(e2e): remove exec.Command calls (#53)
Switch from using exec.Command to using kind and docker as libraries, so
tests won't depend on external binaries.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-11-18 10:09:57 +01:00
Armando Ruocco
beef96e12f
chore: add secrets cache (#47)
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-11-14 16:10:17 +01:00
Francesco Canovai
74bc9e221e
test(e2e): environment setup (#43)
Create the CI and testing infrastructure for e2e testing. Running the ci
task now will push the plugin and sidecar images to a local registry,
start kind, install the CloudNativePG and cert-manager operators, and
then install the plugin-barman-cloud one.

No actual test is implemented.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-11-14 09:44:18 +01:00
renovate[bot]
b7c4a4bb10
chore(deps): update kustomize digest to 68e9daa (#36)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-13 18:18:02 +00:00
Armando Ruocco
240077c771
feat(spike): restore (#29)
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-11-06 16:01:56 +01:00
renovate[bot]
5d0038ecc5
chore(deps): update docker digest to 4778f39 (#37)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 14:31:18 +01:00
renovate[bot]
e810c649ae
chore(deps): update golangci-lint digest to 68e9daa (#35)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 13:49:20 +01:00
renovate[bot]
44986ab3b7
chore(deps): update all cloudnative-pg daggerverse dependencies to 43d7831 (#28)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 15:37:16 +01:00
renovate[bot]
4634856812
chore(deps): update gh digest to 68e9daa (#34)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 15:00:14 +01:00
renovate[bot]
8c8a8c36d5
chore(deps): update dependency dagger/dagger to v0.13.6 (#30)
| datasource  | package       | from    | to      |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.13.3 | v0.13.6 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 14:19:55 +01:00
Francesco Canovai
f877bb19d7
ci: build amd64 and arm64 images for the sidecar and the plugin (#26)
Adds support for building and publishing Docker images for both amd64 and arm64 architectures.
Ensures compatibility across multiple platforms by using cross-compilation.
Updates relevant configuration files for CI/CD to handle the new build process.
Fixes issues related to Python version conflicts and ensures the correct directory structure in the final image.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2024-10-24 10:27:26 +02:00
renovate[bot]
738afcb42f
chore(deps): update gh digest to 14ff058 (#31)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 10:14:03 +02:00
renovate[bot]
ea59338082
chore(deps): update golangci-lint digest to 14ff058 (#32)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 09:32:04 +02:00
renovate[bot]
4a067714d4
chore(deps): update kustomize digest to 14ff058 (#33)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 09:20:09 +02:00
Armando Ruocco
9fa1c0beab
feat(spike): backup method (#20)
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-10-09 11:11:21 +02:00
Francesco Canovai
ed2626a041
ci: increase linter timeout (#27)
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-10-04 15:00:04 +02:00
Leonardo Cecchi
76383a30af
feat: grant permissions to read secrets (#25)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-10-03 16:58:56 +02:00
renovate[bot]
e78aee07da
chore(deps): update golang docker tag to v1.23.2 (#21)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| docker     | golang  | 1.23.1 | 1.23.2 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 15:03:21 +02:00
Leonardo Cecchi
2f62d539c9
feat: sidecar role and rolebinding (#23)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-10-02 15:03:07 +02:00
Leonardo Cecchi
ea6ee30d2e
feat: sidecar injection and loading (#22)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-10-02 13:21:04 +02:00
Leonardo Cecchi
dd6548c4a2
feat: operator plugin and manifests (#18)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-10-01 15:40:48 +02:00
Leonardo Cecchi
88e8762858
chore: makes linter happy (#17)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-10-01 11:54:07 +02:00