Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart files should match chart name #1614

Open
strangiato opened this issue Sep 28, 2024 · 0 comments
Open

Chart files should match chart name #1614

strangiato opened this issue Sep 28, 2024 · 0 comments

Comments

@strangiato
Copy link

It looks like when indexing the charts, the charts are currently appending redhat- to the front of the chart name, which unfortunately breaks helm dependencies feature.

For example, if I create the following Chart.yaml file:

apiVersion: v2
name: my-chart
description: A Helm example
type: application

version: 0.1.0

dependencies:
  - name: redhat-postgresql-persistent
    version: "0.0.3"
    repository: "https://charts.openshift.io"

And run the following to pull the dependent chart:

helm dependency build .

The chart successfully resolves but it downloads the file postgresql-persistent-0.0.3.tgz. Then when attempting to deploy the chart it complains that the dependencies aren't up to date because it is looking for a file called redhat-postgresql-persistent-0.0.3.tgz. When running a helm install it generates the following:

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: redhat-postgresql-persistent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant