Helm Dependency Management
As you may recall from Chapter 4, Scaffolding a New Helm Chart, the Helm chart we are developing, guestbook
, will deploy two primary components. The first is a Redis backend, which is used to persist a list of messages. The second component is the frontend, where the user enters the messages in a text box. In this chapter, we will focus on updating our Helm chart to deploy the first major component – Redis.
To deploy Redis, you may assume that we will need to make vast modifications to our existing guestbook
chart. However, this is not necessarily the case. There are many Redis Helm charts available in Artifact Hub, and as a result, we can use the dependency management features of Helm and declare one of those charts as a dependency. Then, when the guestbook
chart has been installed in a Kubernetes cluster, the dependency is also installed. By declaring Redis as a dependency, we can reduce the amount of effort required to create the backend for...