0

I am very new to Kubernetes and cant seem to fix this issue. I am trying to install bitnami/redis helm chart but receive the following error:

Error: INSTALLATION FAILED: template: redis/templates/replicas/statefulset.yaml:40:44: executing "redis/templates/replicas/statefulset.yaml" at <$.Template.BasePath>: nil pointer evaluating interface {}.BasePath

This is the statefulset.yaml section 40:44 statefulset.yaml

what am I supposed to change to fix this? sorry if this is super easy but I'm only new.

Steps.

  1. $ helm repo add bitnami https://charts.bitnami.com/bitnami
  2. $ helm install redis bitnami/redis

I used default values files. I have minikube installed on my Linux centOS8 VM.

haz
  • 1
  • 1
  • Please add some more details for other to replicate the issue. What command did you use to install the chart? Are you using the default values file? Where is your K8s cluster? – rock'n rolla Sep 20 '21 at 21:35
  • I am not able to reproduce the issue, using `helm install redis bitnami/redis` with the default values everything is up and running in minikube. You can run `helm template redis bitnami/redis --debug` in order to render the templates without deploying any k8s resources. In the same way, the `--debug` flag will increase the verbosity of the output – Carlos Rodríguez Hernández Sep 21 '21 at 11:33
  • I was half way through a udemi course aswell which I have a redis instance deployed. Would having one already used make any difference? – haz Sep 21 '21 at 22:50
  • **This is the output after runnign debug** Error: template: redis/templates/replicas/statefulset.yaml:40:44: executing "redis/templates/replicas/statefulset.yaml" at <$.Template.BasePath>: nil pointer evaluating interface {}.BasePath helm.go:88: [debug] template: redis/templates/replicas/statefulset.yaml:40:44: executing "redis/templates/replicas/statefulset.yaml" at <$.Template.BasePath>: nil pointer evaluating interface {}.BasePath – haz Sep 22 '21 at 00:07
  • i was running a rc version of helm.. thanks everyone – haz Sep 22 '21 at 01:45
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Sep 28 '21 at 06:07

0 Answers0