# 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?

Helm, Medium (Advanced), Charts. https://k8wiz.com/uquiz/a-chart-depends-on-the-web-chart-stored-at-ocighcrioacmechartsweb-what-goes-in-the-repository-field-of-that-dependency-in-charty

- A. oci://ghcr.io/acme/charts/web
- B. oci://ghcr.io/acme/charts
- C. oci://ghcr.io/acme/charts/web:1.4.0
- D. @acme, an alias from helm repo add

**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.
