Updating and deploying the Guestbook chart
In order to successfully deploy our Guestbook application, we need to add values to configure the following details:
- Configure the Redis service names and disable Redis authentication
- Create environment variables for defining the names of the Redis leader and follower
We will begin by first handling Redis values.
Updating Redis values
In Chapter 5, Helm Dependency Management, we created a Redis dependency for creating a backend. Now, we will add a couple of values to our values.yaml
file to complete the configuration.
The values that we need to add are in the Git repository at https://github.com/PacktPublishing/Managing-Kubernetes-Resources-using-Helm/blob/main/chapter6/guestbook/values.yaml#L5-L8 and are shown in the following snippet:
redis: fullnameOverride: redis auth: enabled: false
The redis.fullnameOverride
value is used to ensure that deployed Redis instances...