k8wiz
Flux CD
Hard
Architecture

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

Select your answer:

Show answer and explanation

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.