# A HelmRelease's chartRef points at an OCIRepository holding a Helm chart. How should the OCIRepository's layerSelector handle the chart layer?

Flux CD, Hard (Expert), Architecture. https://k8wiz.com/uquiz/a-helmreleases-chartref-points-at-an-ocirepository-holding-a-helm-chart-how-should-the-ocirepositorys-layerselector-handle-the-c

- A. Select the Helm chart media type with operation: extract
- B. Select the Helm chart media type with operation: copy
- C. Leave layerSelector out, since charts are always copied
- D. Select the image config layer with operation: copy

**Answer:** Select the Helm chart media type with operation: copy

**Explanation:** layerSelector picks a layer by media type, here application/vnd.cncf.helm.chart.content.v1.tar+gzip. The default operation, extract, unpacks the layer; copy keeps the chart tarball unchanged, which is how the HelmRelease docs configure it. Without a layerSelector, the first layer is extracted.
