fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Helm chart deployed from sources with sub-chart dependency does not deploy the sub-chart

Open Berber31 opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

Deploying a chart from sources whith a dependence (sub-chart) to another chart.

Fleet.yaml:

defaultNamespace: bouquet-de-services-separated
helm:
  chart: ./chart
  releaseName: test-traefik

./chart/Chart.yaml:

dependencies:
- alias: traefik 
  name: traefik
  version: 10.6.0
  repository: "https://helm.traefik.io/traefik"

The sub-chart traefik is not deployed only manifests in ./chart/templates are deployed.

Expected Behavior

The sub-chart traefik is deployed.

We expect fleet to execute helm dependency update command before helm upgrade ...

Steps To Reproduce

Fleet.yaml:

defaultNamespace: bouquet-de-services-separated
helm:
  chart: ./chart
  releaseName: test-traefik

./chart/Chart.yaml:

[...]
dependencies:
- alias: traefik 
  name: traefik
  version: 10.6.0
  repository: "https://helm.traefik.io/traefik"

Environment

- Architecture: amd64
- Fleet Version: 0.3.9 
- Cluster:
  - Provider: RKE
  - Options: 
  - Kubernetes Version: 1.22

Logs

No response

Anything else?

No response

Berber31 avatar Aug 17 '22 13:08 Berber31