Skip to content

Commit 1d5276b

Browse files
maarlabmnenciajcpunkitay-grudevcnpg-bot
authored
Release cloudnative-pg-v0.27.1-maarlab1 (#1)
* fix(ci): use PAT instead of GITHUB_TOKEN in release-pr workflow (cloudnative-pg#754) PRs created with GITHUB_TOKEN don't trigger other workflows. Using REPO_GHA_PAT instead allows the continuous-delivery and lint workflows to run properly on release PRs. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> * docs: add plugin-barman-cloud chart release instructions (cloudnative-pg#717) Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> * chore(cloudnative-pg): use port names rather than numbers (cloudnative-pg#765) Signed-off-by: Pat Riehecky <riehecky@fnal.gov> Co-authored-by: Itay Grudev <itay@verito.digital> * Release plugin-barman-cloud-v0.4.0 (cloudnative-pg#767) Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> * docs: add security policy (cloudnative-pg#621) Signed-off-by: Zied ABID <zied.abid@jobteaser.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> * fix(cloudnative-pg): queries identation in `cnpg-default-monitoring` (cloudnative-pg#650) Signed-off-by: Ryan Yin <xiaoyin_c@qq.com> * docs( cluster ): Improved Runbooks and monitoring (cloudnative-pg#774) Signed-off-by: Philippe Noël <philippemnoel@gmail.com> Signed-off-by: Itay Grudev <itay@verito.digital> * feat(plugin-barman-cloud): Add imagePullSecrets to deployment.yaml (cloudnative-pg#704) Signed-off-by: Florian Aymard <florian.aymard@batch.com> Co-authored-by: Itay Grudev <itay@verito.digital> * feat(cloudnative-pg#727): add container and pod security context configuration via values (cloudnative-pg#728) Signed-off-by: Fuochi <ffuochi@hotmail.com> Signed-off-by: Itay Grudev <itay@verito.digital> Co-authored-by: Itay Grudev <itay@verito.digital> * chore(deps): update Grafana Helm Chart dependency version (cloudnative-pg#784) Signed-off-by: Itay Grudev <itay@verito.digital> Co-authored-by: Itay Grudev <itay@verito.digital> * feat( cluster ): Add support for console stateful set (cloudnative-pg#782) Signed-off-by: Philippe Noël <philippemnoel@gmail.com> Signed-off-by: Itay Grudev <itay@verito.digital> Co-authored-by: Itay Grudev <itay@verito.digital> * Release plugin-barman-cloud-v0.5.0 (cloudnative-pg#803) Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> * Release cloudnative-pg-v0.27.1 (cloudnative-pg#804) Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> * fix(cluster): document plugins and fix replica secret indentation Add documentation for the plugins configuration in values.yaml. Correct the indentation of the replica password secret key to ensure it is correctly nested within the passwordSecret object. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> * feat(crds): add selectorLabels to enable VPA support Add the selectorLabels field to the Cluster status schema and configure the labelSelectorPath in the scale subresource. This enables support for Vertical Pod Autoscaler (VPA) by allowing it to query pods managed by the operator. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> * build: switch cloudnative-pg image to maarlab-rethinking fork Update the image repository to ghcr.io/maarlab-rethinking/cloudnative-pg across Renovate configuration, Helm chart values, and documentation. Additionally, bump the appVersion to 1.28.1-maarlab4 to track the forked version. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> * docs(helm): update repository URL in documentation Update the CloudNativePG Helm repository URL from the official GitHub Pages location to the maarlab-rethinking repository across all README files, release guides, and example commands. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> * test(console-statefulset): wait for PostgreSQL connections in chainsaw test Add a retry loop to ensure PostgreSQL is accepting connections before executing the long-running query in the console-statefulset chainsaw test. This prevents race conditions where the pod is ready but the database service is not yet fully initialized. Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> * Release cloudnative-pg-v0.27.1-maarlab1 Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> --------- Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Signed-off-by: Pat Riehecky <riehecky@fnal.gov> Signed-off-by: Zied ABID <zied.abid@jobteaser.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: Ryan Yin <xiaoyin_c@qq.com> Signed-off-by: Philippe Noël <philippemnoel@gmail.com> Signed-off-by: Itay Grudev <itay@verito.digital> Signed-off-by: Florian Aymard <florian.aymard@batch.com> Signed-off-by: Fuochi <ffuochi@hotmail.com> Signed-off-by: Enrique Hernández Bello <ehernandez@maarlab.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Pat Riehecky <3534830+jcpunk@users.noreply.github.com> Co-authored-by: Itay Grudev <itay@verito.digital> Co-authored-by: Peggie <info@cloudnative-pg.io> Co-authored-by: Zied ABID <58431623+zied-jt@users.noreply.github.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Ryan Yin <xiaoyin_c@qq.com> Co-authored-by: Philippe Noël <21990816+philippemnoel@users.noreply.github.com> Co-authored-by: Florian Aymard <florian.aymard@gmail.com> Co-authored-by: Fuochi <ffuochi@hotmail.com> Co-authored-by: David Gries <mail@dgries.de> Co-authored-by: Enrique Hernández Bello <ehernandez@maarlab.com>
1 parent aed4f46 commit 1d5276b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2364
-129
lines changed

.github/renovate.json5

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
'appVersion: "(?<currentValue>.*?)"',
1616
],
1717
datasourceTemplate: 'docker',
18-
depNameTemplate: 'ghcr.io/cloudnative-pg/cloudnative-pg',
18+
// Fork-specific: track maarlab-rethinking operator image
19+
depNameTemplate: 'ghcr.io/maarlab-rethinking/cloudnative-pg',
1920
versioningTemplate: 'loose',
2021
},
2122
],

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Create Pull Request
2222
id: create-pr
2323
env:
24-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GH_TOKEN: ${{ secrets.REPO_GHA_PAT }}
2525
run: |
2626
TAG="${GITHUB_REF##*/}"
2727
TITLE="Release ${TAG}"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ running in private, public, or hybrid cloud environments.
1717

1818
**NOTE**: supports only the latest point release of the CloudNativePG operator.
1919
```console
20-
helm repo add cnpg https://cloudnative-pg.github.io/charts
20+
helm repo add cnpg https://maarlab-rethinking.github.pg/cloudnative-pg-charts
2121
helm upgrade --install cnpg \
2222
--namespace cnpg-system \
2323
--create-namespace \
@@ -55,7 +55,7 @@ Refer to the [Operator Chart documentation](charts/cloudnative-pg/README.md) for
5555
Helm chart to install a CloudNativePG database cluster.
5656

5757
```console
58-
helm repo add cnpg https://cloudnative-pg.github.io/charts
58+
helm repo add cnpg https://maarlab-rethinking.github.pg/cloudnative-pg-charts
5959
helm upgrade --install database \
6060
--namespace database \
6161
--create-namespace \

RELEASE.md

Lines changed: 97 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Release Process
33

44
This repo contains two helm charts: [cloudnative-pg](./charts/cloudnative-pg)
55
and [cluster](./charts/cluster). Both the charts are available
6-
through a single [repository](https://cloudnative-pg.github.io/charts), but
6+
through a single [repository](https://maarlab-rethinking.github.pg/cloudnative-pg-charts), but
77
should be released separately as their versioning might be unlinked, and the
88
latter depends on the former.
99

@@ -15,7 +15,8 @@ release (e.g. 1.17.1)
1515
## Charts
1616

1717
1. [Releasing the `cloudnative-pg` chart](#releasing-the-cloudnative-pg-chart)
18-
2. [Releasing `cluster` chart](#releasing-the-cluster-chart)
18+
2. [Releasing the `cluster` chart](#releasing-the-cluster-chart)
19+
3. [Releasing the `plugin-barman-cloud` chart](#releasing-the-plugin-barman-cloud)
1920

2021
## Releasing the `cloudnative-pg` chart
2122

@@ -25,7 +26,8 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
2526
```bash
2627
OLD_VERSION=$(yq -r '.version' charts/cloudnative-pg/Chart.yaml)
2728
OLD_CNPG_VERSION=$(yq -r '.appVersion' charts/cloudnative-pg/Chart.yaml)
28-
echo $OLD_VERSION
29+
echo Old chart version: $OLD_VERSION
30+
echo Old CNPG version: $OLD_CNPG_VERSION
2931
```
3032
2. Decide which version to create, depending on the kind of jump of the CloudNativePG release, following semver
3133
semantics. For this document, let's call it `X.Y.Z`
@@ -44,8 +46,8 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
4446
want to:
4547
1. Find the latest `cloudnative-pg` version by running:
4648
```bash
47-
NEW_CNPG_VERSION=$(curl "https://api.github.com/repos/cloudnative-pg/cloudnative-pg/tags" | jq -r '.[0].name | ltrimstr("v")')
48-
echo $NEW_CNPG_VERSION
49+
NEW_CNPG_VERSION=$(curl -Ssl "https://api.github.com/repos/cloudnative-pg/cloudnative-pg/tags" | jq -r '.[0].name | ltrimstr("v")')
50+
echo New CNPG version: $NEW_CNPG_VERSION
4951
```
5052
2. Update `.appVersion` in the [Chart.yaml](./charts/cloudnative-pg/Chart.yaml) file
5153
```bash
@@ -99,7 +101,7 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
99101
action. Verify they both are successful.
100102
14. Once done you should be able to run:
101103
```bash
102-
helm repo add cnpg https://cloudnative-pg.github.io/charts
104+
helm repo add cnpg https://maarlab-rethinking.github.pg/cloudnative-pg-charts
103105
helm repo update
104106
helm search repo cnpg
105107
```
@@ -150,8 +152,96 @@ In order to create a new release of the `cluster` chart, follow these steps:
150152
Verify they both are successful.
151153
13. Once done you should be able to run:
152154
```bash
153-
helm repo add cnpg https://cloudnative-pg.github.io/charts
155+
helm repo add cnpg https://maarlab-rethinking.github.pg/cloudnative-pg-charts
154156
helm repo update
155157
helm search repo cnpg
156158
```
157159
and be able to see the new version `X.Y.Z` as `CHART VERSION` for `cluster`
160+
161+
## Releasing the `plugin-barman-cloud` chart
162+
163+
In order to create a new release of the `plugin-barman-cloud` chart, follow these steps:
164+
165+
1. Take note of the current value of the release: see `.version` in `charts/plugin-barman-cloud/Chart.yaml`
166+
```bash
167+
OLD_VERSION=$(yq -r '.version' charts/plugin-barman-cloud/Chart.yaml)
168+
OLD_APP_VERSION=$(yq -r '.appVersion' charts/plugin-barman-cloud/Chart.yaml)
169+
echo Old chart version: $OLD_VERSION
170+
echo Old app version: $OLD_APP_VERSION
171+
```
172+
2. Decide which version to create, depending on the kind of jump of the CloudNativePG release, following semver
173+
semantics. For this document, let's call it `X.Y.Z`
174+
```bash
175+
NEW_VERSION="X.Y.Z"
176+
```
177+
3. Create a branch named `release/plugin-barman-cloud-vX.Y.Z` and switch to it:
178+
```bash
179+
git switch --create release/plugin-barman-cloud-v$NEW_VERSION
180+
```
181+
4. Update the `.version` in the [Chart.yaml](./charts/plugin-barman-cloud/Chart.yaml) file to `"X.Y.Z"`
182+
```bash
183+
sed -i -E "s/^version: \"([0-9]+.?)+\"/version: \"$NEW_VERSION\"/" charts/plugin-barman-cloud/Chart.yaml
184+
```
185+
5. Update everything else as required, e.g. if releasing due to a new `plugin-barman-cloud` version being released, you might
186+
want to:
187+
1. Find the latest `plugin-barman-cloud` version by running:
188+
```bash
189+
NEW_APP_VERSION=$(curl -Ssl "https://api.github.com/repos/cloudnative-pg/plugin-barman-cloud/tags" | jq -r '.[0].name')
190+
echo New app version: $NEW_APP_VERSION
191+
```
192+
2. Update `.appVersion` in the [Chart.yaml](./charts/plugin-barman-cloud/Chart.yaml) file
193+
```bash
194+
sed -i -E "s/^appVersion: \"v([0-9]+.?)+\"/appVersion: \"$NEW_APP_VERSION\"/" charts/plugin-barman-cloud/Chart.yaml
195+
```
196+
3. Update [crds.yaml](./charts/plugin-barman-cloud/templates/crds/crds.yaml), which can be built using
197+
[kustomize](https://kustomize.io/) from the `plugin-barman-cloud` repo using kustomize
198+
[remoteBuild](https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md)
199+
running:
200+
201+
Verify the version is correct. Edit it if incorrect, then run:
202+
```bash
203+
echo '{{- if .Values.crds.create }}' > ./charts/plugin-barman-cloud/templates/crds/crds.yaml
204+
kustomize build https://github.com/cloudnative-pg/plugin-barman-cloud/config/crd/\?ref\=$NEW_APP_VERSION >> ./charts/plugin-barman-cloud/templates/crds/crds.yaml
205+
echo '{{- end }}' >> ./charts/plugin-barman-cloud/templates/crds/crds.yaml
206+
```
207+
208+
Check that the `helm.sh/resource-policy: keep` annotation is still present after regenerating the CRDs.
209+
4. To update the files in the [templates](./charts/plugin-barman-cloud/templates) directory, you can diff the previous
210+
CNPG release yaml against the new one, to find what should be updated (e.g.
211+
```bash
212+
vimdiff \
213+
"https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/${OLD_APP_VERSION}/manifest.yaml" \
214+
"https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/${NEW_APP_VERSION}/manifest.yaml"
215+
```
216+
217+
5. Update [values.yaml](./charts/plugin-barman-cloud/values.yaml) if needed
218+
6. NOTE: updating `values.yaml` just for the appVersion may not be necessary, as the value should default to the
219+
`appVersion` in `Chart.yaml`
220+
6. Run `make docs schema` to regenerate the docs and the values schema in case it is needed
221+
```bash
222+
make docs schema
223+
```
224+
7. Commit and add the relevant information you wish in the commit message.
225+
```bash
226+
git add .
227+
git commit -S -s -m "Release plugin-barman-cloud-v$NEW_VERSION" --edit
228+
```
229+
8. Push the new branch
230+
```bash
231+
git push --set-upstream origin release/plugin-barman-cloud-v$NEW_VERSION
232+
```
233+
9. A PR named `Release plugin-barman-cloud-vX.Y.Z` should be automatically created
234+
10. Wait for all the checks to pass
235+
11. Two approvals are required in order to merge the PR, if you are a maintainer approve the PR yourself and ask for
236+
another approval, otherwise ask for two approvals directly.
237+
12. Merge the PR squashing all commits and **taking care to keep the commit message to be
238+
`Release plugin-barman-cloud-vX.Y.Z`**
239+
13. A release `plugin-barman-cloud-vX.Y.Z` should be automatically created by an action, which will then trigger the release
240+
action. Verify they both are successful.
241+
14. Once done you should be able to run:
242+
```bash
243+
helm repo add cnpg https://maarlab-rethinking.github.pg/cloudnative-pg-charts
244+
helm repo update
245+
helm search repo cnpg
246+
```
247+
and be able to see the new version `X.Y.Z` as `CHART VERSION` for `plugin-barman-cloud`

SECURITY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Security Policy
2+
3+
For the most current and detailed version of our security procedures, please
4+
refer to the [official CloudNativePG Security Policy](https://github.com/cloudnative-pg/cloudnative-pg/blob/main/SECURITY.md).

charts/cloudnative-pg/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: cluster
33
repository: https://cloudnative-pg.github.io/grafana-dashboards
4-
version: 0.0.2
5-
digest: sha256:fcf16ad357c17be3dd79c138723e78e9e101fecc5d07d9371299c32b9f85dbd9
6-
generated: "2024-04-25T12:32:36.61779032-04:00"
4+
version: 0.0.5
5+
digest: sha256:92acaa7742cad61339d69da604eda609e3d5e02f05efa224f5a58f2b845cd2b4
6+
generated: "2026-01-19T21:05:18.955160552+02:00"

charts/cloudnative-pg/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ name: cloudnative-pg
2121
description: CloudNativePG Operator Helm Chart
2222
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
2323
type: application
24-
version: "0.27.0"
24+
version: "0.27.1-maarlab1"
2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to
2727
# follow Semantic Versioning, they should reflect the version the application is using.
2828
# It is recommended to use it with quotes.
29-
appVersion: "1.28.0"
29+
appVersion: "1.28.1-maarlab4"
3030
sources:
3131
- https://github.com/cloudnative-pg/charts
3232
keywords:

charts/cloudnative-pg/README.md

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)