Cluster operator chart v0.22.1 incorrect in the helm chart repo
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 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
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
clusterWidefeature is missing in the Helm chart for version 0.22.1. - @tmsdce confirmed that
config.clusterWideis absent in thevalues.yamlfor 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!