Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

HelmCharts set to not ready on index download resp. source-controller restart

Abierto
#924 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go, helm

Línea de trabajo

Comienza rastreando el comportamiento de source-controller durante un reinicio mientras se descarga el índice de HelmRepository, y después compara el issue 431 y la discussion 3152 relacionados. Se considera terminado cuando HelmCharts permanecen en Unknown en lugar de Not Ready durante este intervalo, de modo que un HelmRelease reconciliado simultáneamente no se marque como fallido.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area/helm

We're facing the following situation:

  • we have several helmreleases installed successfully in our cluster
  • the helmrepositories and helmcharts are also created and ready

Once the source-controller is restarted, it first fetches the repositories' index, meanwhile setting the helmrepositories state to Unknown. This leads to all the helmcharts states being set to "Not Ready".
Here an event message for a helmchart:
chart pull error: could not load repository index for remote chart reference: stat /data/helmrepository/default/myhelmrepo/index-<long id>.yaml: no such file or directory
Once the individual charts are downloaded again, the helmcharts' states transition to Unknown and Ready. The state where all helmcharts are not ready only lasts some seconds, but if in this time a helmrelease is reconciled (e.g. if the helm-controller is restarted), it is set to Not Ready as well. All dependent resources watching the helmreleases also see the Not Ready state.
Can this intermediate state of the helmcharts be changed to Unknown as for the helmrepositories? This way the helm-controller would potentially be able to set the helmrelease state to processing instead of failed.

The problem might be related to issue https://github.com/fluxcd/source-controller/issues/431, but I'm not sure how the helm-controller could be changed as mentioned there.

I also started a discussion here: https://github.com/fluxcd/flux2/discussions/3152 explaining the problem, maybe it can be fixed for certain use cases like the parallel installation/update of helm-controller and source-controller.

Lenguaje dominante
Go
Estrellas
283
Forks
258
Merge medio
1 d 17 h
PR fusionados (30 d)
15

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fluxcd/source-controller

Todos los issues de fluxcd/source-controller

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.