Helm: el directorio de complementos no se crea automáticamente

Creado en 24 may. 2017  ·  3Comentarios  ·  Fuente: helm/helm

Recientemente instalé helm 2.4.2 e inmediatamente traté de instalar un complemento:

$ helm plugin list
NAME    VERSION DESCRIPTION

$ helm plugin install https://github.com/technosophos/helm-github
Error: symlink /Users/sgoings/.helm/cache/plugins/https-github.com-technosophos-helm-github /Users/sgoings/.helm/plugins/helm-github: no such file or directory

$ mkdir -p ~/.helm/plugins

$ helm plugin install https://github.com/technosophos/helm-github
Installed plugin: github

$ helm plugin list
NAME    VERSION DESCRIPTION
github  0.1.0   This plugin provides GitHub services to Helm.

¿Se podría cambiar el mensaje de error sobre el directorio faltante a algo como:

"Asegúrese de ejecutar helm init [--client-only] antes de intentar instalar complementos".

o incluso mejor: ¿simplemente crear este directorio automáticamente?

Comentario más útil

@elwaxoro también puede ejecutar helm init --client-only para crear los directorios de complementos. :)

Todos 3 comentarios

Del cliente 2.9.1 (osx) encontré un error similar que me trajo aquí. Dijo que no había $HELM_HOME definido. Ejecuté manualmente mkdir -p ~/.helm/plugins , después de lo cual pude instalar complementos.

@elwaxoro también puede ejecutar helm init --client-only para crear los directorios de complementos. :)

el problema todavía existe con v2.16.1 en macos 🤔

¿Fue útil esta página
0 / 5 - 0 calificaciones