Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Failed to inspect image

Aperta Adatta ai principianti
#856 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
helm, kubernetes

Direzione di ricerca

Inizia in charts/nextcloud/templates/_helpers.tpl intorno alla riga 46 e verifica come la funzione coalesce gestisce global.image.registry rispetto a image.registry. Riproduci il caso di rendering con il registry vuoto, quindi aggiungi la copertura dei test unitari Helm per i valori del registry e verifica che l’immagine del container renderizzata non sia più non qualificata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello everyone,
I've deployed v9.1 of the helm chart. Because global.image.registry is empty, the registry is not set for the container image, even if the registry was defined under image.registry, for example. I think the issue here is due to the coalesce in the template function.

https://github.com/nextcloud/helm/blob/682ce2ffd2d3126da2df5b9a62605a1dc9910043/charts/nextcloud/templates/_helpers.tpl#L46

Kubernetes environments that rely on cri-o have been encountering an error since version 1.34 because no default registry such as docker.io is defined. This change was introduced in version 1.34 of kubernetes/crio. With this change and the usage of unqualified images environments throw the following issue:

spec.containers{nextcloud}: Failed to inspect image "": rpc error: code = Unknown desc = short-name "library/nextcloud:32.0.1-apache" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"

Please fix the error by adjusting the template function or assigning a value to global.image.registry.

To prevent this error in the future, Helm unit tests would be a suitable solution.

Best regards,
Volker

Lingua principale
Go Template
Stelle
536
Fork
316
Merge medio
4g 16h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/helm

Tutte le issue di nextcloud/helm

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.