Skip to content

local umbrella charts support #882

@jkotiuk

Description

@jkotiuk

Hey,

I'm having an issue when trying to deploy an umbrella helm chart stored in a local repository. It's similar to the testdata cluster 9, but the local chart needs to specify dependencies in the Chart.yaml. It will error out saying that subcharts are not available due to missing helm dependency build.

The same setup is deployed without any issues by Flux itself, so it's supported there.

=========================== short test summary info ============================
FAILED clusters/local::tenant::default/tenant - flux_local.exceptions.HelmException: Command 'helm template tenant ./charts/tenant --namespace default --repository-cache /tmp/tmpqupj2sq5 --repository-config /tmp/tmp5513ljpe/repository-config.yaml --registry-config /dev/null --skip-crds --skip-tests --api-versions policy/v1/PodDisruptionBudget --values /tmp/tmp5513ljpe/default-tenant-values.yaml' failed with return code 1
Error: An error occurred while checking for chart dependencies. You may need to run `helm dependency build` to fetch missing dependencies: found in Chart.yaml, but missing in charts/ directory: app, redis
========================= 1 failed, 13 passed in 5.42s =========================

version: allenporter/flux-local/action/test@23b8f4e593254e34b2913728007c419b52789382 # 7.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions