docs(templates): fix and expand config checksum example

pull/3076/head
Joan Rieu 7 years ago committed by GitHub
parent e464479cb2
commit 25e851ecd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -134,9 +134,8 @@ be updated with a subsequent `helm upgrade`, but if the
deployment spec itself didn't change the application keeps running
with the old configuration resulting in an inconsistent deployment.
The `sha256sum` function can be used together with the `include`
function to ensure a deployments template section is updated if another
spec changes:
The `sha256sum` function can be used to ensure a deployment's
annotation section is updated if another file changes:
```yaml
kind: Deployment
@ -148,6 +147,9 @@ spec:
[...]
```
See also the `helm upgrade --recreate-pods` flag for a slightly
different way of addressing this issue.
## Tell Tiller Not To Delete a Resource
Sometimes there are resources that should not be deleted when Helm runs a

Loading…
Cancel
Save