Commit Graph

87 Commits

Author SHA1 Message Date
renovate[bot]
3d0d3ff856
chore(deps): update all cloudnative-pg daggerverse dependencies to f2acc8d (#93)
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-12 09:43:09 +01:00
renovate[bot]
378516225d
fix(deps): update all non-major go dependencies (#19)
| datasource | package                                    | from                                  | to                                 |
| ---------- | ------------------------------------------ | ------------------------------------- | ---------------------------------- |
| go         | github.com/cloudnative-pg/api              | v0.0.0-20241116094849-219d7a1d257f    | v0.0.0-20241209133608-a48d55a7861d |
| go         | github.com/cloudnative-pg/barman-cloud     | v0.0.0-20241105055149-ae6c2408bd14    | v0.0.0-20241206153842-9d56b349a329 |
| go         | github.com/cloudnative-pg/cloudnative-pg   | v1.24.1-0.20241113134512-8608232c2813 | v1.24.1                            |
| go         | github.com/cloudnative-pg/cnpg-i           | v0.0.0-20241109002750-8abd359df734    | v0.0.0-20241211164119-6252971211f2 |
| go         | github.com/cloudnative-pg/cnpg-i-machinery | v0.0.0-20241205093641-958e207b8afe    | v0.0.0-20241209132929-8e699460292f |
| go         | github.com/cloudnative-pg/machinery        | v0.0.0-20241105070525-042a028b767c    | v0.0.0-20241209124314-8e260445e987 |
| go         | github.com/docker/docker                   | v27.3.1+incompatible                  | v27.4.0+incompatible               |
| go         | github.com/onsi/ginkgo/v2                  | v2.21.0                               | v2.22.0                            |
| go         | github.com/onsi/gomega                     | v1.35.1                               | v1.36.1                            |
| go         | google.golang.org/grpc                     | v1.68.0                               | v1.68.1                            |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-12-12 09:40:36 +01:00
Leonardo Cecchi
0e6a86a662
chore: e2e backup timeout (#97)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-12-11 17:39:36 +01:00
Leonardo Cecchi
4656d44c85
fix: replica source object store on replica clusters being promoted (#96)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-12-11 16:52:55 +01:00
Francesco Canovai
781a2f7401
test(e2e): parallelise test execution (#94)
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-11 16:23:29 +01:00
Leonardo Cecchi
9ed845c10f
chore: graceful startup probe (#95)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-12-11 15:57:42 +01:00
Leonardo Cecchi
b7daaac075
docs: provide usage instructions (#89)
Update the `README` file with usage instructions.

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2024-12-10 17:00:02 +01:00
Francesco Canovai
2a413c7b6b
ci: add manifest for images generated by main branch (#92)
Automatically generate a manifest.yaml file that can be applied to
evaluate the content of the latest commit of the main branch.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-10 15:58:17 +01:00
Francesco Canovai
17dae37096
ci: generate the manifest from kubernetes dir (#91)
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-10 13:13:51 +01:00
Jonathan Gonzalez V.
bb89d46f77
chore(containers): use ubi-micro for operator image (#61)
Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2024-12-10 13:11:10 +01:00
Francesco Canovai
e5a004d20d
test(e2e): replica cluster (#88)
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2024-12-09 16:05:36 +01:00
renovate[bot]
c4623066ce
chore(deps): update controller-gen digest to fa2e604 (#87)
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-09 13:52:40 +01:00
Leonardo Cecchi
e4735a2f85
feat: separate recovery object store from replica source (#83)
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2024-12-09 13:29:20 +01:00
Francesco Canovai
56a163b46c
ci: improve caching (#84)
Improve cache usage for faster local ci runs.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-09 11:40:11 +01:00
renovate[bot]
cef931a971
chore(deps): update docker digest to bd405d3 (#50)
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-09 10:16:33 +01:00
renovate[bot]
83b8d69b91
chore(deps): update all cloudnative-pg daggerverse dependencies to fa2e604 (#85)
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 17:37:36 +01:00
Francesco Canovai
1e6c69bac0 fix: obsolete deepcopy
Having automated controller-gen invocation, we noticed that the
generated deepcopy file was obsolete.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-06 17:34:40 +01:00
Jonathan Gonzalez V
c8cfc32c40 ci: add controller-gen task
Add a task to run controller-gen, and put it as a dependency for
the uncommitted and manifest task.

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-06 17:34:40 +01:00
renovate[bot]
1ea9e93135
chore(deps): update dependency dagger/dagger to v0.14.0 (#86)
| 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-12-06 17:07:17 +01:00
renovate[bot]
ee1f84b70e
chore(deps): update kustomize digest to 32b01ce (#74)
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 16:52:51 +01:00
Jonathan Gonzalez V.
ab98fdac2d
chore: renovate custom dagger runner image (#65)
Allow renovate to also update the dagger images used for the custom
runner.

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-12-06 16:42:43 +01:00
renovate[bot]
2d5f38130b
chore(deps): update all cloudnative-pg daggerverse dependencies to c899668 (#75)
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 15:50:59 +01:00
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