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

Pants package command hangs for helm chart with dependency subcharts of the same name #20911

Closed
EdDanileyko opened this issue May 13, 2024 · 1 comment
Labels

Comments

@EdDanileyko
Copy link

EdDanileyko commented May 13, 2024

Describe the bug
A clear and concise description of the bug.

Running pants package on charts that contain subcharts of the same name will hang indefinitely. for example

apiVersion: v2
name: cert-manager
description: A Helm chart for Kubernetes cert manager
version: v1.12.2
appVersion: "0.1.0"
kubeVersion: '>=1.24.0-0'
dependencies:
  - name: cert-manager   # <- subchart has the same name
    version: v1.14.5
    repository: https://charts.jetstack.io
    alias: certmanager

This will hang indefinitely until aborted. The following will work, however:

apiVersion: v2
name: certmanager  # <- note the name diff
description: A Helm chart for Kubernetes cert manager
version: v1.12.2
appVersion: "0.1.0"
kubeVersion: '>=1.24.0-0'
dependencies:
  - name: cert-manager
    version: v1.14.5
    repository: https://charts.jetstack.io
    alias: certmanager

Pants version
Which version of Pants are you using?

2.19.0

OS
Are you encountering the bug on MacOS, Linux, or both?

Both

Additional info
Add any other information about the problem here, such as attachments or links to gists, if relevant.

@EdDanileyko
Copy link
Author

This may be a limitation with Helm. Closing this issue.

@EdDanileyko EdDanileyko closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant