Rolling back the WordPress release
While moving forward is preferred, there are some occasions where it makes more sense to return to a previous version of the application. The helm rollback
command exists to satisfy this use case. Let's roll back the WordPress release to a previous state.
Inspecting the WordPress history
Every Helm release has a history of revisions. A revision is used to track the values, Kubernetes resources, and chart version that were used in a particular release version. A new revision is created when a chart is installed, upgraded, or rolled back. Revision data is saved in Kubernetes secrets by default (other options are ConfigMap or local memory, determined by the HELM_DRIVER
environment variable). This allows your Helm release to be managed and interacted with by different users on the Kubernetes cluster, provided they have the Role-Based Access Control (RBAC) that allows them to view or modify resources in your namespace.
The revision secrets...