How to add dependency in Helm

3 min readMar 7, 2021

In this blog, we will be deploying this guestbook application using helm and add the Redis as a dependency.


  1. Kubernetes Cluster Setup
  2. Clone this git repo

Setup a helm project

helm create guestbook
rm -rf guestbook/templates/tests

Adding a Redis Chart dependency

Chart dependencies are used to install other charts’ resources that a Helm chart may depend on.

In this example, we are using Redis as a database so we to need add this as a dependency.

First we can search the charts for redis

helm search hub redis

Now we will add the dependency section in the Charts.yaml file

- name: redis
version: 12.7.x

How to download this dependency?