TIL how to auto roll deployments With Helm
To automatically roll a Kubernetes deployment with Helm, use the
sha256sum
function with the checksum/config
annotation:
kind: Deployment
spec:
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
[...]