Skip to content

Commit 584fcc1

Browse files
committed
feature: add documentation on OCI install with digest
Signed-off-by: Terry Howe <[email protected]>
1 parent 465d447 commit 584fcc1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

content/en/docs/topics/registries.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,22 @@ NOTES:
183183
...
184184
```
185185

186+
## Installing charts with digest
187+
188+
Installing a chart with a digest is more secure than a tag because digests are immutable.
189+
The digest is specified in the chart URI:
190+
191+
```
192+
$ helm install myrelease oci://localhost:5000/helm-charts/mychart@sha256:52ccaee6d4dd272e54bfccda77738b42e1edf0e4a20c27e23f0b6c15d01aef79
193+
NAME: myrelease
194+
LAST DEPLOYED: Wed Oct 27 15:11:40 2021
195+
NAMESPACE: default
196+
STATUS: deployed
197+
REVISION: 1
198+
NOTES:
199+
...
200+
```
201+
186202
## Specifying dependencies
187203

188204
Dependencies of a chart can be pulled from a registry using the `dependency update` subcommand.

0 commit comments

Comments
 (0)