Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/elasticsearch] invalid tag with version 21.3.26 #30617

Closed
drehelis opened this issue Nov 25, 2024 · 3 comments
Closed

[bitnami/elasticsearch] invalid tag with version 21.3.26 #30617

drehelis opened this issue Nov 25, 2024 · 3 comments
Assignees
Labels
elasticsearch solved tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@drehelis
Copy link

drehelis commented Nov 25, 2024

Name and Version

bitnami/elasticsearch 21.3.26

What architecture are you using?

amd64

What steps will reproduce the bug?

helm pull --destination /tmp/ --version 21.3.26 --repo https://charts.bitnami.com/bitnami elasticsearch --debug

What do you see instead?

Error: invalid_reference: invalid tag
helm.go:84: [debug] invalid_reference: invalid tag

Additional information

Version 21.3.25 works.

@drehelis drehelis added the tech-issues The user has a technical issue about an application label Nov 25, 2024
@github-actions github-actions bot added the triage Triage is needed label Nov 25, 2024
@chintai-paul
Copy link

chintai-paul commented Nov 25, 2024

Same issue with postgresql chart version 16.2.2. Version 16.2.1 works.

# Failing:
helm install postgresql postgresql --repo https://charts.bitnami.com/bitnami
# Working:
helm install postgresql --version 16.2.1 postgresql --repo https://charts.bitnami.com/bitnami
# Also working:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm upgrade --install postgresql bitnami/postgresql

@carrodher
Copy link
Member

As reported in helm/helm#13466, this problem stems from how the helm ... --repo ... command handles an index.yaml file containing OCI URLs.

Why is this issue appearing now?

Historically, Bitnami Helm charts were accessed by adding the Bitnami repository to the Helm CLI:

$ helm repo add bitnami https://charts.bitnami.com/bitnami

or by directly installing/pulling a specific Helm chart using the --repo flag:

$ helm pull --repo https://charts.bitnami.com/bitnami foo

In April 2023, Bitnami introduced support for the OCI format, recommending OCI-based installation as the primary method going forward. For example:

helm pull oci://registry-1.docker.io/bitnamicharts/external-dns --version 8.6.0

As detailed in our recent announcement and #30110, the traditional method is now being deprecated. Consequently, the index.yaml served at https://charts.bitnami.com/bitnami now uses OCI URLs, exposing the above mentioned issue in the Helm CLI's handling of these URLs.

@drehelis
Copy link
Author

Changing https://charts.bitnami.com/bitnami to registry-1.docker.io/bitnamicharts in my ArgoCD app did the trick, I only needed to add an OCI registry in Argo first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elasticsearch solved tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

4 participants