roboll / helmfile

Deploy Kubernetes Helm Charts
MIT License
4.05k stars 565 forks source link

helmfile deps cannot create a lock file for an OCI repo #2076

Open denist-huma opened 2 years ago

denist-huma commented 2 years ago

IMO it is related to https://github.com/roboll/helmfile/issues/2075 but have different way to discover.

reproduce

helmfile:

repositories:
  - name: huma
    url: ghcr.io/huma-engineering/helm-charts
    oci: true

releases:
  - name: compose-operator
    namespace: compose-operator
    # chart: ../charts/compose-operator
    chart: huma/compose-operator
    version: 0.39.0

Run helmfile deps

$ helmfile deps
Pulling ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Exporting ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Pulled: ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Digest: sha256:59632103db46727136a1cd08388cced3ee802e596f1d119a2b2bd6318b93fa06

Exporting ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Pulled: ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Digest: sha256:59632103db46727136a1cd08388cced3ee802e596f1d119a2b2bd6318b93fa06

Updating dependency /tmp/helmfile4265576871/compose-operator/compose-operator/compose-operator/0.39.0/compose-operator
There are no repositories defined in your helmfile.yaml.
This means helmfile cannot update your dependencies or create a lock file.
See https://github.com/roboll/helmfile/issues/878 for more information
vitorfhc commented 2 years ago

I'd like to relate this to #2074, looks like the same problem

denist-huma commented 2 years ago

I'd like to relate this to #2074, looks like the same problem

@vitorfhc the things I see in common is that it cannot create a helmfile.lock.