Interview Prep/Helm/Dependencies, Subcharts & Library Charts

What does `alias` do on a dependency?

IntermediateConceptDependencies, Subcharts & Library Charts
Answer

It renames the subchart instance, which changes its values key and lets you include the same chart more than once:

dependencies:
  - name: redis
    version: "20.x.x"
    repository: oci://registry-1.docker.io/bitnamicharts
    alias: cache
  - name: redis
    version: "20.x.x"
    repository: oci://registry-1.docker.io/bitnamicharts
    alias: queue

Configure them as cache: and queue: in values. .Chart.Name inside the subchart becomes the alias, so resource names differ.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts