t3n / helm-charts

Helm charts
MIT License
78 stars 88 forks source link

Snipe-IT chart does not work with helm v3.2.1 #70

Closed tareko closed 4 years ago

tareko commented 4 years ago

Hello friends,

I am using the following command:

helm install snipeit t3n/snipeit --set Secret.data.APP_KEY="base64:supersecretkey"

and I get the following result:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in Secret.data.APP_KEY

This appears to have to do with the chart not being ready for v3.2.x. I'm new to Helm, so haven't had success trying to fix this myself yet.

Any suggestions on how I can troubleshoot this?

tarek : )

mschmidt291 commented 4 years ago

Hi @tareko I just tried it with 3.2.1 and helm install snipeit t3n/snipeit --set config.snipeit.key="base64:ibNtoKkply8roKip....................=". Works perfectly fine.

When using Secret.data.APP_KEY, I get the same error message as you. This value is non-existent. So just use the correct value and it works :)

tareko commented 4 years ago

Thank you! That worked. If you have access to the helm chart in the repository, it would be great to update there or to indicate that the instructions for 2.x and 3.x are different.

Thank you!

mschmidt291 commented 4 years ago

This has nothing to do with Helm 2 or 3. The instructions are correct. You just need to look for the right Chart Version: https://hub.helm.sh/charts/t3n/snipeit/1.2.6

phemmmie commented 2 years ago

I have this same error how do i fix this Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in Secret.data.connection