Error: found in requirements.yaml, but missing in charts/ directory: mariadb

Ketika kita develop kubernetes helm chart, apabila di chart ada file requirements.yaml, maka helm install akan menyebabkan kegagalan, karena helm tidak dapat menemukan dependensi dari chart yang kita kembangkan. Jalankan perintah berikut

cd mychart
helm dependency update
Helm update lokal dependensi

Output dari command di atas kurang lebih akan seperti berikut

Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "local" chart repository (http://127.0.0.1:8879/charts):
	Get http://127.0.0.1:8879/charts/index.yaml: dial tcp 127.0.0.1:8879: connect: connection refused
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading mariadb from repo https://kubernetes-charts.storage.googleapis.com/
Deleting outdated charts

Source: https://andrewaadland.me/2018/08/10/error-found-in-requirements-yaml-but-missing-in-charts-directory-helm-chart-dependencies/

Leave A Comment