Skip to content

Commit c4b0669

Browse files
chore(main): [bot] release teuto-cnpg:3.0.0 (#1637)
🤖 I have created a release *beep* *boop* --- ## [3.0.0](teuto-cnpg-v2.1.0...teuto-cnpg-v3.0.0) (2025-09-10) ### ⚠ BREAKING CHANGES * **teuto-cnpg:** remodel to make use of the new way of creating barman backups ([#1663](#1663)) ### Features * **teuto-cnpg:** remodel to make use of the new way of creating barman backups ([#1663](#1663)) ([6c56e63](6c56e63)) ### Bug Fixes * **teuto-cnpg/updateMethod:** set update method to switchover, set env-vars to make it compatible with newer barman ([#1572](#1572)) ([3082967](3082967)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 55b14c6 commit c4b0669

File tree

4 files changed

+115
-11
lines changed

4 files changed

+115
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"charts/base-cluster":"9.3.2","charts/teuto-portal-k8s-worker":"3.3.0","charts/t8s-cluster":"9.3.1","charts/stellio-context-broker":"0.1.0","charts/chirpstack":"0.1.0","charts/common":"1.5.0","charts/ckan":"1.3.3","charts/teuto-cnpg":"2.1.0"}
1+
{"charts/base-cluster":"9.3.2","charts/teuto-portal-k8s-worker":"3.3.0","charts/t8s-cluster":"9.3.1","charts/stellio-context-broker":"0.1.0","charts/chirpstack":"0.1.0","charts/common":"1.5.0","charts/ckan":"1.3.3","charts/teuto-cnpg":"3.0.0"}

charts/teuto-cnpg/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## [3.0.0](https://github.com/teutonet/teutonet-helm-charts/compare/teuto-cnpg-v2.1.0...teuto-cnpg-v3.0.0) (2025-09-10)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **teuto-cnpg:** remodel to make use of the new way of creating barman backups ([#1663](https://github.com/teutonet/teutonet-helm-charts/issues/1663))
9+
10+
### Features
11+
12+
* **teuto-cnpg:** remodel to make use of the new way of creating barman backups ([#1663](https://github.com/teutonet/teutonet-helm-charts/issues/1663)) ([6c56e63](https://github.com/teutonet/teutonet-helm-charts/commit/6c56e635f67002250423794730b7f0495d6df5ff))
13+
14+
15+
### Bug Fixes
16+
17+
* **teuto-cnpg/updateMethod:** set update method to switchover, set env-vars to make it compatible with newer barman ([#1572](https://github.com/teutonet/teutonet-helm-charts/issues/1572)) ([3082967](https://github.com/teutonet/teutonet-helm-charts/commit/30829679527a6c291fc30af1bcd0f9c91cee2657))
18+
319
## [2.1.0](https://github.com/teutonet/teutonet-helm-charts/compare/teuto-cnpg-v2.0.0...teuto-cnpg-v2.1.0) (2025-07-29)
420

521

charts/teuto-cnpg/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ maintainers:
1010
1111
name: tasches
1212
type: application
13-
version: 2.1.0
13+
version: 3.0.0
1414
dependencies:
1515
- name: common
1616
repository: oci://ghcr.io/teutonet/teutonet-helm-charts
1717
version: 1.2.1
1818
sources:
19-
- https://github.com/teutonet/teutonet-helm-charts/tree/teuto-cnpg-v2.1.0/charts/teuto-cnpg
19+
- https://github.com/teutonet/teutonet-helm-charts/tree/teuto-cnpg-v3.0.0/charts/teuto-cnpg
2020
- https://github.com/teutonet/teutonet-helm-charts/tree/main/charts/teuto-cnpg
2121
annotations:
2222
artifacthub.io/images: |-

charts/teuto-cnpg/README.md

Lines changed: 96 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- vim: set ft=markdown: --># teuto-cnpg
22

3-
![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
3+
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
44

55
A Helm chart to abstract the managing of cnpg-databases from the original resource.
66

@@ -24,6 +24,29 @@ Databases need to be migrated manually:
2424
- update helmchart
2525
- start cnpg-operator
2626

27+
### 2.x.x -> 3.x.x
28+
29+
Cloudnative-PG made the in-operator backup deprecated.
30+
31+
Therefore a migration has to happen where the Backup block is moved
32+
into the Objectstore.
33+
34+
In the values you need to remove .values.backup.barmanObjectStore block.
35+
Those values now need to be set under .values.backup.s3 like this:
36+
37+
```
38+
values:
39+
backup:
40+
s3:
41+
endpointURL: https://api.ffm3.teutostack.de:6780
42+
path: s3://backup/
43+
secret:
44+
name: backup-credentials
45+
```
46+
47+
accessKeyId and accessSecretKey are set to `ACCESS_KEY_ID` and `accessSecretKeyEY` by default
48+
but can be overwritten with .values.backup.s3.accessKeyId or .values.backup.s3.accessSecretKey.
49+
2750
# cnpg-wrapper configuration
2851

2952
**Title:** cnpg-wrapper configuration
@@ -186,16 +209,17 @@ Must be one of:
186209

187210
## <a name="backup"></a>7. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > backup`
188211

189-
| | |
190-
| ------------------------- | --------------------------------------------------------------------------- |
191-
| **Type** | `object` |
192-
| **Additional properties** | ![Any type: allowed](https://img.shields.io/badge/Any%20type-allowed-green) |
212+
| | |
213+
| ------------------------- | -------------------------------------------------------------- |
214+
| **Type** | `object` |
215+
| **Additional properties** | ![Not allowed](https://img.shields.io/badge/Not%20allowed-red) |
193216

194217
**Description:** See: https://cloudnative-pg.io/documentation/1.16/backup_recovery/
195218

196-
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
197-
| ------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
198-
| - [schedule](#backup_schedule ) | No | string | No | - | cron syntax |
219+
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
220+
| ------------------------------- | ------- | ------ | ---------- | ---------- | ------------------ |
221+
| - [schedule](#backup_schedule ) | No | string | No | - | cron syntax |
222+
| + [s3](#backup_s3 ) | No | object | No | - | s3 related options |
199223

200224
### <a name="backup_schedule"></a>7.1. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > backup > schedule`
201225

@@ -211,6 +235,70 @@ Must be one of:
211235
0 0 0 * * *
212236
```
213237

238+
### <a name="backup_s3"></a>7.2. ![Required](https://img.shields.io/badge/Required-blue) Property `cnpg-wrapper configuration > backup > s3`
239+
240+
| | |
241+
| ------------------------- | -------------------------------------------------------------- |
242+
| **Type** | `object` |
243+
| **Additional properties** | ![Not allowed](https://img.shields.io/badge/Not%20allowed-red) |
244+
245+
**Description:** s3 related options
246+
247+
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
248+
| ---------------------------------------- | ------- | ------ | ---------- | ---------- | ------------------------- |
249+
| + [path](#backup_s3_path ) | No | string | No | - | s3 path to write files to |
250+
| + [endpointURL](#backup_s3_endpointURL ) | No | string | No | - | url of the api endpoint |
251+
| - [secret](#backup_s3_secret ) | No | object | No | - | - |
252+
253+
#### <a name="backup_s3_path"></a>7.2.1. ![Required](https://img.shields.io/badge/Required-blue) Property `cnpg-wrapper configuration > backup > s3 > path`
254+
255+
| | |
256+
| -------- | -------- |
257+
| **Type** | `string` |
258+
259+
**Description:** s3 path to write files to
260+
261+
#### <a name="backup_s3_endpointURL"></a>7.2.2. ![Required](https://img.shields.io/badge/Required-blue) Property `cnpg-wrapper configuration > backup > s3 > endpointURL`
262+
263+
| | |
264+
| -------- | -------- |
265+
| **Type** | `string` |
266+
267+
**Description:** url of the api endpoint
268+
269+
#### <a name="backup_s3_secret"></a>7.2.3. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > backup > s3 > secret`
270+
271+
| | |
272+
| ------------------------- | -------------------------------------------------------------- |
273+
| **Type** | `object` |
274+
| **Additional properties** | ![Not allowed](https://img.shields.io/badge/Not%20allowed-red) |
275+
276+
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
277+
| ------------------------------------------------------- | ------- | ------ | ---------- | ---------- | ----------------- |
278+
| + [name](#backup_s3_secret_name ) | No | string | No | - | - |
279+
| - [accessKeyId](#backup_s3_secret_accessKeyId ) | No | string | No | - | - |
280+
| - [accessSecretKey](#backup_s3_secret_accessSecretKey ) | No | string | No | - | - |
281+
282+
##### <a name="backup_s3_secret_name"></a>7.2.3.1. ![Required](https://img.shields.io/badge/Required-blue) Property `cnpg-wrapper configuration > backup > s3 > secret > name`
283+
284+
| | |
285+
| -------- | -------- |
286+
| **Type** | `string` |
287+
288+
##### <a name="backup_s3_secret_accessKeyId"></a>7.2.3.2. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > backup > s3 > secret > accessKeyId`
289+
290+
| | |
291+
| ----------- | ----------------- |
292+
| **Type** | `string` |
293+
| **Default** | `"ACCESS_KEY_ID"` |
294+
295+
##### <a name="backup_s3_secret_accessSecretKey"></a>7.2.3.3. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > backup > s3 > secret > accessSecretKey`
296+
297+
| | |
298+
| ----------- | --------------------- |
299+
| **Type** | `string` |
300+
| **Default** | `"ACCESS_SECRET_KEY"` |
301+
214302
## <a name="databaseImage"></a>8. ![Optional](https://img.shields.io/badge/Optional-yellow) Property `cnpg-wrapper configuration > databaseImage`
215303

216304
| | |

0 commit comments

Comments
 (0)