helm-classic icon indicating copy to clipboard operation
helm-classic copied to clipboard

`helm install -g <chart>` does not have the expected result

Open sameersbn opened this issue 10 years ago • 1 comments

Test commands:

helm repo add bitnami https://github.com/bitnami/charts
helm fetch bitnami/mariadb
helm install -g mariadb

Result:

Only the mariadb service manifest is deployed. The replication controller manifest is not.

Details:

The above reference mariadb charts has the directory structure:

mariadb/
├── Chart.yaml
├── manifests
│   └── mariadb-svc.yaml
├── README.md
└── tpl
    ├── mariadb-rc.yaml
    └── values.toml

helm install -g mariadb does run the generator and install the mariadb-rc.yaml manifest, but helm only deploys the mariadb-svc.yaml manifest. The expected behaviour would be to deploy all the manifests.

Workaround

Execute helm generate mariadb before executing helm install mariadb (without the -g argument)

sameersbn avatar Apr 12 '16 14:04 sameersbn

I think the bug is that after the generate step helm does not re-read the manifest list. So any net new file that is created as part of a generator is not installed.

slack avatar Apr 20 '16 15:04 slack