Helmfile: in ./helmfile.yaml: no resolved dependency found for "..."

Created on 24 Oct 2019  路  3Comments  路  Source: roboll/helmfile

Getting error below upon running helmfile --log-level=debug apply

err: no resolved dependency found for "grafana"
in ./helmfile.yaml: no resolved dependency found for "grafana"

helmfile.yaml

- name: stable
  url: https://kubernetes-charts.storage.googleapis.com
- name: incubator
  url: https://kubernetes-charts-incubator.storage.googleapis.com

helmDefaults:
  kubeContext: docker-desktop
  verify: true
  wait: true
  timeout: 600
  recreatePods: true
  force: true

releases:
  - name: kubernetes-dashboard
    chart: stable/kubernetes-dashboard
    namespace: kube-system
    values:
    - enableSkipLogin: true

  # [stable/seq](https://github.com/helm/charts/blob/master/stable/seq/)
  - name: seq
    verify: false
    chart: stable/seq
    namespace: default
    values:
    - image:
        tag: preview
      service:
        type: LoadBalancer
        port: 5341

  # [stable/grafana](https://github.com/helm/charts/blob/master/stable/grafana/)
  - name: grafana
    verify: false
    chart: stable/grafana
    namespace: default
    values:
    - image:
        tag: 6.3.5
      service:
        type: LoadBalancer
        port: 3000
      ingress:
        enabled: true
      persistence:
        enabled: true

Most helpful comment

// Anyways, the error message should be more readable and friendly.

All 3 comments

@cilerler Thanks for reporting!

Would you mind sharing the content of helmfile.lock that should reside in the same directory as your helmfile.yaml?

I'm guessing you had run helmfile deps before you add grafana and that resulted in a stale helmfile.lock. In that case, you could fix it by running helmfile deps again.

// Anyways, the error message should be more readable and friendly.

Thank you very much, it was exactly the issue. It worked. 馃崻 鈽曪笍

Was this page helpful?
0 / 5 - 0 ratings