charts icon indicating copy to clipboard operation
charts copied to clipboard

Cluster operator chart v0.22.1 incorrect in the helm chart repo

Open m4s-b3n opened this issue 1 year ago • 1 comments

When setting up the operator using the chart 0.22.1 from the helm repo the clusterWide feature is not included, although it should be.

Using the oci registry works.

Example using helm repo:

helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm template cnpg \
  --namespace cnpg-system \
  --create-namespace \
  --set config.clusterWide=false \
  --version 0.22.1 \
  cnpg/cloudnative-pg

Example using oci registry:

helm template cnpg \
  --namespace cnpg-system \
  --create-namespace \
  --set config.clusterWide=false \
  --version 0.22.1 \
  oci://ghcr.io/cloudnative-pg/charts/cloudnative-pg

Problem

The output of both examples differ. See sample.zip

m4s-b3n avatar Dec 03 '24 12:12 m4s-b3n

@m4s-b3n I can confirm too Looking at the source code for the 0.22.1 tag, there is no config.clusterWide setting in the values.yaml file. In that regard, the chart in the helm repo seems to be the correct one. The commit adding the config.clusterWide was added after releasing 0.22.1 and appears to be planned for 0.23.0 So the OCI repo seems to host a future release and should be fixed

tmsdce avatar Dec 19 '24 10:12 tmsdce

Hi, @m4s-b3n. I'm Dosu, and I'm helping the charts team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You reported a discrepancy between the Helm chart repository and the OCI registry for version 0.22.1.
  • The clusterWide feature is missing in the Helm chart for version 0.22.1.
  • @tmsdce confirmed that config.clusterWide is absent in the values.yaml for 0.22.1.
  • The feature was added post-0.22.1 and is intended for 0.23.0, indicating a registry error.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the charts repository by commenting here.
  • If there is no further activity, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Apr 10 '25 16:04 dosubot[bot]