Commit Graph

281 Commits

Author SHA1 Message Date
Marco Nenciarini
918823dbf1
fix: do not add barman-certificates projection if not needed (#354)
Closes #347 #364

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2025-05-28 18:12:53 +02:00
renovate[bot]
1097abbd1d
fix(deps): update all non-major go dependencies (#366)
| datasource | package                                  | from    | to      |
| ---------- | ---------------------------------------- | ------- | ------- |
| go         | github.com/cloudnative-pg/cloudnative-pg | v1.25.1 | v1.26.0 |
| go         | google.golang.org/grpc                   | v1.72.1 | v1.72.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-05-28 17:03:02 +02:00
renovate[bot]
6989742af7
chore(deps): update dependency setuptools to v80.9.0 (#365)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 80.3.1 | 80.9.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-05-28 17:02:09 +02:00
renovate[bot]
668e45b66b
chore(deps): update dependency kind to v0.29.0 (#363)
| datasource | package                                 | from    | to      |
| ---------- | --------------------------------------- | ------- | ------- |
| git-refs   | https://github.com/kubernetes-sigs/kind | v0.27.0 | v0.29.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-05-28 16:08:48 +02:00
renovate[bot]
7dfc1d0058
chore(deps): update dependency controller-runtime to v0.21.0 (#362)
| datasource | package                                               | from    | to      |
| ---------- | ----------------------------------------------------- | ------- | ------- |
| git-refs   | https://github.com/kubernetes-sigs/controller-runtime | v0.20.4 | v0.21.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-05-28 16:08:26 +02:00
renovate[bot]
9d4bc456b0
fix(deps): update kubernetes packages to v0.33.1 (#361)
| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| go         | k8s.io/api                     | v0.33.0 | v0.33.1 |
| go         | k8s.io/apiextensions-apiserver | v0.33.0 | v0.33.1 |
| go         | k8s.io/apimachinery            | v0.33.0 | v0.33.1 |
| go         | k8s.io/client-go               | v0.33.0 | v0.33.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-05-28 16:08:02 +02:00
renovate[bot]
d9fd8dd868
fix(deps): update module google.golang.org/grpc to v1.72.1 (#345)
| datasource | package                | from    | to      |
| ---------- | ---------------------- | ------- | ------- |
| go         | google.golang.org/grpc | v1.72.0 | v1.72.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-05-28 12:59:05 +02:00
renovate[bot]
e7bd9aafee
chore(deps): update dependency barman to v3.14.0 (#346)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| pypi       | barman  | 3.13.3 | 3.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>
2025-05-28 12:58:31 +02:00
renovate[bot]
78c39ed085
chore(deps): update kindest/node docker tag to v1.33.1 (#360)
| datasource | package      | from    | to      |
| ---------- | ------------ | ------- | ------- |
| docker     | kindest/node | v1.33.0 | v1.33.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-05-28 12:57:28 +02:00
renovate[bot]
8dfb47eaee
chore(deps): update dependency setuptools to v80.4.0 (#341)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 80.3.1 | 80.4.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-05-28 11:35:54 +02:00
Marco Nenciarini
3faee89bce
test(e2e): specify IsWALArchiver=true (#356)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-28 10:19:40 +02:00
smiyc
5e1b845cae
fix(docs): replace "no downtime" with "without data loss" (#349)
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-05-28 09:58:21 +02:00
Marco Nenciarini
27569ada01
ci(publish): fix emulated arm64 build (#357)
Use docker/setup-qemu-action to fix intermittent segmentation fault
when building for arm64.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <mnencia@kcore.it>
2025-05-28 09:56:00 +02:00
Francesco Canovai
12b92a66f1
docs: autoselect version (#344)
Define functions that can be used in mdx pages to dinamically choose the
correct version according to the documentation page viewed.

Closes #343

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
2025-05-15 13:36:57 +02:00
Peggie
612064bae3
chore(main): release 0.4.0 (#269)
Signed-off-by: Peggie <info@cloudnative-pg.io>
2025-05-12 13:04:51 +02:00
Marco Nenciarini
c0bd091ce8
docs: version 0.4.0 (#292)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-12 12:22:47 +02:00
renovate[bot]
d0571fffcf
chore(deps): lock file maintenance (#342)
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-05-12 09:16:16 +02:00
Gabriele Bartolini
19b99b0e51
docs: testing latest snapshot (#340)
Closes #339

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2025-05-09 18:29:32 +02:00
Leonardo Cecchi
4bb347121d
feat(sidecar): add resource requirements and limits (#307)
Closes #253

Signed-off-by: MichaluxPL <68371308+MichaluxPL@users.noreply.github.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: MichaluxPL <68371308+MichaluxPL@users.noreply.github.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-09 17:32:02 +02:00
Jonathan Gonzalez V.
c24d7aed3e
chore(ci): move certificates logic into containers (#309)
We create the certificates and all the required files inside a container
mounting these files in a volume that later can be used everywhere
to get the certification files.

Closes #308

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-09 15:52:46 +02:00
Francesco Canovai
f198b44dc0
docs: document replica cluster migration (#328)
Add a documentation section about updating the externalClusters to use
the plugin.

Closes #322

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2025-05-09 14:37:40 +02:00
Leonardo Cecchi
8c20e4fe85
fix: duplicate certificate projections (#331)
When referring to the same ObjectStore with custom TLS certificates
multiple times, the plugin was adding the same volume projection two
times. This lead to a wrong Job definition.

This patch makes the plugin add a sidecar to replica cluster Pods that
are using the plugin to get WALs, even if the plugin itself is not used
for WAL archiving.

Closes: #329

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-05-09 14:27:20 +02:00
Francesco Canovai
3fee90befd
docs: plugin parameters (#330)
Closes #327

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-09 13:20:18 +02:00
renovate[bot]
338252f566
chore(deps): update all cloudnative-pg daggerverse dependencies to d8681eb (#335)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-09 13:18:36 +02:00
Marco Nenciarini
3420f43073
feat: forbid usage of .spec.configuration.serverName in ObjectStore (#336)
Closes #334

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-09 11:29:38 +02:00
Marco Nenciarini
c59043a934
ci(docs): allow workflow_dispatch for docs (#333)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-09 09:23:14 +02:00
renovate[bot]
0f9bba392c
chore(config): migrate config renovate.json5 (#332)
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 09:13:13 +02:00
renovate[bot]
c6f36d5756
fix(deps): update kubernetes packages to v0.33.0 (#281)
| datasource | package                        | from    | to      |
| ---------- | ------------------------------ | ------- | ------- |
| go         | k8s.io/api                     | v0.32.3 | v0.33.0 |
| go         | k8s.io/apiextensions-apiserver | v0.32.3 | v0.33.0 |
| go         | k8s.io/apimachinery            | v0.32.3 | v0.33.0 |
| go         | k8s.io/client-go               | v0.32.3 | v0.33.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-05-08 18:14:04 +02:00
Francesco Canovai
fc0d141c14
ci: fix setup-node action (#326)
Fix the workflow to publish docs. It was trying to install npm
dependencies when the documentation uses yarn.

Closes #324

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-08 12:00:09 +02:00
Leonardo Cecchi
f484b9e748
fix: role patching (#325)
Closes: #318

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-05-08 11:58:31 +02:00
Leonardo Cecchi
9db184f5d4
feat: log the downloaded backup catalog before restore (#323)
Closes: #319

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
2025-05-08 10:51:35 +02:00
Gabriele Bartolini
087623f3f2
docs: document the container images (#317)
Closes #299

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-07 10:59:32 +02:00
Gabriele Bartolini
f56072a917
docs: add migration guide from in-tree to plugin-based Barman Cloud (#316)
This commit introduces documentation that guides users through the process of
migrating an existing CloudNativePG cluster from the built-in (in-tree) Barman
Cloud integration to the external Barman Cloud Plugin.

Closes #312.

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2025-05-07 10:41:51 +02:00
renovate[bot]
45055d049d
chore(deps): update golang docker tag to v1.24.3 (#321)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| docker     | golang  | 1.24.2 | 1.24.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-05-07 10:19:15 +02:00
Jonathan Gonzalez V.
99561db720
ci: ignore go.mod inside dagger directory (#315)
We should ignore the go.mod files in renovate that are inside the
dagger directory, these go.mod files should be updated using
the proper `dagger update` command

Closes #305

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-06 12:09:24 +02:00
Marco Nenciarini
f1b53c952d
chore: use yarn lockfile instead of npm one (#314)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-06 12:08:25 +02:00
Gabriele Bartolini
e26ad81fba
docs: add backup, WAL archive and recovery information (#291)
Reorganised the content, with a different structure,
added license information and instructions for spellchecking.

Closes #290

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-05-06 11:49:09 +02:00
Jonathan Gonzalez V.
4be694bb1f
ci: add word ordered task (#311)
Added a word list ordered to the Taskfile to run as a dependency of
the `spellcheck` task to keep the .wordlist.txt file in order

Closes #310

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-06 10:30:43 +02:00
renovate[bot]
ab398d7d30
fix(deps): update k8s.io/utils digest to 0f33e8f (#301)
| datasource | package      | from                               | to                                 |
| ---------- | ------------ | ---------------------------------- | ---------------------------------- |
| go         | k8s.io/utils | v0.0.0-20250321185631-1f6e0b77f77e | v0.0.0-20250502105355-0f33e8f1c979 |

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-05-06 09:29:24 +02:00
renovate[bot]
28bc705e6e
chore(deps): update dependency setuptools to v80.3.1 (#306)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 80.0.1 | 80.3.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-05-05 15:36:13 +02:00
Jonathan Gonzalez V.
f361fa2fcf
chore(security): update dagger modules (#304)
To reduce the security alerts we update the dagger modules: check-doc-version
and gotest to the latest versions inside the go.mod files

Closes #300

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-05 14:19:28 +02:00
Gabriele Bartolini
39a0dcbaec
docs: object store providers (#289)
Closes #288

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
Co-authored-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-05 14:18:19 +02:00
renovate[bot]
e228848efd
chore(deps): update golangci/golangci-lint docker tag to v2.1.6 (#302)
| datasource | package                | from   | to     |
| ---------- | ---------------------- | ------ | ------ |
| docker     | golangci/golangci-lint | v2.1.5 | v2.1.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>
2025-05-05 13:50:40 +02:00
renovate[bot]
681baf9533
chore(deps): update dependency typescript to ~5.8.0 (#285)
| datasource | package    | from  | to    |
| ---------- | ---------- | ----- | ----- |
| npm        | typescript | 5.6.3 | 5.8.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-05-05 11:19:11 +02:00
renovate[bot]
d0df4c4678
chore(deps): update actions/configure-pages action to v5 (#287)
| datasource  | package                 | from | to |
| ----------- | ----------------------- | ---- | -- |
| github-tags | actions/configure-pages | v4   | v5 |

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-05-05 11:18:26 +02:00
Jonathan Gonzalez V.
b97483890a
chore: limit the spellchecking to a fixed list of directories (#294)
Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-05 10:21:18 +02:00
Jonathan Gonzalez V.
37b7f10d5a
chore(dagger): update k3s dagger module to v0.1.10 (#298)
The latest version v0.1.10 fix the issue #297 that was producing that
the CI failed every time because of the cache didn't exists and needed
to wait for the server to start.

Closes #297

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-05 09:28:18 +02:00
Jonathan Gonzalez V.
736a8c5ac7
chore(security): update docusaurus dependencies (#295)
Update dependencies to close GitHub security issues

Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com>
2025-05-04 10:21:54 +02:00
renovate[bot]
99f31a1e5e
fix(deps): update react monorepo to v19.1.0 (#286)
| datasource | package   | from   | to     |
| ---------- | --------- | ------ | ------ |
| npm        | react     | 19.0.0 | 19.1.0 |
| npm        | react-dom | 19.0.0 | 19.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-04-30 17:11:15 +02:00
renovate[bot]
b1f7546c20
chore(deps): update all cloudnative-pg daggerverse dependencies to ba86584 (#270)
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-04-30 16:29:54 +02:00