Skip to content

Commit

Permalink
docs: sha256sum modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenan Kule authored and werne2j committed Apr 26, 2022
1 parent e0fdf9f commit 4133295
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/howitworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,18 @@ The indent modifier indents the secret data by the specified number of space cha
Valid examples:

- `<path:secrets/data/db#certs | jsonPath {.certificate} | indent 3>`

##### `sha256sum`

The sha256sum modifier computes the SHA256 checksum of the string. Can be used to detect changes in a secret.

Valid examples:

```yaml
kind: Deployment
spec:
template:
metadata:
annotations:
checksum/secret: <path:secrets/data/db#certs | sha256sum>
```

0 comments on commit 4133295

Please sign in to comment.