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

Skipping loading when adding bitnami charts repository with Helm #31348

Closed
Llyth opened this issue Jan 14, 2025 · 11 comments
Closed

Skipping loading when adding bitnami charts repository with Helm #31348

Llyth opened this issue Jan 14, 2025 · 11 comments
Assignees
Labels
solved tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@Llyth
Copy link

Llyth commented Jan 14, 2025

Name and Version

bitnami/charts

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. helm repo add bitnami https://charts.bitnami.com/bitnami
  2. helm search repo bitnami

Are you using any custom parameters or values?

No response

What is the expected behavior?

NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/airflow 22.4.5 2.10.4 Apache Airflow is a tool to express and execute...
[...]

What do you see instead?

index.go:370: skipping loading invalid entry for chart "airflow" "" from /home//.cache/helm/repository/bitnami-index.yaml: validation: chart.metadata.name is required
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/airflow 22.4.5 2.10.4 Apache Airflow is a tool to express and execute...

Additional information

The error at index.go:370 is also present when you helm repo add or helm repo update.

helm version is: version.BuildInfo{Version:"v3.16.3", GitCommit:"cfd07493f46efc9debd9cc1b02a0961186df7fdf", GitTreeState:"clean", GoVersion:"go1.22.7"}

@Llyth Llyth added the tech-issues The user has a technical issue about an application label Jan 14, 2025
@github-actions github-actions bot added the triage Triage is needed label Jan 14, 2025
@SimonWoidig
Copy link

SimonWoidig commented Jan 14, 2025

The issue seems larger. I cannot download any charts - not even PostgreSQL.

~/my-chart # cat Chart.yaml 
apiVersion: v2
type: application
name: my-chart
version: 0.0.1
dependencies:
  - name: postgresql
    version: 15.5.21
    repository: https://charts.bitnami.com/bitnami

~/my-chart # helm dep up
Hang tight while we grab the latest from your chart repositories...
index.go:370: skipping loading invalid entry for chart "airflow" "" from https://charts.bitnami.com/bitnami: validation: chart.metadata.name is required
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
index.go:370: skipping loading invalid entry for chart "airflow" "" from /root/.cache/helm/repository/bitnami-index.yaml: validation: chart.metadata.name is required
Error: postgresql chart not found in repo https://charts.bitnami.com/bitnami
~/my-chart # helm search repo bitnami
index.go:370: skipping loading invalid entry for chart "airflow" "" from /root/.cache/helm/repository/bitnami-index.yaml: validation: chart.metadata.name is required
NAME            CHART VERSION   APP VERSION     DESCRIPTION                                       
bitnami/airflow 22.4.5          2.10.4          Apache Airflow is a tool to express and execute...

@dlnilsson
Copy link

the helm cache file gets alot of duplicate values, invalid values of bitnami/airflow,

cat $HOME/.cache/helm/repository/bitnami-index.yaml | grep airflow | wc -l
1187

@Llyth
Copy link
Author

Llyth commented Jan 14, 2025

It seems there is a typo somewhere and it broke the index.yaml file for the chart repository.

@Giannischri
Copy link

skipping loading invalid entry for chart "airflow" "" from https://charts.bitnami.com/bitnami: validation: chart.metadata.name is required index.go:370: skipping loading invalid entry for chart "airflow" "" from /helm-working-dir/repository/https:--charts.bitnami.com-bitnami-index.yaml: validation: chart.metadata.name is required Error: redis chart not found in repo https://charts.bitnami.com/bitnami......in argocd

@leo108
Copy link

leo108 commented Jan 14, 2025

A workaround is to replace repo with raw file in github:

helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/refs/heads/index/bitnami/

@baznikin
Copy link

This is major failure and should be fixed ASAP
@carlossm @agarcia-oss @tompizmor @dgomezleon @carrodher @migruiz4

@beltran-rubo
Copy link
Contributor

Thanks for letting us know, the team is investigating the error.

@garbelini
Copy link

Seems like it's fixed from my side.

@chreichert
Copy link

I can confirm, after doing 'helm repo update' Bitnami Charts are loading again.

@Llyth Llyth closed this as completed Jan 14, 2025
@RustyF
Copy link

RustyF commented Jan 14, 2025

Working for me now too, kudos for quick turnaround.

@carrodher
Copy link
Member

Apologies for the oversight. We identified an issue in the index.yaml file and have re-pushed it. The problem should now be resolved.

To prevent similar issues in the future, we are implementing additional measures, including notifications and retry mechanisms for the GitHub Action responsible for this process.

To streamline discussions, we will funnel all conversations into the first issue created on this topic (#31350). As part of this effort, we are closing the remaining issues to avoid duplication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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