Commit Graph

260 Commits

Author SHA1 Message Date
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
Francesco Canovai
a592793572
docs: publish docs with docusaurus (#268)
Rework the documentation to be a static website instead of just the
GitHub README.md. Use docusaurus to create the website, and the CI to
publish to GitHub pages on commits to main.
Block `release-please` releases unless the documentation for that version
has been generated.

Closes #244

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2025-04-30 12:17:57 +02:00
renovate[bot]
940f3967e1
chore(deps): update dependency setuptools to v80.0.1 (#283)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 80.0.0 | 80.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-04-30 11:51:12 +02:00
renovate[bot]
2882a9d011
chore(deps): update dependency setuptools to v80 (#282)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 78.1.1 | 80.0.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 09:11:55 +02:00
renovate[bot]
664fabb8d9
chore(deps): refresh pip-compile outputs (#255)
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-29 16:46:06 +02:00
renovate[bot]
c523913280
chore(deps): update kindest/node docker tag to v1.33.0 (#280)
| datasource | package      | from    | to      |
| ---------- | ------------ | ------- | ------- |
| docker     | kindest/node | v1.32.3 | v1.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-04-29 15:51:46 +02:00
renovate[bot]
01e85777cd
chore(deps): update dependency setuptools to v78.1.1 (#273)
| datasource | package    | from   | to     |
| ---------- | ---------- | ------ | ------ |
| pypi       | setuptools | 78.1.0 | 78.1.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-04-29 14:58:09 +02:00
renovate[bot]
010c9b93d4
fix(deps): update all non-major go dependencies (#278)
| datasource | package                              | from    | to      |
| ---------- | ------------------------------------ | ------- | ------- |
| go         | github.com/cert-manager/cert-manager | v1.17.1 | v1.17.2 |
| go         | google.golang.org/grpc               | v1.71.1 | v1.72.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-29 13:03:24 +02:00
renovate[bot]
d1871dd6d3
chore(deps): update golangci/golangci-lint docker tag to v2.1.5 (#277)
| datasource | package                | from   | to     |
| ---------- | ---------------------- | ------ | ------ |
| docker     | golangci/golangci-lint | v2.1.2 | v2.1.5 |

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-29 10:07:26 +02:00
renovate[bot]
1982553d75
chore(deps): update dependency barman to v3.13.3 (#275)
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| pypi       | barman  | 3.13.2 | 3.13.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-04-29 09:16:34 +02:00
renovate[bot]
af522e08f1
chore(deps): update dependency dagger/dagger to v0.18.5 (#276)
| datasource  | package       | from    | to      |
| ----------- | ------------- | ------- | ------- |
| github-tags | dagger/dagger | v0.18.3 | v0.18.5 |

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-28 16:53:39 +02:00
MichaluxPL
88fd3e504f
feat(wal): parallel WAL archiving (#262)
This patch allows the plugin to archive WAL files in parallel.

Fix: #260
Fix: #266

Signed-off-by: MichaluxPL <68371308+MichaluxPL@users.noreply.github.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>
2025-04-22 10:21:17 +02:00
renovate[bot]
ed1feaaddc
fix(deps): update all non-major go dependencies (#246)
| datasource | package                                    | from    | to      |
| ---------- | ------------------------------------------ | ------- | ------- |
| go         | github.com/cloudnative-pg/cnpg-i           | v0.2.0  | v0.2.1  |
| go         | github.com/cloudnative-pg/cnpg-i-machinery | v0.2.0  | v0.3.0  |
| go         | github.com/onsi/ginkgo/v2                  | v2.23.3 | v2.23.4 |
| go         | github.com/onsi/gomega                     | v1.36.3 | v1.37.0 |
| go         | google.golang.org/grpc                     | v1.71.0 | v1.71.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-04-18 10:16:58 +02:00
renovate[bot]
1e61db73f1
chore(deps): update dependency kubernetes/kubernetes to v1.32 (#272)
| datasource | package                                  | from  | to    |
| ---------- | ---------------------------------------- | ----- | ----- |
| git-refs   | https://github.com/kubernetes/kubernetes | v1.31 | v1.32 |

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-04-17 15:50:23 +02:00
Francesco Canovai
c37047029d
docs: generate pure markdown documentation (#251)
Switch to building documentation in markdown, avoiding the
markdown+html hybrid we have.

Closes #250

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-04-17 14:19:35 +02:00
Francesco Canovai
898b5695f2 chore: generate crds with updated controller-gen
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-04-17 08:18:06 +01:00
renovate[bot]
036e96b18f chore(deps): update all cloudnative-pg daggerverse dependencies to db65290
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-17 08:18:06 +01:00
Jaime Silvela
2bb5e90357
fix(docs): fix TOC links (#261)
Signed-off-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
2025-04-16 15:27:57 +02:00
Marco Nenciarini
e00024f136
feat: support snapshot recovery job (#258)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2025-04-16 11:45:52 +02:00
renovate[bot]
c32ddf1a0c chore(deps): update golangci/golangci-lint docker tag to v2.1.2
| datasource | package                | from   | to     |
| ---------- | ---------------------- | ------ | ------ |
| docker     | golangci/golangci-lint | v2.1.1 | v2.1.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 09:21:29 +01:00
renovate[bot]
5d19d37c64 chore(deps): update all sagikazarmark daggerverse dependencies to ceffda4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 08:16:38 +01:00
smiyc
ba8c7c6179
docs: add Kubernetes version 1.29+ as a prerequisite (#259)
Signed-off-by: Daniel Chambre <smiyc@pm.me>
2025-04-15 10:59:48 +02:00