k8wiz
Helm
Medium
Charts

A chart depends on the web chart stored at oci://ghcr.io/acme/charts/web. What goes in the repository field of that dependency in Chart.yaml?

Select your answer:

Show answer and explanation

Answer: oci://ghcr.io/acme/charts

Explanation

For OCI dependencies the repository field is the registry path without the chart name, and helm dependency update appends the name and version fields to build oci://ghcr.io/acme/charts/web:1.4.0. Putting the chart name in the repository field makes Helm look for web/web. OCI registries need no helm repo add, so repository aliases don't apply.

Read more about Helm