Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
--username ${{ github.repository_owner }} \
--password-stdin

helm push docs/cnpg-chart-${{ env.TAG_VERSION }}.tgz oci://ghcr.io/${{ github.repository_owner }}
helm push docs/onechart-cnpg-${{ env.TAG_VERSION }}.tgz oci://ghcr.io/${{ github.repository_owner }}

env:
TAG_VERSION: ${{ steps.versioning.outputs.tag_version }}
Expand All @@ -108,8 +108,7 @@ jobs:
echo "New version will be $NEW_VERSION"

sed -i "s/^\(version:\s*\)$CURRENT_VERSION/\1$NEW_VERSION/" charts/onechart/Chart.yaml
sed -i "s/^\(version:\s*\)$CURRENT_VERSION/\1$NEW_VERSION/" charts/cron-job/Chart.yaml
sed -i "s/^\(version:\s*\)$CURRENT_VERSION/\1$NEW_VERSION/" charts/static-site/Chart.yaml


sed -i "s/$CURRENT_VERSION/$NEW_VERSION/" README.md
sed -i "s/$CURRENT_VERSION/$NEW_VERSION/" docs/onechart.md
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ test:

package:
helm dependency update charts/onechart
helm package charts/onechart
mv onechart*.tgz docs
helm package charts/onechart -d docs


helm dependency update charts/cron-job
helm package charts/cron-job
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ OneChart is a generic Helm Chart for web applications. The idea is that most Kub

You can also template and install onechart from an OCI repository as follows:

> **Note:** The examples use version `0.80.0`. This will be the unreleased version if you are at the `main` branch.
> **Note:** The examples use version `0.79.0`. This will be the unreleased version if you are at the `main` branch.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since the chart has been renamed to onechart-cnpg, this note should be updated to avoid confusion.

Suggested change
> **Note:** The examples use version `0.79.0`. This will be the unreleased version if you are at the `main` branch.
> **Note:** The examples use version `0.79.0`. This will be the unreleased version of `onechart-cnpg` if you are at the `main` branch.


> You can find the latest released version in the [releases](https://github.com/opsta/onechart/releases) page.

Check the generated Kubernetes yaml:

```bash
helm template my-release oci://ghcr.io/opsta/onechart --version 0.80.0 \
helm template my-release oci://ghcr.io/opsta/onechart --version 0.79.0 \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The OCI repository URL should be updated to reflect the new chart name onechart-cnpg. Using the old name will likely result in a "not found" error when attempting to pull version 0.79.0.

Suggested change
helm template my-release oci://ghcr.io/opsta/onechart --version 0.79.0 \
helm template my-release oci://ghcr.io/opsta/onechart-cnpg --version 0.79.0 \

--set image.repository=nginx \
--set image.tag=1.19.3
```

Deploy with Helm:

```bash
helm install my-release oci://ghcr.io/opsta/onechart --version 0.80.0 \
helm install my-release oci://ghcr.io/opsta/onechart --version 0.79.0 \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The OCI repository URL should be updated to reflect the new chart name onechart-cnpg.

Suggested change
helm install my-release oci://ghcr.io/opsta/onechart --version 0.79.0 \
helm install my-release oci://ghcr.io/opsta/onechart-cnpg --version 0.79.0 \

--set image.repository=nginx \
--set image.tag=1.19.3
```

The example below deploys your application image, sets environment variables and configures the Kubernetes Ingress domain name:

```bash
helm template my-release oci://ghcr.io/opsta/onechart --version 0.80.0 -f values.yaml
helm template my-release oci://ghcr.io/opsta/onechart --version 0.79.0 -f values.yaml
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The OCI repository URL should be updated to reflect the new chart name onechart-cnpg.

Suggested change
helm template my-release oci://ghcr.io/opsta/onechart --version 0.79.0 -f values.yaml
helm template my-release oci://ghcr.io/opsta/onechart-cnpg --version 0.79.0 -f values.yaml


# values.yaml
image:
Expand Down
2 changes: 1 addition & 1 deletion charts/cron-job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.80.0
version: 0.79.0

dependencies:
- name: common
Expand Down
Binary file modified charts/cron-job/charts/common-0.9.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/onechart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ dependencies:
repository: file://../cnpg
version: 0.1.0
digest: sha256:31c485857050d6ca5163882dcea296372d4b86d751ba56579102dde793cbeddd
generated: "2026-03-27T17:18:51.484489+07:00"
generated: "2026-04-08T16:28:42.040254+07:00"
6 changes: 3 additions & 3 deletions charts/onechart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: onechart
name: onechart-cnpg
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The chart name has been changed from onechart to onechart-cnpg. This appears to contradict the pull request title "Replace with onechart" and is a breaking change for existing users. If this rename is intentional (e.g., to distinguish this version with CloudNativePG support), please ensure the documentation and OCI references are updated to match.

description: One chart to rule them all. A generic Helm chart for your application deployments. Because no-one can remember the Kubernetes yaml syntax.

# A chart can be either an 'application' or a 'library' chart.
Expand All @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.80.0
version: 0.79.0

dependencies:
- name: common
version: 0.9.0
repository: file://../common

- name: cnpg
version: 0.1.0
repository: file://../cnpg
Binary file modified charts/onechart/charts/cnpg-0.1.0.tgz
Binary file not shown.
Binary file modified charts/onechart/charts/common-0.9.0.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/static-site/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.80.0
version: 0.79.0

dependencies:
- name: common
Expand Down
Binary file modified charts/static-site/charts/common-0.9.0.tgz
Binary file not shown.
Binary file modified docs/cron-job-0.79.0.tgz
Binary file not shown.
Loading
Loading