Interview Prep/Helm/Release Lifecycle, Repositories & OCI

How do you inspect or install a chart directly from OCI?

BeginnerConceptRelease Lifecycle, Repositories & OCI
Answer
helm show values oci://ghcr.io/devopsshack/charts/shop --version 1.4.0
helm template shop oci://ghcr.io/devopsshack/charts/shop --version 1.4.0 -f values-prod.yaml
helm upgrade --install shop oci://ghcr.io/devopsshack/charts/shop --version 1.4.0 -n shop
helm install shop oci://ghcr.io/devopsshack/charts/shop@sha256:3f1c... -n shop   # pin by digest

Always pass --version (or a digest). Without it Helm resolves the latest semver tag, which makes deploys non-reproducible.

All Helm questions Roadmap: Helm

More on Release Lifecycle, Repositories & OCI