Skip to content

Commit

Permalink
Release cluster-v0.0.2 (cloudnative-pg#200)
Browse files Browse the repository at this point in the history
* Implemented Prometheus Rule for automated alerts (cloudnative-pg#193)
* Renamed: `cluster.monitoring.enablePodMonitor` to `cluster.monitoring.podMonitor.enabled`
* New configuration option: `cluster.monitoring.prometheusRule.enabled` defaults to `true`

Signed-off-by: Itay Grudev <[email protected]>
Co-authored-by: Itay Grudev <[email protected]>
  • Loading branch information
github-actions[bot] and itay-grudev authored Mar 1, 2024
1 parent b2088c4 commit 962184a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 10 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ release (e.g. 1.17.1)
In order to create a new release of the `cloudnative-pg` chart, follow these steps:

1. Take note of the current value of the release: see `.version` in `charts/cloudnative-pg/Chart.yaml`
```bash
yq -r '.version' charts/cloudnative-pg/Chart.yaml
```
2. Decide which version to create, depending on the kind of jump of the CloudNativePG release, following semver
semantics. For this document, let's call it `X.Y.Z`
```bash
Expand All @@ -28,7 +31,7 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
```
4. Update the `.version` in the [Chart.yaml](./charts/cloudnative-pg/Chart.yaml) file to `"X.Y.Z"`
```bash
sed -i -E "s/^version: ([0-9]+.?)+/version: $APP_VERSION/" charts/cloudnative-pg/Chart.yaml
sed -i -E "s/^version: ([0-9]+.?)+/version: $NEW_VERSION/" charts/cloudnative-pg/Chart.yaml
```
5. Update everything else as required, e.g. if releasing due to a new `cloudnative-pg` version being released, you might
want to update the following:
Expand Down Expand Up @@ -67,6 +70,7 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
```
7. Commit and add the relevant information you wish in the commit message.
```bash
git add .
git commit -S -s -m "Release cloudnative-pg-v$NEW_VERSION" --edit
```
8. Push the new branch
Expand Down Expand Up @@ -94,6 +98,9 @@ In order to create a new release of the `cloudnative-pg` chart, follow these ste
In order to create a new release of the `cluster` chart, follow these steps:
1. Take note of the current value of the release: see `.version` in `charts/cluster/Chart.yaml`
```bash
yq -r '.version' charts/cluster/Chart.yaml
```
2. Decide which version to create, depending on the kind of changes and backwards compatibility, following semver
semantics. For this document, let's call it `X.Y.Z`
```bash
Expand All @@ -105,14 +112,15 @@ In order to create a new release of the `cluster` chart, follow these steps:
```
4. Update the `.version` in the [Chart.yaml](./charts/cluster/Chart.yaml) file to `"X.Y.Z"`
```bash
sed -i -E "s/^version: ([0-9]+.?)+/version: $APP_VERSION/" charts/cluster/Chart.yaml
sed -i -E "s/^version: ([0-9]+.?)+/version: $NEW_VERSION/" charts/cluster/Chart.yaml
```
5. Run `make docs schema` to regenerate the docs and the values schema in case it is needed
```bash
make docs schema
```
6. Commit and add the relevant information you wish in the commit message.
```bash
git add .
git commit -S -s -m "Release cluster-v$NEW_VERSION" --edit
```
7. Push the new branch
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: cluster
description: Deploys and manages a CloudNativePG cluster and its associated resources.
icon: https://raw.githubusercontent.com/cloudnative-pg/artwork/main/cloudnativepg-logo.svg
type: application
version: 0.0.1
version: 0.0.2
sources:
- https://github.com/cloudnative-pg/charts
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/cluster/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cluster

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

> **Warning**
> ### This chart is under active development.
Expand Down

0 comments on commit 962184a

Please sign in to comment.