From 584fcc1706164f49758e62ad418d6529a033ce7a Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Wed, 16 Oct 2024 12:29:07 -0600 Subject: [PATCH] feature: add documentation on OCI install with digest Signed-off-by: Terry Howe --- content/en/docs/topics/registries.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/en/docs/topics/registries.md b/content/en/docs/topics/registries.md index 8bd796ac9..a75de9644 100644 --- a/content/en/docs/topics/registries.md +++ b/content/en/docs/topics/registries.md @@ -183,6 +183,22 @@ NOTES: ... ``` +## Installing charts with digest + +Installing a chart with a digest is more secure than a tag because digests are immutable. +The digest is specified in the chart URI: + +``` +$ helm install myrelease oci://localhost:5000/helm-charts/mychart@sha256:52ccaee6d4dd272e54bfccda77738b42e1edf0e4a20c27e23f0b6c15d01aef79 +NAME: myrelease +LAST DEPLOYED: Wed Oct 27 15:11:40 2021 +NAMESPACE: default +STATUS: deployed +REVISION: 1 +NOTES: +... +``` + ## Specifying dependencies Dependencies of a chart can be pulled from a registry using the `dependency update` subcommand.