renovate[bot]
f900e5dddb
chore(deps): refresh pip-compile outputs ( #241 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 09:00:10 +01:00
renovate[bot]
3b6be060d6
chore(deps): update dependency barman to v3.13.2 ( #238 )
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| pypi | barman | 3.13.1 | 3.13.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>
2025-03-28 07:05:31 +01:00
renovate[bot]
e5d4982aa0
chore(deps): update all sagikazarmark daggerverse dependencies to b228768 ( #234 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 07:04:04 +01:00
renovate[bot]
792679ff67
fix(deps): update k8s.io/utils digest to 1f6e0b7 ( #237 )
...
| datasource | package | from | to |
| ---------- | ------------ | ---------------------------------- | ---------------------------------- |
| go | k8s.io/utils | v0.0.0-20241210054802-24370beab758 | v0.0.0-20250321185631-1f6e0b77f77e |
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 05:43:55 +01:00
renovate[bot]
9d22676f2a
fix(deps): update kubernetes packages to v0.32.3 ( #216 )
...
| datasource | package | from | to |
| ---------- | ------------------------------ | ------- | ------- |
| go | k8s.io/apiextensions-apiserver | v0.32.2 | v0.32.3 |
| go | k8s.io/client-go | v0.32.2 | v0.32.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>
2025-03-28 05:42:29 +01:00
renovate[bot]
4ea1b32626
chore(deps): update dependency setuptools to v78 ( #240 )
...
| datasource | package | from | to |
| ---------- | ---------- | ------ | ------ |
| pypi | setuptools | 77.0.1 | 78.1.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>
2025-03-28 05:41:26 +01:00
renovate[bot]
053f6752cb
chore(deps): update docker digest to bba3a4e ( #235 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 05:39:12 +01:00
renovate[bot]
0d617fd592
chore(deps): update dependency dagger/dagger to v0.17.2 ( #239 )
...
| datasource | package | from | to |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.16.3 | v0.17.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>
2025-03-28 05:38:02 +01:00
renovate[bot]
efd9e816c3
chore(deps): update genref digest to 00cead9 ( #236 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-28 05:37:22 +01:00
renovate[bot]
0d4a3d38f7
fix(deps): update all non-major go dependencies ( #219 )
...
| datasource | package | from | to |
| ---------- | -------------------------------------- | ------------------------------------ | ------- |
| go | github.com/cloudnative-pg/barman-cloud | v0.3.1-0.20250327134509-02a82773123e | v0.3.1 |
| go | github.com/cloudnative-pg/cnpg-i | v0.1.1-0.20250321093050-de4ab51537cb | v0.2.0 |
| go | github.com/cloudnative-pg/machinery | v0.1.0 | v0.2.0 |
| go | github.com/spf13/viper | v1.20.0 | v1.20.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>
2025-03-28 05:36:25 +01:00
Niccolò Fei
74bdb9a590
feat: generate apidoc using genref ( #228 )
...
Closes #206
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-03-27 22:42:46 +01:00
renovate[bot]
e1f00919d3
chore(deps): update dependency controller-runtime to v0.20.4
...
| datasource | package | from | to |
| ---------- | ----------------------------------------------------- | ------- | ------- |
| git-refs | https://github.com/kubernetes-sigs/controller-runtime | v0.20.3 | v0.20.4 |
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 17:03:18 +01:00
Francesco Canovai
d711a962e6
chore: remove embedded fields
...
The new version of golangci-lint prefers embedded fields not to be
included.
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-03-27 16:15:29 +01:00
Francesco Canovai
883cb4b65c
chore: update golangci-lint config to v2
...
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-03-27 16:15:29 +01:00
renovate[bot]
b25a04a8c3
chore(deps): update golangci/golangci-lint docker tag to v2
...
| datasource | package | from | to |
| ---------- | ---------------------- | ------- | ------ |
| docker | golangci/golangci-lint | v1.64.8 | v2.0.2 |
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 16:15:29 +01:00
Marco Nenciarini
c3ee1ffd16
chore: remove support for Barman <= 3.4 ( #231 )
...
Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-03-27 15:33:34 +01:00
Francesco Canovai
6c6fdc0a7a
ci: update version in metadata ( #229 )
...
Fix the release-please configuration to update the version defined in
the code.
Closes #226
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-03-25 17:21:56 +01:00
Leonardo Cecchi
bac7b673a2
fix: custom CA support for retention policies ( #224 )
...
Closes #220
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-24 18:21:47 +01:00
Niccolò Fei
78fe21b24d
fix: use a fixed golangci-lint version ( #230 )
...
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2025-03-24 16:43:21 +01:00
Jonathan Battiato
5788c1f727
fix: controller and sidecar containers run as non-root ( #225 )
...
Closes #177
Signed-off-by: Jonathan Battiato <jonathan.battiato@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-03-23 17:00:52 +01:00
Leonardo Cecchi
a7ef56b6e7
feat: implement evaluate lifecycle hook ( #222 )
...
This patch allows the plugin trigger a rolling deployment on existing
clusters, enabling seamless migration between the in-tree barman cloud
support and the plugin.
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-03-21 14:49:55 +01:00
renovate[bot]
bcfe1fd8dd
chore(deps): refresh pip-compile outputs ( #215 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-21 11:25:58 +01:00
renovate[bot]
4b51960ae2
chore(deps): update dependency barman to v3.13.1 ( #217 )
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| pypi | barman | 3.13.0 | 3.13.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>
2025-03-21 10:43:37 +01:00
renovate[bot]
a5b8649bd0
fix(deps): update all non-major go dependencies ( #213 )
...
| datasource | package | from | to |
| ---------- | ------------------------- | ------- | ------- |
| go | github.com/onsi/ginkgo/v2 | v2.23.0 | v2.23.1 |
| go | github.com/spf13/viper | v1.19.0 | v1.20.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>
2025-03-20 18:48:51 +01:00
renovate[bot]
6073822d01
chore(deps): update dependency setuptools to v77 ( #214 )
...
| datasource | package | from | to |
| ---------- | ---------- | ------ | ------ |
| pypi | setuptools | 75.9.1 | 77.0.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>
2025-03-20 18:48:20 +01:00
renovate[bot]
3226d4acfc
chore(deps): update kindest/node docker tag to v1.32.3 ( #212 )
...
| datasource | package | from | to |
| ---------- | ------------ | ------- | ------- |
| docker | kindest/node | v1.32.2 | v1.32.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>
2025-03-20 18:47:55 +01:00
renovate[bot]
1cff51e97b
chore(deps): update docker digest to 2259321 ( #211 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 18:47:41 +01:00
renovate[bot]
0c8b725a13
chore(deps): update dependency controller-runtime to v0.20.3 ( #193 )
...
| datasource | package | from | to |
| ---------- | ----------------------------------------------------- | ------- | ------- |
| git-refs | https://github.com/kubernetes-sigs/controller-runtime | v0.20.2 | v0.20.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>
2025-03-20 15:10:06 +01:00
renovate[bot]
90692be3c2
chore(deps): update dependency setuptools to v75.9.1 ( #195 )
...
| datasource | package | from | to |
| ---------- | ---------- | ------ | ------ |
| pypi | setuptools | 75.8.2 | 75.9.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>
2025-03-20 15:06:38 +01:00
renovate[bot]
2e7b55a02d
chore(deps): update all cloudnative-pg daggerverse dependencies to 00cead9 ( #207 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 15:06:20 +01:00
Marco Nenciarini
56d8cceb3b
feat: upgrade Barman to 3.13.0 ( #209 )
...
Upgrade Barman to 3.13.0 and adjust the argument order in
`barman-cloud-restore` to work around the regression described in
cloudnative-pg/cloudnative-pg#6932.
Closes #208
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-20 14:35:26 +01:00
Marco Nenciarini
795313f4aa
feat: support lz4, xz, and zstandard compressions ( #201 )
...
Closes #200
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-19 10:58:55 +01:00
renovate[bot]
47e626e381
chore(deps): update all cloudnative-pg daggerverse dependencies to 0caef5c ( #204 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-19 09:18:48 +01:00
Leonardo Cecchi
fecd1e9513
feat: retention policy ( #191 )
...
This commit makes the Barman cloud plugin support the enforcement of
retention policy as provided by the barman-cloud tool suite.
The first recoverability point and the last successful backup are
shown in the status of the ObjectStore resource for each involved
server name.
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-18 17:35:22 +01:00
renovate[bot]
f52007914f
chore(deps): update all sagikazarmark daggerverse dependencies to 21f771e ( #203 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 12:20:08 +01:00
renovate[bot]
b8f8f97240
chore(deps): update dependency dagger/dagger to v0.16.3 ( #199 )
...
| datasource | package | from | to |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.16.2 | v0.16.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>
2025-03-17 11:10:26 +01:00
Leonardo Cecchi
13e3fab268
feat: lenient decoding of CNPG resources ( #192 )
...
This patch enables the barman-cloud plugin to function with an operator
that is structurally identical to CNPG but works with a different API group.
It achieves this through lenient decoding of the provided CNPG resources
and injecting the detected GVK into the sidecar, enabling it to correctly
encode and decode the Kubernetes resources.
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-14 12:23:23 +01:00
Leonardo Cecchi
fcbc472092
feat: support custom CA certificates ( #198 )
...
This patch enables the use of custom CA certificates when connecting
to the object store in the barman-cloud plugin. The certificates are
injected into the sidecar via a projected volume and used by the
barman-cloud tool suite.
If the barman object name or the key name changes, users must trigger
a Pod rollout to apply the new values.
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-13 12:05:13 +01:00
Peggie
0872cf2013
chore(main): release 0.2.0 ( #126 )
...
Signed-off-by: Peggie <info@cloudnative-pg.io>
2025-03-05 15:31:15 +01:00
Francesco Canovai
0341b688c4
test(e2e): use upstream fake-gcs-server ( #189 )
...
Since https://github.com/fsouza/fake-gcs-server/pull/1827 has been
merged, we can go back to use the upstream version of the image.
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-03-05 14:49:11 +01:00
Marco Nenciarini
aba0748789
fix(deps): update golang.org/x/net ( #188 )
...
See https://github.com/golang/go/issues/71984
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-05 14:08:27 +01:00
renovate[bot]
e1f166023f
fix(deps): update module google.golang.org/grpc to v1.71.0 ( #187 )
...
| datasource | package | from | to |
| ---------- | ---------------------- | ------- | ------- |
| go | google.golang.org/grpc | v1.70.0 | v1.71.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>
2025-03-05 11:48:08 +01:00
renovate[bot]
9aa4368d90
chore(deps): update dependency go to v1.24.1 ( #174 )
...
| datasource | package | from | to |
| -------------- | ------- | ------ | ------ |
| golang-version | go | 1.24.0 | 1.24.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>
2025-03-05 11:46:23 +01:00
renovate[bot]
7c218a2235
chore(deps): update golang docker tag to v1.24.1 ( #186 )
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| docker | golang | 1.24.0 | 1.24.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>
2025-03-05 11:45:55 +01:00
Marco Nenciarini
de3225d649
docs: add isWALArchiver to documentation and examples ( #185 )
...
Version 1.25.1 of CNPG introduces a new configuration flag called `isWALArchiver`. This flag allows users to designate the plugin as a Write-Ahead Log (WAL) archiver. This update includes the addition of the flag in the examples and documentation.
See also https://github.com/cloudnative-pg/cloudnative-pg/pull/6593
Closes #184
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-03-05 11:00:40 +01:00
renovate[bot]
aacaee4256
chore(deps): update all cloudnative-pg daggerverse dependencies to a20e0c2 ( #179 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 19:30:03 +01:00
renovate[bot]
0d25af9aa2
chore(deps): update dependency dagger/dagger to v0.16.2 ( #181 )
...
| datasource | package | from | to |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.16.1 | v0.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>
2025-03-04 19:28:38 +01:00
renovate[bot]
e9f76b13fa
chore(deps): refresh pip-compile outputs ( #183 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 16:41:36 +01:00
renovate[bot]
12cd519523
fix(deps): update module github.com/cloudnative-pg/cnpg-i-machinery to v0.1.2 ( #182 )
...
* fix(deps): update module github.com/cloudnative-pg/cnpg-i-machinery to v0.1.2
| datasource | package | from | to |
| ---------- | ------------------------------------------ | ------ | ------ |
| go | github.com/cloudnative-pg/cnpg-i-machinery | v0.1.1 | v0.1.2 |
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps):use tagged CNPG api
Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Nenciarini <mnencia@kcore.it>
2025-03-02 00:16:24 +01:00
renovate[bot]
e9e636ada0
fix(deps): update github.com/cloudnative-pg/cloudnative-pg digest to 34ab236 ( #180 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 10:32:47 +01:00