One of the advantages of using Helm is the ability to synchronize the local and the live states. With Helm, the local state is managed with values files that, when provided using the
upgrade command, apply the values to synchronize the live state in a Kubernetes cluster. In previous chapters, this was performed by invoking these commands when a change to the application was desired.
Another way these changes can be synchronized is to create an application inside the cluster that checks periodically that the desired state matches the current configurations within an environment. If the state does not match, the application can automatically modify the environment to match the desired state. This application is referred to as a Kubernetes operator. In this chapter, we will create a Helm-based operator that helps ensure the locally defined state always matches the live state of the cluster. If it does not, the operator will...