Helm Drift

GoReportCard Status Helm Drift GoDoc Tags Total Downloads


The helm plugin that helps in identifying deviations(mostly due to in-place edits) in the configurations that are deployed via helm chart.
Kubernetes’ resources can be deployed via package manager helm, it is easier to deploy but to manage the same require more effort.

If helm is used, strictly all resources should be managed by helm itself, but there are places where manual interventions are needed. This results in configuration drift from helm charts deployed. These changes can be overridden by next helm release, what if the required changes are lost before adding it back to helm chart?

This helm plugin is intended to solve the same problem by validating the resources that are part of appropriate chart/release against kubernetes.

This leverages kubectl diff to identify the drifts, but yields better results with custom diff tool Ex: dyff, it can be used by setting the flag --custom-diff

Project: https://github.com/nikhilsbhat/helm-drift

Document: https://github.com/nikhilsbhat/helm-drift#readme

Blog: https://medium.com/@nikhilsbhat93/helm-plugin-to-identify-the-configuration-that-has-drifted-away-from-the-deployed-helm-release-72f05d26d8cf